@vrplatform/api 1.3.1-stage.4775 → 1.3.1-stage.4785
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 +2000 -2098
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +2000 -2098
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +2000 -2098
package/src/generated/v1.ts
CHANGED
|
@@ -4,6 +4,74 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
|
+
"/account-connections": {
|
|
8
|
+
parameters: {
|
|
9
|
+
query?: never;
|
|
10
|
+
header?: never;
|
|
11
|
+
path?: never;
|
|
12
|
+
cookie?: never;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @description List account connections for the current team
|
|
16
|
+
*
|
|
17
|
+
* Required scope: bank-accounts:read
|
|
18
|
+
*/
|
|
19
|
+
get: operations["getAccountConnections"];
|
|
20
|
+
put?: never;
|
|
21
|
+
post?: never;
|
|
22
|
+
delete?: never;
|
|
23
|
+
options?: never;
|
|
24
|
+
head?: never;
|
|
25
|
+
patch?: never;
|
|
26
|
+
trace?: never;
|
|
27
|
+
};
|
|
28
|
+
"/account-connections/batch": {
|
|
29
|
+
parameters: {
|
|
30
|
+
query?: never;
|
|
31
|
+
header?: never;
|
|
32
|
+
path?: never;
|
|
33
|
+
cookie?: never;
|
|
34
|
+
};
|
|
35
|
+
get?: never;
|
|
36
|
+
put?: never;
|
|
37
|
+
/**
|
|
38
|
+
* @description Create multiple account connections
|
|
39
|
+
*
|
|
40
|
+
* Required scope: bank-accounts:write
|
|
41
|
+
*/
|
|
42
|
+
post: operations["batchAccountConnections"];
|
|
43
|
+
delete?: never;
|
|
44
|
+
options?: never;
|
|
45
|
+
head?: never;
|
|
46
|
+
patch?: never;
|
|
47
|
+
trace?: never;
|
|
48
|
+
};
|
|
49
|
+
"/account-connections/{id}": {
|
|
50
|
+
parameters: {
|
|
51
|
+
query?: never;
|
|
52
|
+
header?: never;
|
|
53
|
+
path?: never;
|
|
54
|
+
cookie?: never;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @description Get account connection by ID
|
|
58
|
+
*
|
|
59
|
+
* Required scope: bank-accounts:read
|
|
60
|
+
*/
|
|
61
|
+
get: operations["getAccountConnection"];
|
|
62
|
+
/**
|
|
63
|
+
* @description Update account connection by ID
|
|
64
|
+
*
|
|
65
|
+
* Required scope: bank-accounts:write
|
|
66
|
+
*/
|
|
67
|
+
put: operations["updateAccountConnection"];
|
|
68
|
+
post?: never;
|
|
69
|
+
delete?: never;
|
|
70
|
+
options?: never;
|
|
71
|
+
head?: never;
|
|
72
|
+
patch?: never;
|
|
73
|
+
trace?: never;
|
|
74
|
+
};
|
|
7
75
|
"/accounts": {
|
|
8
76
|
parameters: {
|
|
9
77
|
query?: never;
|
|
@@ -120,7 +188,7 @@ export interface paths {
|
|
|
120
188
|
patch?: never;
|
|
121
189
|
trace?: never;
|
|
122
190
|
};
|
|
123
|
-
"/accounts/{id}/
|
|
191
|
+
"/accounts/{id}/connections": {
|
|
124
192
|
parameters: {
|
|
125
193
|
query?: never;
|
|
126
194
|
header?: never;
|
|
@@ -129,15 +197,15 @@ export interface paths {
|
|
|
129
197
|
};
|
|
130
198
|
get?: never;
|
|
131
199
|
put?: never;
|
|
132
|
-
/** @description
|
|
133
|
-
post: operations["
|
|
200
|
+
/** @description Attach an external account connection to a bank account */
|
|
201
|
+
post: operations["postAccountsByIdConnections"];
|
|
134
202
|
delete?: never;
|
|
135
203
|
options?: never;
|
|
136
204
|
head?: never;
|
|
137
205
|
patch?: never;
|
|
138
206
|
trace?: never;
|
|
139
207
|
};
|
|
140
|
-
"/accounts/{id}/
|
|
208
|
+
"/accounts/{id}/connections/{accountConnectionId}": {
|
|
141
209
|
parameters: {
|
|
142
210
|
query?: never;
|
|
143
211
|
header?: never;
|
|
@@ -146,9 +214,9 @@ export interface paths {
|
|
|
146
214
|
};
|
|
147
215
|
get?: never;
|
|
148
216
|
put?: never;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
delete
|
|
217
|
+
post?: never;
|
|
218
|
+
/** @description Detach an external account connection from a bank account */
|
|
219
|
+
delete: operations["deleteAccountsByIdConnectionsByAccountConnectionId"];
|
|
152
220
|
options?: never;
|
|
153
221
|
head?: never;
|
|
154
222
|
patch?: never;
|
|
@@ -364,74 +432,6 @@ export interface paths {
|
|
|
364
432
|
patch?: never;
|
|
365
433
|
trace?: never;
|
|
366
434
|
};
|
|
367
|
-
"/bank-accounts": {
|
|
368
|
-
parameters: {
|
|
369
|
-
query?: never;
|
|
370
|
-
header?: never;
|
|
371
|
-
path?: never;
|
|
372
|
-
cookie?: never;
|
|
373
|
-
};
|
|
374
|
-
/**
|
|
375
|
-
* @description List bank accounts for the current team
|
|
376
|
-
*
|
|
377
|
-
* Required scope: bank-accounts:read
|
|
378
|
-
*/
|
|
379
|
-
get: operations["getBankAccounts"];
|
|
380
|
-
put?: never;
|
|
381
|
-
post?: never;
|
|
382
|
-
delete?: never;
|
|
383
|
-
options?: never;
|
|
384
|
-
head?: never;
|
|
385
|
-
patch?: never;
|
|
386
|
-
trace?: never;
|
|
387
|
-
};
|
|
388
|
-
"/bank-accounts/batch": {
|
|
389
|
-
parameters: {
|
|
390
|
-
query?: never;
|
|
391
|
-
header?: never;
|
|
392
|
-
path?: never;
|
|
393
|
-
cookie?: never;
|
|
394
|
-
};
|
|
395
|
-
get?: never;
|
|
396
|
-
put?: never;
|
|
397
|
-
/**
|
|
398
|
-
* @description Create multiple bank accounts
|
|
399
|
-
*
|
|
400
|
-
* Required scope: bank-accounts:write
|
|
401
|
-
*/
|
|
402
|
-
post: operations["batchBankAccounts"];
|
|
403
|
-
delete?: never;
|
|
404
|
-
options?: never;
|
|
405
|
-
head?: never;
|
|
406
|
-
patch?: never;
|
|
407
|
-
trace?: never;
|
|
408
|
-
};
|
|
409
|
-
"/bank-accounts/{id}": {
|
|
410
|
-
parameters: {
|
|
411
|
-
query?: never;
|
|
412
|
-
header?: never;
|
|
413
|
-
path?: never;
|
|
414
|
-
cookie?: never;
|
|
415
|
-
};
|
|
416
|
-
/**
|
|
417
|
-
* @description Get bank account by ID
|
|
418
|
-
*
|
|
419
|
-
* Required scope: bank-accounts:read
|
|
420
|
-
*/
|
|
421
|
-
get: operations["getBankAccount"];
|
|
422
|
-
/**
|
|
423
|
-
* @description Update bank account by ID
|
|
424
|
-
*
|
|
425
|
-
* Required scope: bank-accounts:write
|
|
426
|
-
*/
|
|
427
|
-
put: operations["updateBankAccount"];
|
|
428
|
-
post?: never;
|
|
429
|
-
delete?: never;
|
|
430
|
-
options?: never;
|
|
431
|
-
head?: never;
|
|
432
|
-
patch?: never;
|
|
433
|
-
trace?: never;
|
|
434
|
-
};
|
|
435
435
|
"/bank-records": {
|
|
436
436
|
parameters: {
|
|
437
437
|
query?: never;
|
|
@@ -5289,19 +5289,14 @@ export interface components {
|
|
|
5289
5289
|
}
|
|
5290
5290
|
export type $defs = Record<string, never>;
|
|
5291
5291
|
export interface operations {
|
|
5292
|
-
|
|
5292
|
+
getAccountConnections: {
|
|
5293
5293
|
parameters: {
|
|
5294
5294
|
query?: {
|
|
5295
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
5296
|
-
search?: string;
|
|
5297
5295
|
status?: "active" | "inactive";
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
limit?: number;
|
|
5303
|
-
page?: number;
|
|
5304
|
-
offset?: number;
|
|
5296
|
+
connectionId?: string;
|
|
5297
|
+
connectionAppId?: string;
|
|
5298
|
+
linked?: boolean;
|
|
5299
|
+
search?: string;
|
|
5305
5300
|
};
|
|
5306
5301
|
header?: never;
|
|
5307
5302
|
path?: never;
|
|
@@ -5317,119 +5312,44 @@ export interface operations {
|
|
|
5317
5312
|
content: {
|
|
5318
5313
|
"application/json": {
|
|
5319
5314
|
data: {
|
|
5320
|
-
|
|
5321
|
-
/** @enum {string} */
|
|
5322
|
-
status?: "active" | "inactive";
|
|
5323
|
-
/** @enum {string} */
|
|
5324
|
-
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
5325
|
-
uniqueRef?: string | null;
|
|
5315
|
+
/** Format: uuid */
|
|
5326
5316
|
id: string;
|
|
5327
|
-
|
|
5317
|
+
name?: string | null;
|
|
5318
|
+
type?: ("deposit" | "creditCard") | null;
|
|
5319
|
+
category?: ("trust" | "operating" | "external") | null;
|
|
5320
|
+
uniqueRef?: string | null;
|
|
5321
|
+
currency?: string | null;
|
|
5322
|
+
lastDigits?: string | null;
|
|
5323
|
+
persistentRef?: string | null;
|
|
5324
|
+
/** @enum {string} */
|
|
5325
|
+
status: "active" | "inactive";
|
|
5326
|
+
startDate?: string | null;
|
|
5327
|
+
account?: {
|
|
5328
5328
|
id: string;
|
|
5329
5329
|
name: string;
|
|
5330
5330
|
uniqueRef?: string | null;
|
|
5331
5331
|
/** @enum {string} */
|
|
5332
5332
|
status: "active" | "inactive";
|
|
5333
5333
|
} | null;
|
|
5334
|
-
|
|
5335
|
-
|
|
5334
|
+
connection?: {
|
|
5335
|
+
/** Format: uuid */
|
|
5336
5336
|
id: string;
|
|
5337
5337
|
name: string;
|
|
5338
|
-
|
|
5338
|
+
/** @enum {string} */
|
|
5339
|
+
status: "active" | "inactive";
|
|
5340
|
+
uniqueRef?: string | null;
|
|
5341
|
+
appId: string;
|
|
5342
|
+
icon?: string | null;
|
|
5339
5343
|
} | null;
|
|
5340
|
-
|
|
5341
|
-
/**
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
/** @constant */
|
|
5348
|
-
code: "bankAccountLast4OutOfSync";
|
|
5349
|
-
/** @constant */
|
|
5350
|
-
severity: "warning";
|
|
5351
|
-
context: {
|
|
5352
|
-
accountLast4?: string | null;
|
|
5353
|
-
bankAccountLast4: string;
|
|
5354
|
-
bankAccountIds: string[];
|
|
5355
|
-
};
|
|
5356
|
-
} | {
|
|
5357
|
-
/** @constant */
|
|
5358
|
-
code: "operatingBankAccountRequiresOpex";
|
|
5359
|
-
/** @constant */
|
|
5360
|
-
severity: "error";
|
|
5361
|
-
context: {
|
|
5362
|
-
/** @constant */
|
|
5363
|
-
bankingCategory: "operating";
|
|
5364
|
-
};
|
|
5365
|
-
})[];
|
|
5366
|
-
banking?: {
|
|
5367
|
-
category?: ("trust" | "operating" | "external") | null;
|
|
5368
|
-
type?: ("deposit" | "creditCard") | null;
|
|
5369
|
-
last4?: string | null;
|
|
5370
|
-
currency?: string | null;
|
|
5371
|
-
connections: {
|
|
5372
|
-
id: string;
|
|
5373
|
-
name: string;
|
|
5374
|
-
startDate?: string | null;
|
|
5375
|
-
connection?: {
|
|
5376
|
-
id: string;
|
|
5377
|
-
appId: string;
|
|
5378
|
-
name: string;
|
|
5379
|
-
/** @enum {string} */
|
|
5380
|
-
status: "active" | "inactive";
|
|
5381
|
-
isErrorState: boolean;
|
|
5382
|
-
icon?: string | null;
|
|
5383
|
-
} | null;
|
|
5384
|
-
status?: ("active" | "inactive") | null;
|
|
5385
|
-
currentSync?: {
|
|
5386
|
-
/** @enum {string} */
|
|
5387
|
-
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
5388
|
-
/**
|
|
5389
|
-
* Format: date-time
|
|
5390
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
5391
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
5392
|
-
*/
|
|
5393
|
-
createdAt: string;
|
|
5394
|
-
/**
|
|
5395
|
-
* Format: date-time
|
|
5396
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
5397
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
5398
|
-
*/
|
|
5399
|
-
updatedAt: string;
|
|
5400
|
-
message?: string | null;
|
|
5401
|
-
} | null;
|
|
5402
|
-
source?: {
|
|
5403
|
-
/** Format: uuid */
|
|
5404
|
-
id: string;
|
|
5405
|
-
type: string;
|
|
5406
|
-
status?: ("active" | "inactive") | null;
|
|
5407
|
-
appId?: string | null;
|
|
5408
|
-
appIcon?: string | null;
|
|
5409
|
-
} | null;
|
|
5410
|
-
}[];
|
|
5411
|
-
bankRecords: {
|
|
5412
|
-
reconciled: number;
|
|
5413
|
-
unreconciled: number;
|
|
5414
|
-
total: number;
|
|
5415
|
-
latestCreatedAt?: string | null;
|
|
5416
|
-
};
|
|
5417
|
-
balance?: {
|
|
5418
|
-
openingDate?: string | null;
|
|
5419
|
-
opening: number;
|
|
5420
|
-
ending: number;
|
|
5421
|
-
} | null;
|
|
5344
|
+
source?: {
|
|
5345
|
+
/** Format: uuid */
|
|
5346
|
+
id: string;
|
|
5347
|
+
type: string;
|
|
5348
|
+
status?: ("active" | "inactive") | null;
|
|
5349
|
+
appId?: string | null;
|
|
5350
|
+
appIcon?: string | null;
|
|
5422
5351
|
} | null;
|
|
5423
5352
|
}[];
|
|
5424
|
-
pagination: {
|
|
5425
|
-
/** @default 100 */
|
|
5426
|
-
limit: number;
|
|
5427
|
-
/** @default 1 */
|
|
5428
|
-
page: number;
|
|
5429
|
-
total: number;
|
|
5430
|
-
totalPage: number;
|
|
5431
|
-
nextPage?: number;
|
|
5432
|
-
};
|
|
5433
5353
|
};
|
|
5434
5354
|
};
|
|
5435
5355
|
};
|
|
@@ -5567,7 +5487,7 @@ export interface operations {
|
|
|
5567
5487
|
};
|
|
5568
5488
|
};
|
|
5569
5489
|
};
|
|
5570
|
-
|
|
5490
|
+
batchAccountConnections: {
|
|
5571
5491
|
parameters: {
|
|
5572
5492
|
query?: {
|
|
5573
5493
|
/** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
|
|
@@ -5580,21 +5500,24 @@ export interface operations {
|
|
|
5580
5500
|
requestBody?: {
|
|
5581
5501
|
content: {
|
|
5582
5502
|
"application/json": {
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
last4?: string | null;
|
|
5503
|
+
/** Format: uuid */
|
|
5504
|
+
connectionId: string;
|
|
5505
|
+
data: {
|
|
5506
|
+
id?: string | null;
|
|
5507
|
+
/** @enum {string} */
|
|
5508
|
+
type: "deposit" | "creditCard";
|
|
5509
|
+
/** @enum {string} */
|
|
5510
|
+
category: "trust" | "operating" | "external";
|
|
5511
|
+
name: string;
|
|
5512
|
+
uniqueRef?: string | null;
|
|
5513
|
+
sourceId?: string | null;
|
|
5595
5514
|
currency?: string | null;
|
|
5596
|
-
|
|
5597
|
-
|
|
5515
|
+
lastDigits?: string | null;
|
|
5516
|
+
persistentRef?: string | null;
|
|
5517
|
+
status?: ("active" | "inactive") | null;
|
|
5518
|
+
accountId?: string | null;
|
|
5519
|
+
startDate?: string | null;
|
|
5520
|
+
}[];
|
|
5598
5521
|
};
|
|
5599
5522
|
};
|
|
5600
5523
|
};
|
|
@@ -5606,109 +5529,20 @@ export interface operations {
|
|
|
5606
5529
|
};
|
|
5607
5530
|
content: {
|
|
5608
5531
|
"application/json": {
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
status?: "active" | "inactive";
|
|
5612
|
-
/** @enum {string} */
|
|
5613
|
-
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
5614
|
-
uniqueRef?: string | null;
|
|
5615
|
-
id: string;
|
|
5616
|
-
offsetAccount?: {
|
|
5532
|
+
data: {
|
|
5533
|
+
/** Format: uuid */
|
|
5617
5534
|
id: string;
|
|
5618
|
-
name: string;
|
|
5619
5535
|
uniqueRef?: string | null;
|
|
5536
|
+
sourceId?: string | null;
|
|
5537
|
+
}[];
|
|
5538
|
+
issues: {
|
|
5539
|
+
ref: string;
|
|
5540
|
+
sourceId?: string | null;
|
|
5541
|
+
message: string;
|
|
5620
5542
|
/** @enum {string} */
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
category?: {
|
|
5625
|
-
id: string;
|
|
5626
|
-
name: string;
|
|
5627
|
-
classification?: ("asset" | "liability" | "revenue" | "expense") | null;
|
|
5628
|
-
} | null;
|
|
5629
|
-
categoryLock: {
|
|
5630
|
-
/** @constant */
|
|
5631
|
-
status: "locked";
|
|
5632
|
-
/** @constant */
|
|
5633
|
-
reason: "immutable";
|
|
5634
|
-
};
|
|
5635
|
-
issues: ({
|
|
5636
|
-
/** @constant */
|
|
5637
|
-
code: "bankAccountLast4OutOfSync";
|
|
5638
|
-
/** @constant */
|
|
5639
|
-
severity: "warning";
|
|
5640
|
-
context: {
|
|
5641
|
-
accountLast4?: string | null;
|
|
5642
|
-
bankAccountLast4: string;
|
|
5643
|
-
bankAccountIds: string[];
|
|
5644
|
-
};
|
|
5645
|
-
} | {
|
|
5646
|
-
/** @constant */
|
|
5647
|
-
code: "operatingBankAccountRequiresOpex";
|
|
5648
|
-
/** @constant */
|
|
5649
|
-
severity: "error";
|
|
5650
|
-
context: {
|
|
5651
|
-
/** @constant */
|
|
5652
|
-
bankingCategory: "operating";
|
|
5653
|
-
};
|
|
5654
|
-
})[];
|
|
5655
|
-
banking?: {
|
|
5656
|
-
category?: ("trust" | "operating" | "external") | null;
|
|
5657
|
-
type?: ("deposit" | "creditCard") | null;
|
|
5658
|
-
last4?: string | null;
|
|
5659
|
-
currency?: string | null;
|
|
5660
|
-
connections: {
|
|
5661
|
-
id: string;
|
|
5662
|
-
name: string;
|
|
5663
|
-
startDate?: string | null;
|
|
5664
|
-
connection?: {
|
|
5665
|
-
id: string;
|
|
5666
|
-
appId: string;
|
|
5667
|
-
name: string;
|
|
5668
|
-
/** @enum {string} */
|
|
5669
|
-
status: "active" | "inactive";
|
|
5670
|
-
isErrorState: boolean;
|
|
5671
|
-
icon?: string | null;
|
|
5672
|
-
} | null;
|
|
5673
|
-
status?: ("active" | "inactive") | null;
|
|
5674
|
-
currentSync?: {
|
|
5675
|
-
/** @enum {string} */
|
|
5676
|
-
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
5677
|
-
/**
|
|
5678
|
-
* Format: date-time
|
|
5679
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
5680
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
5681
|
-
*/
|
|
5682
|
-
createdAt: string;
|
|
5683
|
-
/**
|
|
5684
|
-
* Format: date-time
|
|
5685
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
5686
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
5687
|
-
*/
|
|
5688
|
-
updatedAt: string;
|
|
5689
|
-
message?: string | null;
|
|
5690
|
-
} | null;
|
|
5691
|
-
source?: {
|
|
5692
|
-
/** Format: uuid */
|
|
5693
|
-
id: string;
|
|
5694
|
-
type: string;
|
|
5695
|
-
status?: ("active" | "inactive") | null;
|
|
5696
|
-
appId?: string | null;
|
|
5697
|
-
appIcon?: string | null;
|
|
5698
|
-
} | null;
|
|
5699
|
-
}[];
|
|
5700
|
-
bankRecords: {
|
|
5701
|
-
reconciled: number;
|
|
5702
|
-
unreconciled: number;
|
|
5703
|
-
total: number;
|
|
5704
|
-
latestCreatedAt?: string | null;
|
|
5705
|
-
};
|
|
5706
|
-
balance?: {
|
|
5707
|
-
openingDate?: string | null;
|
|
5708
|
-
opening: number;
|
|
5709
|
-
ending: number;
|
|
5710
|
-
} | null;
|
|
5711
|
-
} | null;
|
|
5543
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
5544
|
+
context?: unknown;
|
|
5545
|
+
}[];
|
|
5712
5546
|
};
|
|
5713
5547
|
};
|
|
5714
5548
|
};
|
|
@@ -5846,11 +5680,13 @@ export interface operations {
|
|
|
5846
5680
|
};
|
|
5847
5681
|
};
|
|
5848
5682
|
};
|
|
5849
|
-
|
|
5683
|
+
getAccountConnection: {
|
|
5850
5684
|
parameters: {
|
|
5851
5685
|
query?: never;
|
|
5852
5686
|
header?: never;
|
|
5853
|
-
path
|
|
5687
|
+
path: {
|
|
5688
|
+
id: string;
|
|
5689
|
+
};
|
|
5854
5690
|
cookie?: never;
|
|
5855
5691
|
};
|
|
5856
5692
|
requestBody?: never;
|
|
@@ -5862,11 +5698,34 @@ export interface operations {
|
|
|
5862
5698
|
};
|
|
5863
5699
|
content: {
|
|
5864
5700
|
"application/json": {
|
|
5865
|
-
|
|
5701
|
+
/** Format: uuid */
|
|
5702
|
+
id: string;
|
|
5703
|
+
/** @enum {string} */
|
|
5704
|
+
type: "deposit" | "creditCard";
|
|
5705
|
+
/** @enum {string} */
|
|
5706
|
+
category: "trust" | "operating" | "external";
|
|
5707
|
+
name: string;
|
|
5708
|
+
uniqueRef?: string | null;
|
|
5709
|
+
currency?: string | null;
|
|
5710
|
+
lastDigits?: string | null;
|
|
5711
|
+
persistentRef?: string | null;
|
|
5712
|
+
status: ("active" | "inactive") | null;
|
|
5713
|
+
startDate?: string | null;
|
|
5714
|
+
account?: {
|
|
5866
5715
|
id: string;
|
|
5867
5716
|
name: string;
|
|
5868
|
-
|
|
5869
|
-
|
|
5717
|
+
uniqueRef?: string | null;
|
|
5718
|
+
/** @enum {string} */
|
|
5719
|
+
status: "active" | "inactive";
|
|
5720
|
+
} | null;
|
|
5721
|
+
source?: {
|
|
5722
|
+
/** Format: uuid */
|
|
5723
|
+
id: string;
|
|
5724
|
+
type: string;
|
|
5725
|
+
status?: ("active" | "inactive") | null;
|
|
5726
|
+
appId?: string | null;
|
|
5727
|
+
appIcon?: string | null;
|
|
5728
|
+
} | null;
|
|
5870
5729
|
};
|
|
5871
5730
|
};
|
|
5872
5731
|
};
|
|
@@ -6004,22 +5863,36 @@ export interface operations {
|
|
|
6004
5863
|
};
|
|
6005
5864
|
};
|
|
6006
5865
|
};
|
|
6007
|
-
|
|
5866
|
+
updateAccountConnection: {
|
|
6008
5867
|
parameters: {
|
|
6009
5868
|
query?: {
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
status?: "active" | "inactive";
|
|
6013
|
-
classification?: "asset" | "liability" | "revenue" | "expense";
|
|
6014
|
-
categoryId?: string;
|
|
6015
|
-
bankingCategory?: "trust" | "operating" | "external";
|
|
6016
|
-
reconciled?: boolean;
|
|
5869
|
+
/** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
|
|
5870
|
+
dryRun?: boolean;
|
|
6017
5871
|
};
|
|
6018
5872
|
header?: never;
|
|
6019
|
-
path
|
|
5873
|
+
path: {
|
|
5874
|
+
id: string;
|
|
5875
|
+
};
|
|
6020
5876
|
cookie?: never;
|
|
6021
5877
|
};
|
|
6022
|
-
requestBody?:
|
|
5878
|
+
requestBody?: {
|
|
5879
|
+
content: {
|
|
5880
|
+
"application/json": {
|
|
5881
|
+
/** @enum {string} */
|
|
5882
|
+
type?: "deposit" | "creditCard";
|
|
5883
|
+
/** @enum {string} */
|
|
5884
|
+
category?: "trust" | "operating" | "external";
|
|
5885
|
+
name?: string;
|
|
5886
|
+
uniqueRef?: string | null;
|
|
5887
|
+
sourceId?: string | null;
|
|
5888
|
+
currency?: string | null;
|
|
5889
|
+
lastDigits?: string | null;
|
|
5890
|
+
status?: ("active" | "inactive") | null;
|
|
5891
|
+
accountId?: string | null;
|
|
5892
|
+
startDate?: string | null;
|
|
5893
|
+
};
|
|
5894
|
+
};
|
|
5895
|
+
};
|
|
6023
5896
|
responses: {
|
|
6024
5897
|
/** @description Successful response */
|
|
6025
5898
|
200: {
|
|
@@ -6028,7 +5901,34 @@ export interface operations {
|
|
|
6028
5901
|
};
|
|
6029
5902
|
content: {
|
|
6030
5903
|
"application/json": {
|
|
6031
|
-
|
|
5904
|
+
/** Format: uuid */
|
|
5905
|
+
id: string;
|
|
5906
|
+
/** @enum {string} */
|
|
5907
|
+
type: "deposit" | "creditCard";
|
|
5908
|
+
/** @enum {string} */
|
|
5909
|
+
category: "trust" | "operating" | "external";
|
|
5910
|
+
name: string;
|
|
5911
|
+
uniqueRef?: string | null;
|
|
5912
|
+
currency?: string | null;
|
|
5913
|
+
lastDigits?: string | null;
|
|
5914
|
+
persistentRef?: string | null;
|
|
5915
|
+
status: ("active" | "inactive") | null;
|
|
5916
|
+
startDate?: string | null;
|
|
5917
|
+
account?: {
|
|
5918
|
+
id: string;
|
|
5919
|
+
name: string;
|
|
5920
|
+
uniqueRef?: string | null;
|
|
5921
|
+
/** @enum {string} */
|
|
5922
|
+
status: "active" | "inactive";
|
|
5923
|
+
} | null;
|
|
5924
|
+
source?: {
|
|
5925
|
+
/** Format: uuid */
|
|
5926
|
+
id: string;
|
|
5927
|
+
type: string;
|
|
5928
|
+
status?: ("active" | "inactive") | null;
|
|
5929
|
+
appId?: string | null;
|
|
5930
|
+
appIcon?: string | null;
|
|
5931
|
+
} | null;
|
|
6032
5932
|
};
|
|
6033
5933
|
};
|
|
6034
5934
|
};
|
|
@@ -6166,13 +6066,22 @@ export interface operations {
|
|
|
6166
6066
|
};
|
|
6167
6067
|
};
|
|
6168
6068
|
};
|
|
6169
|
-
|
|
6069
|
+
getAccounts: {
|
|
6170
6070
|
parameters: {
|
|
6171
|
-
query?:
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6071
|
+
query?: {
|
|
6072
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
6073
|
+
search?: string;
|
|
6074
|
+
status?: "active" | "inactive";
|
|
6075
|
+
classification?: "asset" | "liability" | "revenue" | "expense";
|
|
6076
|
+
categoryId?: string;
|
|
6077
|
+
bankingCategory?: "trust" | "operating" | "external";
|
|
6078
|
+
reconciled?: boolean;
|
|
6079
|
+
limit?: number;
|
|
6080
|
+
page?: number;
|
|
6081
|
+
offset?: number;
|
|
6175
6082
|
};
|
|
6083
|
+
header?: never;
|
|
6084
|
+
path?: never;
|
|
6176
6085
|
cookie?: never;
|
|
6177
6086
|
};
|
|
6178
6087
|
requestBody?: never;
|
|
@@ -6184,109 +6093,120 @@ export interface operations {
|
|
|
6184
6093
|
};
|
|
6185
6094
|
content: {
|
|
6186
6095
|
"application/json": {
|
|
6187
|
-
|
|
6188
|
-
/** @enum {string} */
|
|
6189
|
-
status?: "active" | "inactive";
|
|
6190
|
-
/** @enum {string} */
|
|
6191
|
-
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
6192
|
-
uniqueRef?: string | null;
|
|
6193
|
-
id: string;
|
|
6194
|
-
offsetAccount?: {
|
|
6195
|
-
id: string;
|
|
6096
|
+
data: {
|
|
6196
6097
|
name: string;
|
|
6197
|
-
uniqueRef?: string | null;
|
|
6198
6098
|
/** @enum {string} */
|
|
6199
|
-
status
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6099
|
+
status?: "active" | "inactive";
|
|
6100
|
+
/** @enum {string} */
|
|
6101
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
6102
|
+
uniqueRef?: string | null;
|
|
6203
6103
|
id: string;
|
|
6204
|
-
|
|
6205
|
-
classification?: ("asset" | "liability" | "revenue" | "expense") | null;
|
|
6206
|
-
} | null;
|
|
6207
|
-
categoryLock: {
|
|
6208
|
-
/** @constant */
|
|
6209
|
-
status: "locked";
|
|
6210
|
-
/** @constant */
|
|
6211
|
-
reason: "immutable";
|
|
6212
|
-
};
|
|
6213
|
-
issues: ({
|
|
6214
|
-
/** @constant */
|
|
6215
|
-
code: "bankAccountLast4OutOfSync";
|
|
6216
|
-
/** @constant */
|
|
6217
|
-
severity: "warning";
|
|
6218
|
-
context: {
|
|
6219
|
-
accountLast4?: string | null;
|
|
6220
|
-
bankAccountLast4: string;
|
|
6221
|
-
bankAccountIds: string[];
|
|
6222
|
-
};
|
|
6223
|
-
} | {
|
|
6224
|
-
/** @constant */
|
|
6225
|
-
code: "operatingBankAccountRequiresOpex";
|
|
6226
|
-
/** @constant */
|
|
6227
|
-
severity: "error";
|
|
6228
|
-
context: {
|
|
6229
|
-
/** @constant */
|
|
6230
|
-
bankingCategory: "operating";
|
|
6231
|
-
};
|
|
6232
|
-
})[];
|
|
6233
|
-
banking?: {
|
|
6234
|
-
category?: ("trust" | "operating" | "external") | null;
|
|
6235
|
-
type?: ("deposit" | "creditCard") | null;
|
|
6236
|
-
last4?: string | null;
|
|
6237
|
-
currency?: string | null;
|
|
6238
|
-
connections: {
|
|
6104
|
+
offsetAccount?: {
|
|
6239
6105
|
id: string;
|
|
6240
6106
|
name: string;
|
|
6241
|
-
|
|
6242
|
-
|
|
6107
|
+
uniqueRef?: string | null;
|
|
6108
|
+
/** @enum {string} */
|
|
6109
|
+
status: "active" | "inactive";
|
|
6110
|
+
} | null;
|
|
6111
|
+
assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution")[];
|
|
6112
|
+
category?: {
|
|
6113
|
+
id: string;
|
|
6114
|
+
name: string;
|
|
6115
|
+
classification?: ("asset" | "liability" | "revenue" | "expense") | null;
|
|
6116
|
+
} | null;
|
|
6117
|
+
categoryLock: {
|
|
6118
|
+
/** @constant */
|
|
6119
|
+
status: "locked";
|
|
6120
|
+
/** @constant */
|
|
6121
|
+
reason: "immutable";
|
|
6122
|
+
};
|
|
6123
|
+
issues: ({
|
|
6124
|
+
/** @constant */
|
|
6125
|
+
code: "accountConnectionLast4OutOfSync";
|
|
6126
|
+
/** @constant */
|
|
6127
|
+
severity: "warning";
|
|
6128
|
+
context: {
|
|
6129
|
+
accountLast4?: string | null;
|
|
6130
|
+
accountConnectionLast4: string;
|
|
6131
|
+
accountConnectionIds: string[];
|
|
6132
|
+
};
|
|
6133
|
+
} | {
|
|
6134
|
+
/** @constant */
|
|
6135
|
+
code: "operatingBankAccountRequiresOpex";
|
|
6136
|
+
/** @constant */
|
|
6137
|
+
severity: "error";
|
|
6138
|
+
context: {
|
|
6139
|
+
/** @constant */
|
|
6140
|
+
bankingCategory: "operating";
|
|
6141
|
+
};
|
|
6142
|
+
})[];
|
|
6143
|
+
banking?: {
|
|
6144
|
+
category?: ("trust" | "operating" | "external") | null;
|
|
6145
|
+
type?: ("deposit" | "creditCard") | null;
|
|
6146
|
+
last4?: string | null;
|
|
6147
|
+
currency?: string | null;
|
|
6148
|
+
connections: {
|
|
6243
6149
|
id: string;
|
|
6244
|
-
appId: string;
|
|
6245
6150
|
name: string;
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
* Format: date-time
|
|
6257
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
6258
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
6259
|
-
*/
|
|
6260
|
-
createdAt: string;
|
|
6261
|
-
/**
|
|
6262
|
-
* Format: date-time
|
|
6263
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
6264
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
6265
|
-
*/
|
|
6266
|
-
updatedAt: string;
|
|
6267
|
-
message?: string | null;
|
|
6268
|
-
} | null;
|
|
6269
|
-
source?: {
|
|
6270
|
-
/** Format: uuid */
|
|
6271
|
-
id: string;
|
|
6272
|
-
type: string;
|
|
6151
|
+
startDate?: string | null;
|
|
6152
|
+
connection?: {
|
|
6153
|
+
id: string;
|
|
6154
|
+
appId: string;
|
|
6155
|
+
name: string;
|
|
6156
|
+
/** @enum {string} */
|
|
6157
|
+
status: "active" | "inactive";
|
|
6158
|
+
isErrorState: boolean;
|
|
6159
|
+
icon?: string | null;
|
|
6160
|
+
} | null;
|
|
6273
6161
|
status?: ("active" | "inactive") | null;
|
|
6274
|
-
|
|
6275
|
-
|
|
6162
|
+
currentSync?: {
|
|
6163
|
+
/** @enum {string} */
|
|
6164
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
6165
|
+
/**
|
|
6166
|
+
* Format: date-time
|
|
6167
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
6168
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
6169
|
+
*/
|
|
6170
|
+
createdAt: string;
|
|
6171
|
+
/**
|
|
6172
|
+
* Format: date-time
|
|
6173
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
6174
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
6175
|
+
*/
|
|
6176
|
+
updatedAt: string;
|
|
6177
|
+
message?: string | null;
|
|
6178
|
+
} | null;
|
|
6179
|
+
source?: {
|
|
6180
|
+
/** Format: uuid */
|
|
6181
|
+
id: string;
|
|
6182
|
+
type: string;
|
|
6183
|
+
status?: ("active" | "inactive") | null;
|
|
6184
|
+
appId?: string | null;
|
|
6185
|
+
appIcon?: string | null;
|
|
6186
|
+
} | null;
|
|
6187
|
+
}[];
|
|
6188
|
+
bankRecords: {
|
|
6189
|
+
reconciled: number;
|
|
6190
|
+
unreconciled: number;
|
|
6191
|
+
total: number;
|
|
6192
|
+
latestCreatedAt?: string | null;
|
|
6193
|
+
};
|
|
6194
|
+
balance?: {
|
|
6195
|
+
openingDate?: string | null;
|
|
6196
|
+
opening: number;
|
|
6197
|
+
ending: number;
|
|
6276
6198
|
} | null;
|
|
6277
|
-
}[];
|
|
6278
|
-
bankRecords: {
|
|
6279
|
-
reconciled: number;
|
|
6280
|
-
unreconciled: number;
|
|
6281
|
-
total: number;
|
|
6282
|
-
latestCreatedAt?: string | null;
|
|
6283
|
-
};
|
|
6284
|
-
balance?: {
|
|
6285
|
-
openingDate?: string | null;
|
|
6286
|
-
opening: number;
|
|
6287
|
-
ending: number;
|
|
6288
6199
|
} | null;
|
|
6289
|
-
}
|
|
6200
|
+
}[];
|
|
6201
|
+
pagination: {
|
|
6202
|
+
/** @default 100 */
|
|
6203
|
+
limit: number;
|
|
6204
|
+
/** @default 1 */
|
|
6205
|
+
page: number;
|
|
6206
|
+
total: number;
|
|
6207
|
+
totalPage: number;
|
|
6208
|
+
nextPage?: number;
|
|
6209
|
+
};
|
|
6290
6210
|
};
|
|
6291
6211
|
};
|
|
6292
6212
|
};
|
|
@@ -6424,26 +6344,24 @@ export interface operations {
|
|
|
6424
6344
|
};
|
|
6425
6345
|
};
|
|
6426
6346
|
};
|
|
6427
|
-
|
|
6347
|
+
postAccounts: {
|
|
6428
6348
|
parameters: {
|
|
6429
6349
|
query?: {
|
|
6430
6350
|
/** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
|
|
6431
6351
|
dryRun?: boolean;
|
|
6432
6352
|
};
|
|
6433
6353
|
header?: never;
|
|
6434
|
-
path
|
|
6435
|
-
id: string;
|
|
6436
|
-
};
|
|
6354
|
+
path?: never;
|
|
6437
6355
|
cookie?: never;
|
|
6438
6356
|
};
|
|
6439
6357
|
requestBody?: {
|
|
6440
6358
|
content: {
|
|
6441
6359
|
"application/json": {
|
|
6442
|
-
name
|
|
6360
|
+
name: string;
|
|
6443
6361
|
/** @enum {string} */
|
|
6444
6362
|
status?: "active" | "inactive";
|
|
6445
6363
|
/** @enum {string} */
|
|
6446
|
-
type
|
|
6364
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
6447
6365
|
assignments?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution")[] | null;
|
|
6448
6366
|
offsetAccountId?: string | null;
|
|
6449
6367
|
categoryId?: string;
|
|
@@ -6493,13 +6411,13 @@ export interface operations {
|
|
|
6493
6411
|
};
|
|
6494
6412
|
issues: ({
|
|
6495
6413
|
/** @constant */
|
|
6496
|
-
code: "
|
|
6414
|
+
code: "accountConnectionLast4OutOfSync";
|
|
6497
6415
|
/** @constant */
|
|
6498
6416
|
severity: "warning";
|
|
6499
6417
|
context: {
|
|
6500
6418
|
accountLast4?: string | null;
|
|
6501
|
-
|
|
6502
|
-
|
|
6419
|
+
accountConnectionLast4: string;
|
|
6420
|
+
accountConnectionIds: string[];
|
|
6503
6421
|
};
|
|
6504
6422
|
} | {
|
|
6505
6423
|
/** @constant */
|
|
@@ -6705,24 +6623,14 @@ export interface operations {
|
|
|
6705
6623
|
};
|
|
6706
6624
|
};
|
|
6707
6625
|
};
|
|
6708
|
-
|
|
6626
|
+
getAccountsCategories: {
|
|
6709
6627
|
parameters: {
|
|
6710
|
-
query?:
|
|
6711
|
-
onLocked?: "error" | "archive";
|
|
6712
|
-
/** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
|
|
6713
|
-
dryRun?: boolean;
|
|
6714
|
-
};
|
|
6628
|
+
query?: never;
|
|
6715
6629
|
header?: never;
|
|
6716
|
-
path
|
|
6717
|
-
id: string;
|
|
6718
|
-
};
|
|
6630
|
+
path?: never;
|
|
6719
6631
|
cookie?: never;
|
|
6720
6632
|
};
|
|
6721
|
-
requestBody?:
|
|
6722
|
-
content: {
|
|
6723
|
-
"application/json": Record<string, never>;
|
|
6724
|
-
};
|
|
6725
|
-
};
|
|
6633
|
+
requestBody?: never;
|
|
6726
6634
|
responses: {
|
|
6727
6635
|
/** @description Successful response */
|
|
6728
6636
|
200: {
|
|
@@ -6731,8 +6639,11 @@ export interface operations {
|
|
|
6731
6639
|
};
|
|
6732
6640
|
content: {
|
|
6733
6641
|
"application/json": {
|
|
6734
|
-
|
|
6735
|
-
|
|
6642
|
+
data: {
|
|
6643
|
+
id: string;
|
|
6644
|
+
name: string;
|
|
6645
|
+
classification?: ("asset" | "liability" | "revenue" | "expense") | null;
|
|
6646
|
+
}[];
|
|
6736
6647
|
};
|
|
6737
6648
|
};
|
|
6738
6649
|
};
|
|
@@ -6870,26 +6781,22 @@ export interface operations {
|
|
|
6870
6781
|
};
|
|
6871
6782
|
};
|
|
6872
6783
|
};
|
|
6873
|
-
|
|
6784
|
+
getAccountsCsv: {
|
|
6874
6785
|
parameters: {
|
|
6875
6786
|
query?: {
|
|
6876
|
-
|
|
6877
|
-
|
|
6787
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
6788
|
+
search?: string;
|
|
6789
|
+
status?: "active" | "inactive";
|
|
6790
|
+
classification?: "asset" | "liability" | "revenue" | "expense";
|
|
6791
|
+
categoryId?: string;
|
|
6792
|
+
bankingCategory?: "trust" | "operating" | "external";
|
|
6793
|
+
reconciled?: boolean;
|
|
6878
6794
|
};
|
|
6879
6795
|
header?: never;
|
|
6880
|
-
path
|
|
6881
|
-
id: string;
|
|
6882
|
-
};
|
|
6796
|
+
path?: never;
|
|
6883
6797
|
cookie?: never;
|
|
6884
6798
|
};
|
|
6885
|
-
requestBody?:
|
|
6886
|
-
content: {
|
|
6887
|
-
"application/json": {
|
|
6888
|
-
startingBalanceDate: string;
|
|
6889
|
-
startingBalanceAmount: number;
|
|
6890
|
-
};
|
|
6891
|
-
};
|
|
6892
|
-
};
|
|
6799
|
+
requestBody?: never;
|
|
6893
6800
|
responses: {
|
|
6894
6801
|
/** @description Successful response */
|
|
6895
6802
|
200: {
|
|
@@ -6898,347 +6805,7 @@ export interface operations {
|
|
|
6898
6805
|
};
|
|
6899
6806
|
content: {
|
|
6900
6807
|
"application/json": {
|
|
6901
|
-
|
|
6902
|
-
archivedRecords: number;
|
|
6903
|
-
unArchivedRecords: number;
|
|
6904
|
-
transaction: {
|
|
6905
|
-
description: string;
|
|
6906
|
-
/** @enum {string} */
|
|
6907
|
-
status: "active" | "inactive";
|
|
6908
|
-
uniqueRef?: string | null;
|
|
6909
|
-
isOpeningBalance: boolean;
|
|
6910
|
-
/** @enum {string} */
|
|
6911
|
-
type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
|
|
6912
|
-
date: string;
|
|
6913
|
-
lines: {
|
|
6914
|
-
uniqueRef?: string | null;
|
|
6915
|
-
description: string;
|
|
6916
|
-
/** @description System account purpose used to resolve or validate the posting account */
|
|
6917
|
-
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
|
|
6918
|
-
/** @description Value in cents (100 = 1€) */
|
|
6919
|
-
amount: number;
|
|
6920
|
-
/** @description Persisted owner statement linked to a payout line */
|
|
6921
|
-
ownerStatementId?: string | null;
|
|
6922
|
-
matchReservationConfirmationCode?: string | null;
|
|
6923
|
-
matchReservationStripeGuestRef?: string | null;
|
|
6924
|
-
matchReservationProcessorBookingRef?: string | null;
|
|
6925
|
-
matchLineTypeClassification?: string | null;
|
|
6926
|
-
id: string;
|
|
6927
|
-
issues: {
|
|
6928
|
-
/** @constant */
|
|
6929
|
-
code: "unassignedAccount";
|
|
6930
|
-
/** @constant */
|
|
6931
|
-
severity: "error";
|
|
6932
|
-
context: {
|
|
6933
|
-
lineType: string;
|
|
6934
|
-
};
|
|
6935
|
-
}[];
|
|
6936
|
-
recurringTemplate?: {
|
|
6937
|
-
id: string;
|
|
6938
|
-
} | null;
|
|
6939
|
-
total: number;
|
|
6940
|
-
listing?: {
|
|
6941
|
-
/** Format: uuid */
|
|
6942
|
-
id: string;
|
|
6943
|
-
name: string;
|
|
6944
|
-
uniqueRef?: string | null;
|
|
6945
|
-
shortRef?: string | null;
|
|
6946
|
-
} | null;
|
|
6947
|
-
reservation?: {
|
|
6948
|
-
id: string;
|
|
6949
|
-
shortRef?: string | null;
|
|
6950
|
-
confirmationCode?: string | null;
|
|
6951
|
-
uniqueRef: string;
|
|
6952
|
-
/** @enum {string} */
|
|
6953
|
-
status: "booked" | "canceled" | "inactive";
|
|
6954
|
-
checkIn?: string | null;
|
|
6955
|
-
checkOut?: string | null;
|
|
6956
|
-
} | null;
|
|
6957
|
-
account?: {
|
|
6958
|
-
id: string;
|
|
6959
|
-
name: string;
|
|
6960
|
-
uniqueRef?: string | null;
|
|
6961
|
-
/** @enum {string} */
|
|
6962
|
-
status: "active" | "inactive";
|
|
6963
|
-
} | null;
|
|
6964
|
-
/**
|
|
6965
|
-
* @description Accounting attribution: owners affects owner-side balances and statements; manager affects manager-side accounting
|
|
6966
|
-
* @enum {string}
|
|
6967
|
-
*/
|
|
6968
|
-
party: "owners" | "manager";
|
|
6969
|
-
contact?: {
|
|
6970
|
-
/** Format: uuid */
|
|
6971
|
-
id: string;
|
|
6972
|
-
name?: string | null;
|
|
6973
|
-
firstName?: string | null;
|
|
6974
|
-
uniqueRef?: string | null;
|
|
6975
|
-
shortRef?: string | null;
|
|
6976
|
-
email?: string | null;
|
|
6977
|
-
/** @enum {string} */
|
|
6978
|
-
type: "owner" | "vendor";
|
|
6979
|
-
} | null;
|
|
6980
|
-
matchStatus?: string | null;
|
|
6981
|
-
appliedAmount?: {
|
|
6982
|
-
taxBehavior?: ("excluded" | "included") | null;
|
|
6983
|
-
taxRate?: {
|
|
6984
|
-
id: string;
|
|
6985
|
-
name: string;
|
|
6986
|
-
/**
|
|
6987
|
-
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
6988
|
-
* @example 100000
|
|
6989
|
-
*/
|
|
6990
|
-
basisPoints: number;
|
|
6991
|
-
} | null;
|
|
6992
|
-
} | null;
|
|
6993
|
-
markup?: {
|
|
6994
|
-
amount?: number | null;
|
|
6995
|
-
taxBehavior?: ("excluded" | "included") | null;
|
|
6996
|
-
taxRate?: {
|
|
6997
|
-
id: string;
|
|
6998
|
-
name: string;
|
|
6999
|
-
/**
|
|
7000
|
-
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
7001
|
-
* @example 100000
|
|
7002
|
-
*/
|
|
7003
|
-
basisPoints: number;
|
|
7004
|
-
} | null;
|
|
7005
|
-
} | null;
|
|
7006
|
-
lock?: {
|
|
7007
|
-
/**
|
|
7008
|
-
* @description Whether the represented entity or field can be mutated
|
|
7009
|
-
* @enum {string}
|
|
7010
|
-
*/
|
|
7011
|
-
status: "locked" | "unlocked";
|
|
7012
|
-
/** @description Present when books closing blocks the mutation */
|
|
7013
|
-
booksClosed?: {
|
|
7014
|
-
/** @description First open accounting date */
|
|
7015
|
-
date: string;
|
|
7016
|
-
} | null;
|
|
7017
|
-
/** @description Present when journal entries are attached to owner statements */
|
|
7018
|
-
ownerStatement?: {
|
|
7019
|
-
/** @description Owner statements that lock the represented data */
|
|
7020
|
-
ids: string[];
|
|
7021
|
-
} | null;
|
|
7022
|
-
reconciled?: {
|
|
7023
|
-
/** @description Bank records linked through reconciliation */
|
|
7024
|
-
bankRecordIds: string[];
|
|
7025
|
-
} | null;
|
|
7026
|
-
/** @description Listing statement-period conflicts for the represented data */
|
|
7027
|
-
statementPeriod?: {
|
|
7028
|
-
hits: {
|
|
7029
|
-
/** Format: uuid */
|
|
7030
|
-
listingId: string;
|
|
7031
|
-
/** @description Posting date blocked by the statement period */
|
|
7032
|
-
txnAt: string;
|
|
7033
|
-
/** @description First open date for this listing period */
|
|
7034
|
-
openFrom: string;
|
|
7035
|
-
}[];
|
|
7036
|
-
} | null;
|
|
7037
|
-
} | null;
|
|
7038
|
-
}[];
|
|
7039
|
-
/** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
7040
|
-
attachmentIds?: string[] | null;
|
|
7041
|
-
recurringTemplateId?: string | null;
|
|
7042
|
-
matchBankAccountLast4?: string | null;
|
|
7043
|
-
id: string;
|
|
7044
|
-
shortRef?: string | null;
|
|
7045
|
-
lock?: {
|
|
7046
|
-
/**
|
|
7047
|
-
* @description Whether the represented entity or field can be mutated
|
|
7048
|
-
* @enum {string}
|
|
7049
|
-
*/
|
|
7050
|
-
status: "locked" | "unlocked";
|
|
7051
|
-
/** @description Present when books closing blocks the mutation */
|
|
7052
|
-
booksClosed?: {
|
|
7053
|
-
/** @description First open accounting date */
|
|
7054
|
-
date: string;
|
|
7055
|
-
} | null;
|
|
7056
|
-
/** @description Present when journal entries are attached to owner statements */
|
|
7057
|
-
ownerStatement?: {
|
|
7058
|
-
/** @description Owner statements that lock the represented data */
|
|
7059
|
-
ids: string[];
|
|
7060
|
-
} | null;
|
|
7061
|
-
reconciled?: {
|
|
7062
|
-
/** @description Bank records linked through reconciliation */
|
|
7063
|
-
bankRecordIds: string[];
|
|
7064
|
-
} | null;
|
|
7065
|
-
/** @description Listing statement-period conflicts for the represented data */
|
|
7066
|
-
statementPeriod?: {
|
|
7067
|
-
hits: {
|
|
7068
|
-
/** Format: uuid */
|
|
7069
|
-
listingId: string;
|
|
7070
|
-
/** @description Posting date blocked by the statement period */
|
|
7071
|
-
txnAt: string;
|
|
7072
|
-
/** @description First open date for this listing period */
|
|
7073
|
-
openFrom: string;
|
|
7074
|
-
}[];
|
|
7075
|
-
} | null;
|
|
7076
|
-
} | null;
|
|
7077
|
-
issues: ({
|
|
7078
|
-
/** @constant */
|
|
7079
|
-
code: "line_unassignedAccount";
|
|
7080
|
-
/** @constant */
|
|
7081
|
-
severity: "error";
|
|
7082
|
-
context: Record<string, never>;
|
|
7083
|
-
} | {
|
|
7084
|
-
/** @constant */
|
|
7085
|
-
code: "bankAccountLast4Mismatch";
|
|
7086
|
-
/** @constant */
|
|
7087
|
-
severity: "warning";
|
|
7088
|
-
context: {
|
|
7089
|
-
accountLast4: string;
|
|
7090
|
-
transactionLast4: string;
|
|
7091
|
-
};
|
|
7092
|
-
})[];
|
|
7093
|
-
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
7094
|
-
currency: string;
|
|
7095
|
-
/** @description Value in cents (100 = 1€) */
|
|
7096
|
-
amount: number;
|
|
7097
|
-
recurringTemplate?: {
|
|
7098
|
-
id: string;
|
|
7099
|
-
} | null;
|
|
7100
|
-
attachments: {
|
|
7101
|
-
/** Format: uuid */
|
|
7102
|
-
id: string;
|
|
7103
|
-
transactionId: string | null;
|
|
7104
|
-
/**
|
|
7105
|
-
* Format: date-time
|
|
7106
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
7107
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
7108
|
-
*/
|
|
7109
|
-
createdAt: string;
|
|
7110
|
-
filename: string;
|
|
7111
|
-
extension?: string | null;
|
|
7112
|
-
contentType: string;
|
|
7113
|
-
byteSize: number;
|
|
7114
|
-
isOwnerAccessible: boolean;
|
|
7115
|
-
}[];
|
|
7116
|
-
account?: {
|
|
7117
|
-
id: string;
|
|
7118
|
-
name: string;
|
|
7119
|
-
uniqueRef?: string | null;
|
|
7120
|
-
/** @enum {string} */
|
|
7121
|
-
status: "active" | "inactive";
|
|
7122
|
-
} | null;
|
|
7123
|
-
payment: {
|
|
7124
|
-
/** @description Bank records reconciled to this transaction payment */
|
|
7125
|
-
bankRecordIds: string[];
|
|
7126
|
-
/**
|
|
7127
|
-
* @description Expense payment status
|
|
7128
|
-
* @enum {string}
|
|
7129
|
-
*/
|
|
7130
|
-
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
7131
|
-
lock?: {
|
|
7132
|
-
/**
|
|
7133
|
-
* @description Whether the represented entity or field can be mutated
|
|
7134
|
-
* @enum {string}
|
|
7135
|
-
*/
|
|
7136
|
-
status: "locked" | "unlocked";
|
|
7137
|
-
/** @description Present when books closing blocks the mutation */
|
|
7138
|
-
booksClosed?: {
|
|
7139
|
-
/** @description First open accounting date */
|
|
7140
|
-
date: string;
|
|
7141
|
-
} | null;
|
|
7142
|
-
/** @description Present when journal entries are attached to owner statements */
|
|
7143
|
-
ownerStatement?: {
|
|
7144
|
-
/** @description Owner statements that lock the represented data */
|
|
7145
|
-
ids: string[];
|
|
7146
|
-
} | null;
|
|
7147
|
-
reconciled?: {
|
|
7148
|
-
/** @description Bank records linked through reconciliation */
|
|
7149
|
-
bankRecordIds: string[];
|
|
7150
|
-
} | null;
|
|
7151
|
-
/** @description Listing statement-period conflicts for the represented data */
|
|
7152
|
-
statementPeriod?: {
|
|
7153
|
-
hits: {
|
|
7154
|
-
/** Format: uuid */
|
|
7155
|
-
listingId: string;
|
|
7156
|
-
/** @description Posting date blocked by the statement period */
|
|
7157
|
-
txnAt: string;
|
|
7158
|
-
/** @description First open date for this listing period */
|
|
7159
|
-
openFrom: string;
|
|
7160
|
-
}[];
|
|
7161
|
-
} | null;
|
|
7162
|
-
} | null;
|
|
7163
|
-
date?: string | null;
|
|
7164
|
-
};
|
|
7165
|
-
connection?: {
|
|
7166
|
-
/** Format: uuid */
|
|
7167
|
-
id: string;
|
|
7168
|
-
name: string;
|
|
7169
|
-
/** @enum {string} */
|
|
7170
|
-
status: "active" | "inactive";
|
|
7171
|
-
uniqueRef?: string | null;
|
|
7172
|
-
appId: string;
|
|
7173
|
-
} | null;
|
|
7174
|
-
contact?: {
|
|
7175
|
-
/** Format: uuid */
|
|
7176
|
-
id: string;
|
|
7177
|
-
name?: string | null;
|
|
7178
|
-
firstName?: string | null;
|
|
7179
|
-
uniqueRef?: string | null;
|
|
7180
|
-
shortRef?: string | null;
|
|
7181
|
-
email?: string | null;
|
|
7182
|
-
/** @enum {string} */
|
|
7183
|
-
type: "owner" | "vendor";
|
|
7184
|
-
} | null;
|
|
7185
|
-
source?: {
|
|
7186
|
-
/** Format: uuid */
|
|
7187
|
-
id: string;
|
|
7188
|
-
type: string;
|
|
7189
|
-
status?: ("active" | "inactive") | null;
|
|
7190
|
-
appId?: string | null;
|
|
7191
|
-
appIcon?: string | null;
|
|
7192
|
-
} | null;
|
|
7193
|
-
matchStatus?: string | null;
|
|
7194
|
-
matchedByBankRule: boolean;
|
|
7195
|
-
};
|
|
7196
|
-
bankRecord: {
|
|
7197
|
-
/** Format: uuid */
|
|
7198
|
-
id: string;
|
|
7199
|
-
uniqueRef?: string | null;
|
|
7200
|
-
date: string;
|
|
7201
|
-
/** @enum {string} */
|
|
7202
|
-
status: "active" | "inactive";
|
|
7203
|
-
description?: string | null;
|
|
7204
|
-
bankAccountId?: string | null;
|
|
7205
|
-
bankAccount?: {
|
|
7206
|
-
/** Format: uuid */
|
|
7207
|
-
id: string;
|
|
7208
|
-
name: string;
|
|
7209
|
-
connectionId?: string | null;
|
|
7210
|
-
} | null;
|
|
7211
|
-
accountId?: string | null;
|
|
7212
|
-
connectionId?: string | null;
|
|
7213
|
-
appId?: string | null;
|
|
7214
|
-
/** @enum {string} */
|
|
7215
|
-
type: "transaction" | "balance";
|
|
7216
|
-
lock: {
|
|
7217
|
-
/** @enum {string} */
|
|
7218
|
-
status: "locked" | "unlocked";
|
|
7219
|
-
delete: {
|
|
7220
|
-
/** @enum {string} */
|
|
7221
|
-
status: "locked" | "unlocked";
|
|
7222
|
-
reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
|
|
7223
|
-
};
|
|
7224
|
-
};
|
|
7225
|
-
/** @description Value in cents (100 = 1€) */
|
|
7226
|
-
amount: number;
|
|
7227
|
-
balance: {
|
|
7228
|
-
current: number;
|
|
7229
|
-
correction: number;
|
|
7230
|
-
};
|
|
7231
|
-
reconciliation: {
|
|
7232
|
-
status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
|
|
7233
|
-
transactions?: {
|
|
7234
|
-
id: string;
|
|
7235
|
-
date: string;
|
|
7236
|
-
description?: string | null;
|
|
7237
|
-
type: string;
|
|
7238
|
-
amount: number;
|
|
7239
|
-
}[] | null;
|
|
7240
|
-
};
|
|
7241
|
-
};
|
|
6808
|
+
url: string;
|
|
7242
6809
|
};
|
|
7243
6810
|
};
|
|
7244
6811
|
};
|
|
@@ -7376,7 +6943,7 @@ export interface operations {
|
|
|
7376
6943
|
};
|
|
7377
6944
|
};
|
|
7378
6945
|
};
|
|
7379
|
-
|
|
6946
|
+
getAccountsById: {
|
|
7380
6947
|
parameters: {
|
|
7381
6948
|
query?: never;
|
|
7382
6949
|
header?: never;
|
|
@@ -7385,20 +6952,7 @@ export interface operations {
|
|
|
7385
6952
|
};
|
|
7386
6953
|
cookie?: never;
|
|
7387
6954
|
};
|
|
7388
|
-
requestBody?:
|
|
7389
|
-
content: {
|
|
7390
|
-
"application/json": {
|
|
7391
|
-
/** Format: uuid */
|
|
7392
|
-
bankAccountId: string;
|
|
7393
|
-
startDate: string;
|
|
7394
|
-
/**
|
|
7395
|
-
* @default error
|
|
7396
|
-
* @enum {string}
|
|
7397
|
-
*/
|
|
7398
|
-
onConflict?: "error" | "replace" | "replace-and-detach-history";
|
|
7399
|
-
};
|
|
7400
|
-
};
|
|
7401
|
-
};
|
|
6955
|
+
requestBody?: never;
|
|
7402
6956
|
responses: {
|
|
7403
6957
|
/** @description Successful response */
|
|
7404
6958
|
200: {
|
|
@@ -7435,13 +6989,13 @@ export interface operations {
|
|
|
7435
6989
|
};
|
|
7436
6990
|
issues: ({
|
|
7437
6991
|
/** @constant */
|
|
7438
|
-
code: "
|
|
6992
|
+
code: "accountConnectionLast4OutOfSync";
|
|
7439
6993
|
/** @constant */
|
|
7440
6994
|
severity: "warning";
|
|
7441
6995
|
context: {
|
|
7442
6996
|
accountLast4?: string | null;
|
|
7443
|
-
|
|
7444
|
-
|
|
6997
|
+
accountConnectionLast4: string;
|
|
6998
|
+
accountConnectionIds: string[];
|
|
7445
6999
|
};
|
|
7446
7000
|
} | {
|
|
7447
7001
|
/** @constant */
|
|
@@ -7647,9 +7201,12 @@ export interface operations {
|
|
|
7647
7201
|
};
|
|
7648
7202
|
};
|
|
7649
7203
|
};
|
|
7650
|
-
|
|
7204
|
+
putAccountsById: {
|
|
7651
7205
|
parameters: {
|
|
7652
|
-
query?:
|
|
7206
|
+
query?: {
|
|
7207
|
+
/** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
|
|
7208
|
+
dryRun?: boolean;
|
|
7209
|
+
};
|
|
7653
7210
|
header?: never;
|
|
7654
7211
|
path: {
|
|
7655
7212
|
id: string;
|
|
@@ -7659,13 +7216,21 @@ export interface operations {
|
|
|
7659
7216
|
requestBody?: {
|
|
7660
7217
|
content: {
|
|
7661
7218
|
"application/json": {
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
|
|
7219
|
+
name?: string;
|
|
7220
|
+
/** @enum {string} */
|
|
7221
|
+
status?: "active" | "inactive";
|
|
7222
|
+
/** @enum {string} */
|
|
7223
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
7224
|
+
assignments?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution")[] | null;
|
|
7225
|
+
offsetAccountId?: string | null;
|
|
7226
|
+
categoryId?: string;
|
|
7227
|
+
banking?: {
|
|
7228
|
+
category?: ("trust" | "operating" | "external") | null;
|
|
7229
|
+
type?: ("deposit" | "creditCard") | null;
|
|
7230
|
+
last4?: string | null;
|
|
7231
|
+
currency?: string | null;
|
|
7232
|
+
} | null;
|
|
7233
|
+
uniqueRef?: string | null;
|
|
7669
7234
|
};
|
|
7670
7235
|
};
|
|
7671
7236
|
};
|
|
@@ -7705,13 +7270,13 @@ export interface operations {
|
|
|
7705
7270
|
};
|
|
7706
7271
|
issues: ({
|
|
7707
7272
|
/** @constant */
|
|
7708
|
-
code: "
|
|
7273
|
+
code: "accountConnectionLast4OutOfSync";
|
|
7709
7274
|
/** @constant */
|
|
7710
7275
|
severity: "warning";
|
|
7711
7276
|
context: {
|
|
7712
7277
|
accountLast4?: string | null;
|
|
7713
|
-
|
|
7714
|
-
|
|
7278
|
+
accountConnectionLast4: string;
|
|
7279
|
+
accountConnectionIds: string[];
|
|
7715
7280
|
};
|
|
7716
7281
|
} | {
|
|
7717
7282
|
/** @constant */
|
|
@@ -7917,9 +7482,13 @@ export interface operations {
|
|
|
7917
7482
|
};
|
|
7918
7483
|
};
|
|
7919
7484
|
};
|
|
7920
|
-
|
|
7485
|
+
deleteAccountsById: {
|
|
7921
7486
|
parameters: {
|
|
7922
|
-
query?:
|
|
7487
|
+
query?: {
|
|
7488
|
+
onLocked?: "error" | "archive";
|
|
7489
|
+
/** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
|
|
7490
|
+
dryRun?: boolean;
|
|
7491
|
+
};
|
|
7923
7492
|
header?: never;
|
|
7924
7493
|
path: {
|
|
7925
7494
|
id: string;
|
|
@@ -7939,7 +7508,8 @@ export interface operations {
|
|
|
7939
7508
|
};
|
|
7940
7509
|
content: {
|
|
7941
7510
|
"application/json": {
|
|
7942
|
-
|
|
7511
|
+
/** @enum {string} */
|
|
7512
|
+
status: "deleted" | "archived";
|
|
7943
7513
|
};
|
|
7944
7514
|
};
|
|
7945
7515
|
};
|
|
@@ -8077,11 +7647,11 @@ export interface operations {
|
|
|
8077
7647
|
};
|
|
8078
7648
|
};
|
|
8079
7649
|
};
|
|
8080
|
-
|
|
7650
|
+
postAccountsByIdBankingInit: {
|
|
8081
7651
|
parameters: {
|
|
8082
|
-
query
|
|
8083
|
-
/** @description
|
|
8084
|
-
|
|
7652
|
+
query?: {
|
|
7653
|
+
/** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
|
|
7654
|
+
dryRun?: boolean;
|
|
8085
7655
|
};
|
|
8086
7656
|
header?: never;
|
|
8087
7657
|
path: {
|
|
@@ -8089,7 +7659,14 @@ export interface operations {
|
|
|
8089
7659
|
};
|
|
8090
7660
|
cookie?: never;
|
|
8091
7661
|
};
|
|
8092
|
-
requestBody?:
|
|
7662
|
+
requestBody?: {
|
|
7663
|
+
content: {
|
|
7664
|
+
"application/json": {
|
|
7665
|
+
startingBalanceDate: string;
|
|
7666
|
+
startingBalanceAmount: number;
|
|
7667
|
+
};
|
|
7668
|
+
};
|
|
7669
|
+
};
|
|
8093
7670
|
responses: {
|
|
8094
7671
|
/** @description Successful response */
|
|
8095
7672
|
200: {
|
|
@@ -8098,208 +7675,346 @@ export interface operations {
|
|
|
8098
7675
|
};
|
|
8099
7676
|
content: {
|
|
8100
7677
|
"application/json": {
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
7678
|
+
id: string;
|
|
7679
|
+
archivedRecords: number;
|
|
7680
|
+
unArchivedRecords: number;
|
|
7681
|
+
transaction: {
|
|
7682
|
+
description: string;
|
|
7683
|
+
/** @enum {string} */
|
|
7684
|
+
status: "active" | "inactive";
|
|
7685
|
+
uniqueRef?: string | null;
|
|
7686
|
+
isOpeningBalance: boolean;
|
|
7687
|
+
/** @enum {string} */
|
|
7688
|
+
type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
|
|
7689
|
+
date: string;
|
|
7690
|
+
lines: {
|
|
7691
|
+
uniqueRef?: string | null;
|
|
7692
|
+
description: string;
|
|
7693
|
+
/** @description System account purpose used to resolve or validate the posting account */
|
|
7694
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
|
|
7695
|
+
/** @description Value in cents (100 = 1€) */
|
|
7696
|
+
amount: number;
|
|
7697
|
+
/** @description Persisted owner statement linked to a payout line */
|
|
7698
|
+
ownerStatementId?: string | null;
|
|
7699
|
+
matchReservationConfirmationCode?: string | null;
|
|
7700
|
+
matchReservationStripeGuestRef?: string | null;
|
|
7701
|
+
matchReservationProcessorBookingRef?: string | null;
|
|
7702
|
+
matchLineTypeClassification?: string | null;
|
|
8104
7703
|
id: string;
|
|
8105
|
-
|
|
7704
|
+
issues: {
|
|
7705
|
+
/** @constant */
|
|
7706
|
+
code: "unassignedAccount";
|
|
7707
|
+
/** @constant */
|
|
7708
|
+
severity: "error";
|
|
7709
|
+
context: {
|
|
7710
|
+
lineType: string;
|
|
7711
|
+
};
|
|
7712
|
+
}[];
|
|
7713
|
+
recurringTemplate?: {
|
|
7714
|
+
id: string;
|
|
7715
|
+
} | null;
|
|
7716
|
+
total: number;
|
|
7717
|
+
listing?: {
|
|
7718
|
+
/** Format: uuid */
|
|
7719
|
+
id: string;
|
|
7720
|
+
name: string;
|
|
7721
|
+
uniqueRef?: string | null;
|
|
7722
|
+
shortRef?: string | null;
|
|
7723
|
+
} | null;
|
|
7724
|
+
reservation?: {
|
|
7725
|
+
id: string;
|
|
7726
|
+
shortRef?: string | null;
|
|
7727
|
+
confirmationCode?: string | null;
|
|
7728
|
+
uniqueRef: string;
|
|
7729
|
+
/** @enum {string} */
|
|
7730
|
+
status: "booked" | "canceled" | "inactive";
|
|
7731
|
+
checkIn?: string | null;
|
|
7732
|
+
checkOut?: string | null;
|
|
7733
|
+
} | null;
|
|
7734
|
+
account?: {
|
|
7735
|
+
id: string;
|
|
7736
|
+
name: string;
|
|
7737
|
+
uniqueRef?: string | null;
|
|
7738
|
+
/** @enum {string} */
|
|
7739
|
+
status: "active" | "inactive";
|
|
7740
|
+
} | null;
|
|
7741
|
+
/**
|
|
7742
|
+
* @description Accounting attribution: owners affects owner-side balances and statements; manager affects manager-side accounting
|
|
7743
|
+
* @enum {string}
|
|
7744
|
+
*/
|
|
7745
|
+
party: "owners" | "manager";
|
|
7746
|
+
contact?: {
|
|
7747
|
+
/** Format: uuid */
|
|
7748
|
+
id: string;
|
|
7749
|
+
name?: string | null;
|
|
7750
|
+
firstName?: string | null;
|
|
7751
|
+
uniqueRef?: string | null;
|
|
7752
|
+
shortRef?: string | null;
|
|
7753
|
+
email?: string | null;
|
|
7754
|
+
/** @enum {string} */
|
|
7755
|
+
type: "owner" | "vendor";
|
|
7756
|
+
} | null;
|
|
7757
|
+
matchStatus?: string | null;
|
|
7758
|
+
appliedAmount?: {
|
|
7759
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7760
|
+
taxRate?: {
|
|
7761
|
+
id: string;
|
|
7762
|
+
name: string;
|
|
7763
|
+
/**
|
|
7764
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
7765
|
+
* @example 100000
|
|
7766
|
+
*/
|
|
7767
|
+
basisPoints: number;
|
|
7768
|
+
} | null;
|
|
7769
|
+
} | null;
|
|
7770
|
+
markup?: {
|
|
7771
|
+
amount?: number | null;
|
|
7772
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7773
|
+
taxRate?: {
|
|
7774
|
+
id: string;
|
|
7775
|
+
name: string;
|
|
7776
|
+
/**
|
|
7777
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
7778
|
+
* @example 100000
|
|
7779
|
+
*/
|
|
7780
|
+
basisPoints: number;
|
|
7781
|
+
} | null;
|
|
7782
|
+
} | null;
|
|
7783
|
+
lock?: {
|
|
7784
|
+
/**
|
|
7785
|
+
* @description Whether the represented entity or field can be mutated
|
|
7786
|
+
* @enum {string}
|
|
7787
|
+
*/
|
|
7788
|
+
status: "locked" | "unlocked";
|
|
7789
|
+
/** @description Present when books closing blocks the mutation */
|
|
7790
|
+
booksClosed?: {
|
|
7791
|
+
/** @description First open accounting date */
|
|
7792
|
+
date: string;
|
|
7793
|
+
} | null;
|
|
7794
|
+
/** @description Present when journal entries are attached to owner statements */
|
|
7795
|
+
ownerStatement?: {
|
|
7796
|
+
/** @description Owner statements that lock the represented data */
|
|
7797
|
+
ids: string[];
|
|
7798
|
+
} | null;
|
|
7799
|
+
reconciled?: {
|
|
7800
|
+
/** @description Bank records linked through reconciliation */
|
|
7801
|
+
bankRecordIds: string[];
|
|
7802
|
+
} | null;
|
|
7803
|
+
/** @description Listing statement-period conflicts for the represented data */
|
|
7804
|
+
statementPeriod?: {
|
|
7805
|
+
hits: {
|
|
7806
|
+
/** Format: uuid */
|
|
7807
|
+
listingId: string;
|
|
7808
|
+
/** @description Posting date blocked by the statement period */
|
|
7809
|
+
txnAt: string;
|
|
7810
|
+
/** @description First open date for this listing period */
|
|
7811
|
+
openFrom: string;
|
|
7812
|
+
}[];
|
|
7813
|
+
} | null;
|
|
7814
|
+
} | null;
|
|
8106
7815
|
}[];
|
|
8107
|
-
transactions
|
|
7816
|
+
/** @description Expense attachment IDs returned by POST /transactions/attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
7817
|
+
attachmentIds?: string[] | null;
|
|
7818
|
+
recurringTemplateId?: string | null;
|
|
7819
|
+
matchBankAccountLast4?: string | null;
|
|
7820
|
+
id: string;
|
|
7821
|
+
shortRef?: string | null;
|
|
7822
|
+
lock?: {
|
|
7823
|
+
/**
|
|
7824
|
+
* @description Whether the represented entity or field can be mutated
|
|
7825
|
+
* @enum {string}
|
|
7826
|
+
*/
|
|
7827
|
+
status: "locked" | "unlocked";
|
|
7828
|
+
/** @description Present when books closing blocks the mutation */
|
|
7829
|
+
booksClosed?: {
|
|
7830
|
+
/** @description First open accounting date */
|
|
7831
|
+
date: string;
|
|
7832
|
+
} | null;
|
|
7833
|
+
/** @description Present when journal entries are attached to owner statements */
|
|
7834
|
+
ownerStatement?: {
|
|
7835
|
+
/** @description Owner statements that lock the represented data */
|
|
7836
|
+
ids: string[];
|
|
7837
|
+
} | null;
|
|
7838
|
+
reconciled?: {
|
|
7839
|
+
/** @description Bank records linked through reconciliation */
|
|
7840
|
+
bankRecordIds: string[];
|
|
7841
|
+
} | null;
|
|
7842
|
+
/** @description Listing statement-period conflicts for the represented data */
|
|
7843
|
+
statementPeriod?: {
|
|
7844
|
+
hits: {
|
|
7845
|
+
/** Format: uuid */
|
|
7846
|
+
listingId: string;
|
|
7847
|
+
/** @description Posting date blocked by the statement period */
|
|
7848
|
+
txnAt: string;
|
|
7849
|
+
/** @description First open date for this listing period */
|
|
7850
|
+
openFrom: string;
|
|
7851
|
+
}[];
|
|
7852
|
+
} | null;
|
|
7853
|
+
} | null;
|
|
7854
|
+
issues: ({
|
|
7855
|
+
/** @constant */
|
|
7856
|
+
code: "line_unassignedAccount";
|
|
7857
|
+
/** @constant */
|
|
7858
|
+
severity: "error";
|
|
7859
|
+
context: Record<string, never>;
|
|
7860
|
+
} | {
|
|
7861
|
+
/** @constant */
|
|
7862
|
+
code: "bankAccountLast4Mismatch";
|
|
7863
|
+
/** @constant */
|
|
7864
|
+
severity: "warning";
|
|
7865
|
+
context: {
|
|
7866
|
+
accountLast4: string;
|
|
7867
|
+
transactionLast4: string;
|
|
7868
|
+
};
|
|
7869
|
+
})[];
|
|
7870
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
7871
|
+
currency: string;
|
|
7872
|
+
/** @description Value in cents (100 = 1€) */
|
|
7873
|
+
amount: number;
|
|
7874
|
+
recurringTemplate?: {
|
|
7875
|
+
id: string;
|
|
7876
|
+
} | null;
|
|
7877
|
+
attachments: {
|
|
8108
7878
|
/** Format: uuid */
|
|
8109
7879
|
id: string;
|
|
8110
|
-
|
|
7880
|
+
transactionId: string | null;
|
|
7881
|
+
/**
|
|
7882
|
+
* Format: date-time
|
|
7883
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
7884
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
7885
|
+
*/
|
|
7886
|
+
createdAt: string;
|
|
7887
|
+
filename: string;
|
|
7888
|
+
extension?: string | null;
|
|
7889
|
+
contentType: string;
|
|
7890
|
+
byteSize: number;
|
|
7891
|
+
isOwnerAccessible: boolean;
|
|
8111
7892
|
}[];
|
|
7893
|
+
account?: {
|
|
7894
|
+
id: string;
|
|
7895
|
+
name: string;
|
|
7896
|
+
uniqueRef?: string | null;
|
|
7897
|
+
/** @enum {string} */
|
|
7898
|
+
status: "active" | "inactive";
|
|
7899
|
+
} | null;
|
|
7900
|
+
payment: {
|
|
7901
|
+
/** @description Bank records reconciled to this transaction payment */
|
|
7902
|
+
bankRecordIds: string[];
|
|
7903
|
+
/**
|
|
7904
|
+
* @description Expense payment status
|
|
7905
|
+
* @enum {string}
|
|
7906
|
+
*/
|
|
7907
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
7908
|
+
lock?: {
|
|
7909
|
+
/**
|
|
7910
|
+
* @description Whether the represented entity or field can be mutated
|
|
7911
|
+
* @enum {string}
|
|
7912
|
+
*/
|
|
7913
|
+
status: "locked" | "unlocked";
|
|
7914
|
+
/** @description Present when books closing blocks the mutation */
|
|
7915
|
+
booksClosed?: {
|
|
7916
|
+
/** @description First open accounting date */
|
|
7917
|
+
date: string;
|
|
7918
|
+
} | null;
|
|
7919
|
+
/** @description Present when journal entries are attached to owner statements */
|
|
7920
|
+
ownerStatement?: {
|
|
7921
|
+
/** @description Owner statements that lock the represented data */
|
|
7922
|
+
ids: string[];
|
|
7923
|
+
} | null;
|
|
7924
|
+
reconciled?: {
|
|
7925
|
+
/** @description Bank records linked through reconciliation */
|
|
7926
|
+
bankRecordIds: string[];
|
|
7927
|
+
} | null;
|
|
7928
|
+
/** @description Listing statement-period conflicts for the represented data */
|
|
7929
|
+
statementPeriod?: {
|
|
7930
|
+
hits: {
|
|
7931
|
+
/** Format: uuid */
|
|
7932
|
+
listingId: string;
|
|
7933
|
+
/** @description Posting date blocked by the statement period */
|
|
7934
|
+
txnAt: string;
|
|
7935
|
+
/** @description First open date for this listing period */
|
|
7936
|
+
openFrom: string;
|
|
7937
|
+
}[];
|
|
7938
|
+
} | null;
|
|
7939
|
+
} | null;
|
|
7940
|
+
date?: string | null;
|
|
7941
|
+
};
|
|
7942
|
+
connection?: {
|
|
7943
|
+
/** Format: uuid */
|
|
7944
|
+
id: string;
|
|
7945
|
+
name: string;
|
|
7946
|
+
/** @enum {string} */
|
|
7947
|
+
status: "active" | "inactive";
|
|
7948
|
+
uniqueRef?: string | null;
|
|
7949
|
+
appId: string;
|
|
7950
|
+
} | null;
|
|
7951
|
+
contact?: {
|
|
7952
|
+
/** Format: uuid */
|
|
7953
|
+
id: string;
|
|
7954
|
+
name?: string | null;
|
|
7955
|
+
firstName?: string | null;
|
|
7956
|
+
uniqueRef?: string | null;
|
|
7957
|
+
shortRef?: string | null;
|
|
7958
|
+
email?: string | null;
|
|
7959
|
+
/** @enum {string} */
|
|
7960
|
+
type: "owner" | "vendor";
|
|
7961
|
+
} | null;
|
|
7962
|
+
source?: {
|
|
7963
|
+
/** Format: uuid */
|
|
7964
|
+
id: string;
|
|
7965
|
+
type: string;
|
|
7966
|
+
status?: ("active" | "inactive") | null;
|
|
7967
|
+
appId?: string | null;
|
|
7968
|
+
appIcon?: string | null;
|
|
7969
|
+
} | null;
|
|
7970
|
+
matchStatus?: string | null;
|
|
7971
|
+
matchedByBankRule: boolean;
|
|
8112
7972
|
};
|
|
8113
|
-
|
|
8114
|
-
bankAccountBalance: number;
|
|
8115
|
-
bookBalance: number;
|
|
8116
|
-
unclearedTransactionsBalance: number;
|
|
8117
|
-
unmatchedTransactionsBalance: number;
|
|
8118
|
-
unmatchedBankRecordsBalance: number;
|
|
8119
|
-
adjustedBankAccountBalance: number;
|
|
8120
|
-
difference: number;
|
|
8121
|
-
};
|
|
8122
|
-
};
|
|
8123
|
-
};
|
|
8124
|
-
};
|
|
8125
|
-
/** @description Bad request */
|
|
8126
|
-
400: {
|
|
8127
|
-
headers: {
|
|
8128
|
-
[name: string]: unknown;
|
|
8129
|
-
};
|
|
8130
|
-
content: {
|
|
8131
|
-
"application/json": {
|
|
8132
|
-
code: string;
|
|
8133
|
-
message: string;
|
|
8134
|
-
links?: {
|
|
8135
|
-
docs: string;
|
|
8136
|
-
schema: string;
|
|
8137
|
-
};
|
|
8138
|
-
issues?: {
|
|
8139
|
-
message: string;
|
|
8140
|
-
path?: (string | number)[];
|
|
8141
|
-
schema?: string;
|
|
8142
|
-
}[];
|
|
8143
|
-
context?: unknown;
|
|
8144
|
-
};
|
|
8145
|
-
};
|
|
8146
|
-
};
|
|
8147
|
-
/** @description Unauthorized */
|
|
8148
|
-
401: {
|
|
8149
|
-
headers: {
|
|
8150
|
-
[name: string]: unknown;
|
|
8151
|
-
};
|
|
8152
|
-
content: {
|
|
8153
|
-
"application/json": {
|
|
8154
|
-
code: string;
|
|
8155
|
-
message: string;
|
|
8156
|
-
links?: {
|
|
8157
|
-
docs: string;
|
|
8158
|
-
schema: string;
|
|
8159
|
-
};
|
|
8160
|
-
issues?: {
|
|
8161
|
-
message: string;
|
|
8162
|
-
path?: (string | number)[];
|
|
8163
|
-
schema?: string;
|
|
8164
|
-
}[];
|
|
8165
|
-
context?: unknown;
|
|
8166
|
-
};
|
|
8167
|
-
};
|
|
8168
|
-
};
|
|
8169
|
-
/** @description Forbidden */
|
|
8170
|
-
403: {
|
|
8171
|
-
headers: {
|
|
8172
|
-
[name: string]: unknown;
|
|
8173
|
-
};
|
|
8174
|
-
content: {
|
|
8175
|
-
"application/json": {
|
|
8176
|
-
code: string;
|
|
8177
|
-
message: string;
|
|
8178
|
-
links?: {
|
|
8179
|
-
docs: string;
|
|
8180
|
-
schema: string;
|
|
8181
|
-
};
|
|
8182
|
-
issues?: {
|
|
8183
|
-
message: string;
|
|
8184
|
-
path?: (string | number)[];
|
|
8185
|
-
schema?: string;
|
|
8186
|
-
}[];
|
|
8187
|
-
context?: unknown;
|
|
8188
|
-
};
|
|
8189
|
-
};
|
|
8190
|
-
};
|
|
8191
|
-
/** @description Not found */
|
|
8192
|
-
404: {
|
|
8193
|
-
headers: {
|
|
8194
|
-
[name: string]: unknown;
|
|
8195
|
-
};
|
|
8196
|
-
content: {
|
|
8197
|
-
"application/json": {
|
|
8198
|
-
code: string;
|
|
8199
|
-
message: string;
|
|
8200
|
-
links?: {
|
|
8201
|
-
docs: string;
|
|
8202
|
-
schema: string;
|
|
8203
|
-
};
|
|
8204
|
-
issues?: {
|
|
8205
|
-
message: string;
|
|
8206
|
-
path?: (string | number)[];
|
|
8207
|
-
schema?: string;
|
|
8208
|
-
}[];
|
|
8209
|
-
context?: unknown;
|
|
8210
|
-
};
|
|
8211
|
-
};
|
|
8212
|
-
};
|
|
8213
|
-
/** @description Internal server error */
|
|
8214
|
-
500: {
|
|
8215
|
-
headers: {
|
|
8216
|
-
[name: string]: unknown;
|
|
8217
|
-
};
|
|
8218
|
-
content: {
|
|
8219
|
-
"application/json": {
|
|
8220
|
-
code: string;
|
|
8221
|
-
message: string;
|
|
8222
|
-
links?: {
|
|
8223
|
-
docs: string;
|
|
8224
|
-
schema: string;
|
|
8225
|
-
};
|
|
8226
|
-
issues?: {
|
|
8227
|
-
message: string;
|
|
8228
|
-
path?: (string | number)[];
|
|
8229
|
-
schema?: string;
|
|
8230
|
-
}[];
|
|
8231
|
-
context?: unknown;
|
|
8232
|
-
};
|
|
8233
|
-
};
|
|
8234
|
-
};
|
|
8235
|
-
/** @description Service unavailable */
|
|
8236
|
-
503: {
|
|
8237
|
-
headers: {
|
|
8238
|
-
[name: string]: unknown;
|
|
8239
|
-
};
|
|
8240
|
-
content: {
|
|
8241
|
-
"application/json": {
|
|
8242
|
-
code: string;
|
|
8243
|
-
message: string;
|
|
8244
|
-
links?: {
|
|
8245
|
-
docs: string;
|
|
8246
|
-
schema: string;
|
|
8247
|
-
};
|
|
8248
|
-
issues?: {
|
|
8249
|
-
message: string;
|
|
8250
|
-
path?: (string | number)[];
|
|
8251
|
-
schema?: string;
|
|
8252
|
-
}[];
|
|
8253
|
-
context?: unknown;
|
|
8254
|
-
};
|
|
8255
|
-
};
|
|
8256
|
-
};
|
|
8257
|
-
};
|
|
8258
|
-
};
|
|
8259
|
-
getApiTokens: {
|
|
8260
|
-
parameters: {
|
|
8261
|
-
query?: {
|
|
8262
|
-
limit?: number;
|
|
8263
|
-
page?: number;
|
|
8264
|
-
offset?: number;
|
|
8265
|
-
};
|
|
8266
|
-
header?: never;
|
|
8267
|
-
path?: never;
|
|
8268
|
-
cookie?: never;
|
|
8269
|
-
};
|
|
8270
|
-
requestBody?: never;
|
|
8271
|
-
responses: {
|
|
8272
|
-
/** @description Successful response */
|
|
8273
|
-
200: {
|
|
8274
|
-
headers: {
|
|
8275
|
-
[name: string]: unknown;
|
|
8276
|
-
};
|
|
8277
|
-
content: {
|
|
8278
|
-
"application/json": {
|
|
8279
|
-
data: {
|
|
8280
|
-
allowedIpCidrs: string[];
|
|
8281
|
-
bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:banking:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:reports:v1" | "partner:statements:v1" | "partner:webhooks:v1")[];
|
|
7973
|
+
bankRecord: {
|
|
8282
7974
|
/** Format: uuid */
|
|
8283
7975
|
id: string;
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
7976
|
+
uniqueRef?: string | null;
|
|
7977
|
+
date: string;
|
|
7978
|
+
/** @enum {string} */
|
|
7979
|
+
status: "active" | "inactive";
|
|
7980
|
+
description?: string | null;
|
|
7981
|
+
accountConnectionId?: string | null;
|
|
7982
|
+
accountConnection?: {
|
|
7983
|
+
/** Format: uuid */
|
|
7984
|
+
id: string;
|
|
7985
|
+
name: string;
|
|
7986
|
+
connectionId?: string | null;
|
|
7987
|
+
} | null;
|
|
7988
|
+
accountId?: string | null;
|
|
7989
|
+
connectionId?: string | null;
|
|
7990
|
+
appId?: string | null;
|
|
7991
|
+
/** @enum {string} */
|
|
7992
|
+
type: "transaction" | "balance";
|
|
7993
|
+
lock: {
|
|
7994
|
+
/** @enum {string} */
|
|
7995
|
+
status: "locked" | "unlocked";
|
|
7996
|
+
delete: {
|
|
7997
|
+
/** @enum {string} */
|
|
7998
|
+
status: "locked" | "unlocked";
|
|
7999
|
+
reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
|
|
8000
|
+
};
|
|
8001
|
+
};
|
|
8002
|
+
/** @description Value in cents (100 = 1€) */
|
|
8003
|
+
amount: number;
|
|
8004
|
+
balance: {
|
|
8005
|
+
current: number;
|
|
8006
|
+
correction: number;
|
|
8007
|
+
};
|
|
8008
|
+
reconciliation: {
|
|
8009
|
+
status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
|
|
8010
|
+
transactions?: {
|
|
8011
|
+
id: string;
|
|
8012
|
+
date: string;
|
|
8013
|
+
description?: string | null;
|
|
8014
|
+
type: string;
|
|
8015
|
+
amount: number;
|
|
8016
|
+
}[] | null;
|
|
8017
|
+
};
|
|
8303
8018
|
};
|
|
8304
8019
|
};
|
|
8305
8020
|
};
|
|
@@ -8438,20 +8153,26 @@ export interface operations {
|
|
|
8438
8153
|
};
|
|
8439
8154
|
};
|
|
8440
8155
|
};
|
|
8441
|
-
|
|
8156
|
+
postAccountsByIdConnections: {
|
|
8442
8157
|
parameters: {
|
|
8443
8158
|
query?: never;
|
|
8444
8159
|
header?: never;
|
|
8445
|
-
path
|
|
8160
|
+
path: {
|
|
8161
|
+
id: string;
|
|
8162
|
+
};
|
|
8446
8163
|
cookie?: never;
|
|
8447
8164
|
};
|
|
8448
8165
|
requestBody?: {
|
|
8449
8166
|
content: {
|
|
8450
8167
|
"application/json": {
|
|
8451
|
-
/**
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8168
|
+
/** Format: uuid */
|
|
8169
|
+
accountConnectionId: string;
|
|
8170
|
+
startDate: string;
|
|
8171
|
+
/**
|
|
8172
|
+
* @default error
|
|
8173
|
+
* @enum {string}
|
|
8174
|
+
*/
|
|
8175
|
+
onConflict?: "error" | "replace" | "replace-and-detach-history";
|
|
8455
8176
|
};
|
|
8456
8177
|
};
|
|
8457
8178
|
};
|
|
@@ -8463,21 +8184,109 @@ export interface operations {
|
|
|
8463
8184
|
};
|
|
8464
8185
|
content: {
|
|
8465
8186
|
"application/json": {
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8187
|
+
name: string;
|
|
8188
|
+
/** @enum {string} */
|
|
8189
|
+
status?: "active" | "inactive";
|
|
8190
|
+
/** @enum {string} */
|
|
8191
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
8192
|
+
uniqueRef?: string | null;
|
|
8469
8193
|
id: string;
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8194
|
+
offsetAccount?: {
|
|
8195
|
+
id: string;
|
|
8196
|
+
name: string;
|
|
8197
|
+
uniqueRef?: string | null;
|
|
8198
|
+
/** @enum {string} */
|
|
8199
|
+
status: "active" | "inactive";
|
|
8200
|
+
} | null;
|
|
8201
|
+
assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution")[];
|
|
8202
|
+
category?: {
|
|
8203
|
+
id: string;
|
|
8204
|
+
name: string;
|
|
8205
|
+
classification?: ("asset" | "liability" | "revenue" | "expense") | null;
|
|
8206
|
+
} | null;
|
|
8207
|
+
categoryLock: {
|
|
8208
|
+
/** @constant */
|
|
8209
|
+
status: "locked";
|
|
8210
|
+
/** @constant */
|
|
8211
|
+
reason: "immutable";
|
|
8212
|
+
};
|
|
8213
|
+
issues: ({
|
|
8214
|
+
/** @constant */
|
|
8215
|
+
code: "accountConnectionLast4OutOfSync";
|
|
8216
|
+
/** @constant */
|
|
8217
|
+
severity: "warning";
|
|
8218
|
+
context: {
|
|
8219
|
+
accountLast4?: string | null;
|
|
8220
|
+
accountConnectionLast4: string;
|
|
8221
|
+
accountConnectionIds: string[];
|
|
8222
|
+
};
|
|
8223
|
+
} | {
|
|
8224
|
+
/** @constant */
|
|
8225
|
+
code: "operatingBankAccountRequiresOpex";
|
|
8226
|
+
/** @constant */
|
|
8227
|
+
severity: "error";
|
|
8228
|
+
context: {
|
|
8229
|
+
/** @constant */
|
|
8230
|
+
bankingCategory: "operating";
|
|
8231
|
+
};
|
|
8232
|
+
})[];
|
|
8233
|
+
banking?: {
|
|
8234
|
+
category?: ("trust" | "operating" | "external") | null;
|
|
8235
|
+
type?: ("deposit" | "creditCard") | null;
|
|
8236
|
+
last4?: string | null;
|
|
8237
|
+
currency?: string | null;
|
|
8238
|
+
connections: {
|
|
8239
|
+
id: string;
|
|
8240
|
+
name: string;
|
|
8241
|
+
startDate?: string | null;
|
|
8242
|
+
connection?: {
|
|
8243
|
+
id: string;
|
|
8244
|
+
appId: string;
|
|
8245
|
+
name: string;
|
|
8246
|
+
/** @enum {string} */
|
|
8247
|
+
status: "active" | "inactive";
|
|
8248
|
+
isErrorState: boolean;
|
|
8249
|
+
icon?: string | null;
|
|
8250
|
+
} | null;
|
|
8251
|
+
status?: ("active" | "inactive") | null;
|
|
8252
|
+
currentSync?: {
|
|
8253
|
+
/** @enum {string} */
|
|
8254
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
8255
|
+
/**
|
|
8256
|
+
* Format: date-time
|
|
8257
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
8258
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
8259
|
+
*/
|
|
8260
|
+
createdAt: string;
|
|
8261
|
+
/**
|
|
8262
|
+
* Format: date-time
|
|
8263
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
8264
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
8265
|
+
*/
|
|
8266
|
+
updatedAt: string;
|
|
8267
|
+
message?: string | null;
|
|
8268
|
+
} | null;
|
|
8269
|
+
source?: {
|
|
8270
|
+
/** Format: uuid */
|
|
8271
|
+
id: string;
|
|
8272
|
+
type: string;
|
|
8273
|
+
status?: ("active" | "inactive") | null;
|
|
8274
|
+
appId?: string | null;
|
|
8275
|
+
appIcon?: string | null;
|
|
8276
|
+
} | null;
|
|
8277
|
+
}[];
|
|
8278
|
+
bankRecords: {
|
|
8279
|
+
reconciled: number;
|
|
8280
|
+
unreconciled: number;
|
|
8281
|
+
total: number;
|
|
8282
|
+
latestCreatedAt?: string | null;
|
|
8283
|
+
};
|
|
8284
|
+
balance?: {
|
|
8285
|
+
openingDate?: string | null;
|
|
8286
|
+
opening: number;
|
|
8287
|
+
ending: number;
|
|
8288
|
+
} | null;
|
|
8289
|
+
} | null;
|
|
8481
8290
|
};
|
|
8482
8291
|
};
|
|
8483
8292
|
};
|
|
@@ -8615,186 +8424,23 @@ export interface operations {
|
|
|
8615
8424
|
};
|
|
8616
8425
|
};
|
|
8617
8426
|
};
|
|
8618
|
-
|
|
8427
|
+
deleteAccountsByIdConnectionsByAccountConnectionId: {
|
|
8619
8428
|
parameters: {
|
|
8620
|
-
query?:
|
|
8429
|
+
query?: {
|
|
8430
|
+
mode?: "preserve-history" | "detach-history";
|
|
8431
|
+
};
|
|
8621
8432
|
header?: never;
|
|
8622
8433
|
path: {
|
|
8623
8434
|
id: string;
|
|
8435
|
+
accountConnectionId: string;
|
|
8624
8436
|
};
|
|
8625
8437
|
cookie?: never;
|
|
8626
8438
|
};
|
|
8627
|
-
requestBody?:
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
200: {
|
|
8631
|
-
headers: {
|
|
8632
|
-
[name: string]: unknown;
|
|
8633
|
-
};
|
|
8634
|
-
content: {
|
|
8635
|
-
"application/json": {
|
|
8636
|
-
allowedIpCidrs: string[];
|
|
8637
|
-
bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:banking:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:reports:v1" | "partner:statements:v1" | "partner:webhooks:v1")[];
|
|
8638
|
-
/** Format: uuid */
|
|
8639
|
-
id: string;
|
|
8640
|
-
/**
|
|
8641
|
-
* Format: date-time
|
|
8642
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
8643
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
8644
|
-
*/
|
|
8645
|
-
createdAt: string;
|
|
8646
|
-
hint: string | null;
|
|
8647
|
-
role: string | null;
|
|
8648
|
-
scope: string | null;
|
|
8649
|
-
scopes: ("self:read" | "self:write" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:delete" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:pay" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:pay" | "statements:export" | "statement-layouts:read" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
|
|
8650
|
-
apiToken: string;
|
|
8651
|
-
};
|
|
8652
|
-
};
|
|
8653
|
-
};
|
|
8654
|
-
/** @description Bad request */
|
|
8655
|
-
400: {
|
|
8656
|
-
headers: {
|
|
8657
|
-
[name: string]: unknown;
|
|
8658
|
-
};
|
|
8659
|
-
content: {
|
|
8660
|
-
"application/json": {
|
|
8661
|
-
code: string;
|
|
8662
|
-
message: string;
|
|
8663
|
-
links?: {
|
|
8664
|
-
docs: string;
|
|
8665
|
-
schema: string;
|
|
8666
|
-
};
|
|
8667
|
-
issues?: {
|
|
8668
|
-
message: string;
|
|
8669
|
-
path?: (string | number)[];
|
|
8670
|
-
schema?: string;
|
|
8671
|
-
}[];
|
|
8672
|
-
context?: unknown;
|
|
8673
|
-
};
|
|
8674
|
-
};
|
|
8675
|
-
};
|
|
8676
|
-
/** @description Unauthorized */
|
|
8677
|
-
401: {
|
|
8678
|
-
headers: {
|
|
8679
|
-
[name: string]: unknown;
|
|
8680
|
-
};
|
|
8681
|
-
content: {
|
|
8682
|
-
"application/json": {
|
|
8683
|
-
code: string;
|
|
8684
|
-
message: string;
|
|
8685
|
-
links?: {
|
|
8686
|
-
docs: string;
|
|
8687
|
-
schema: string;
|
|
8688
|
-
};
|
|
8689
|
-
issues?: {
|
|
8690
|
-
message: string;
|
|
8691
|
-
path?: (string | number)[];
|
|
8692
|
-
schema?: string;
|
|
8693
|
-
}[];
|
|
8694
|
-
context?: unknown;
|
|
8695
|
-
};
|
|
8696
|
-
};
|
|
8697
|
-
};
|
|
8698
|
-
/** @description Forbidden */
|
|
8699
|
-
403: {
|
|
8700
|
-
headers: {
|
|
8701
|
-
[name: string]: unknown;
|
|
8702
|
-
};
|
|
8703
|
-
content: {
|
|
8704
|
-
"application/json": {
|
|
8705
|
-
code: string;
|
|
8706
|
-
message: string;
|
|
8707
|
-
links?: {
|
|
8708
|
-
docs: string;
|
|
8709
|
-
schema: string;
|
|
8710
|
-
};
|
|
8711
|
-
issues?: {
|
|
8712
|
-
message: string;
|
|
8713
|
-
path?: (string | number)[];
|
|
8714
|
-
schema?: string;
|
|
8715
|
-
}[];
|
|
8716
|
-
context?: unknown;
|
|
8717
|
-
};
|
|
8718
|
-
};
|
|
8719
|
-
};
|
|
8720
|
-
/** @description Not found */
|
|
8721
|
-
404: {
|
|
8722
|
-
headers: {
|
|
8723
|
-
[name: string]: unknown;
|
|
8724
|
-
};
|
|
8725
|
-
content: {
|
|
8726
|
-
"application/json": {
|
|
8727
|
-
code: string;
|
|
8728
|
-
message: string;
|
|
8729
|
-
links?: {
|
|
8730
|
-
docs: string;
|
|
8731
|
-
schema: string;
|
|
8732
|
-
};
|
|
8733
|
-
issues?: {
|
|
8734
|
-
message: string;
|
|
8735
|
-
path?: (string | number)[];
|
|
8736
|
-
schema?: string;
|
|
8737
|
-
}[];
|
|
8738
|
-
context?: unknown;
|
|
8739
|
-
};
|
|
8740
|
-
};
|
|
8741
|
-
};
|
|
8742
|
-
/** @description Internal server error */
|
|
8743
|
-
500: {
|
|
8744
|
-
headers: {
|
|
8745
|
-
[name: string]: unknown;
|
|
8746
|
-
};
|
|
8747
|
-
content: {
|
|
8748
|
-
"application/json": {
|
|
8749
|
-
code: string;
|
|
8750
|
-
message: string;
|
|
8751
|
-
links?: {
|
|
8752
|
-
docs: string;
|
|
8753
|
-
schema: string;
|
|
8754
|
-
};
|
|
8755
|
-
issues?: {
|
|
8756
|
-
message: string;
|
|
8757
|
-
path?: (string | number)[];
|
|
8758
|
-
schema?: string;
|
|
8759
|
-
}[];
|
|
8760
|
-
context?: unknown;
|
|
8761
|
-
};
|
|
8762
|
-
};
|
|
8763
|
-
};
|
|
8764
|
-
/** @description Service unavailable */
|
|
8765
|
-
503: {
|
|
8766
|
-
headers: {
|
|
8767
|
-
[name: string]: unknown;
|
|
8768
|
-
};
|
|
8769
|
-
content: {
|
|
8770
|
-
"application/json": {
|
|
8771
|
-
code: string;
|
|
8772
|
-
message: string;
|
|
8773
|
-
links?: {
|
|
8774
|
-
docs: string;
|
|
8775
|
-
schema: string;
|
|
8776
|
-
};
|
|
8777
|
-
issues?: {
|
|
8778
|
-
message: string;
|
|
8779
|
-
path?: (string | number)[];
|
|
8780
|
-
schema?: string;
|
|
8781
|
-
}[];
|
|
8782
|
-
context?: unknown;
|
|
8783
|
-
};
|
|
8784
|
-
};
|
|
8785
|
-
};
|
|
8786
|
-
};
|
|
8787
|
-
};
|
|
8788
|
-
deleteApiTokensById: {
|
|
8789
|
-
parameters: {
|
|
8790
|
-
query?: never;
|
|
8791
|
-
header?: never;
|
|
8792
|
-
path: {
|
|
8793
|
-
id: string;
|
|
8439
|
+
requestBody?: {
|
|
8440
|
+
content: {
|
|
8441
|
+
"application/json": Record<string, never>;
|
|
8794
8442
|
};
|
|
8795
|
-
cookie?: never;
|
|
8796
8443
|
};
|
|
8797
|
-
requestBody?: never;
|
|
8798
8444
|
responses: {
|
|
8799
8445
|
/** @description Successful response */
|
|
8800
8446
|
200: {
|
|
@@ -8913,120 +8559,60 @@ export interface operations {
|
|
|
8913
8559
|
};
|
|
8914
8560
|
issues?: {
|
|
8915
8561
|
message: string;
|
|
8916
|
-
path?: (string | number)[];
|
|
8917
|
-
schema?: string;
|
|
8918
|
-
}[];
|
|
8919
|
-
context?: unknown;
|
|
8920
|
-
};
|
|
8921
|
-
};
|
|
8922
|
-
};
|
|
8923
|
-
/** @description Service unavailable */
|
|
8924
|
-
503: {
|
|
8925
|
-
headers: {
|
|
8926
|
-
[name: string]: unknown;
|
|
8927
|
-
};
|
|
8928
|
-
content: {
|
|
8929
|
-
"application/json": {
|
|
8930
|
-
code: string;
|
|
8931
|
-
message: string;
|
|
8932
|
-
links?: {
|
|
8933
|
-
docs: string;
|
|
8934
|
-
schema: string;
|
|
8935
|
-
};
|
|
8936
|
-
issues?: {
|
|
8937
|
-
message: string;
|
|
8938
|
-
path?: (string | number)[];
|
|
8939
|
-
schema?: string;
|
|
8940
|
-
}[];
|
|
8941
|
-
context?: unknown;
|
|
8942
|
-
};
|
|
8943
|
-
};
|
|
8944
|
-
};
|
|
8945
|
-
};
|
|
8946
|
-
};
|
|
8947
|
-
getApps: {
|
|
8948
|
-
parameters: {
|
|
8949
|
-
query?: {
|
|
8950
|
-
search?: string;
|
|
8951
|
-
category?: string;
|
|
8952
|
-
type?: string;
|
|
8953
|
-
/** @description Filter by whether an app has a connection for the current team */
|
|
8954
|
-
hasConnection?: boolean;
|
|
8955
|
-
limit?: number;
|
|
8956
|
-
page?: number;
|
|
8957
|
-
offset?: number;
|
|
8958
|
-
};
|
|
8959
|
-
header?: never;
|
|
8960
|
-
path?: never;
|
|
8961
|
-
cookie?: never;
|
|
8962
|
-
};
|
|
8963
|
-
requestBody?: never;
|
|
8964
|
-
responses: {
|
|
8965
|
-
/** @description Successful response */
|
|
8966
|
-
200: {
|
|
8967
|
-
headers: {
|
|
8968
|
-
[name: string]: unknown;
|
|
8969
|
-
};
|
|
8970
|
-
content: {
|
|
8971
|
-
"application/json": {
|
|
8972
|
-
data: {
|
|
8973
|
-
id: string;
|
|
8974
|
-
name: string;
|
|
8975
|
-
icon?: string;
|
|
8976
|
-
type: string;
|
|
8977
|
-
category: string;
|
|
8978
|
-
description?: string | null;
|
|
8979
|
-
extension?: {
|
|
8980
|
-
url: string;
|
|
8981
|
-
};
|
|
8982
|
-
flows: {
|
|
8983
|
-
/** Format: uuid */
|
|
8984
|
-
id: string;
|
|
8985
|
-
name: string;
|
|
8986
|
-
/** @enum {string} */
|
|
8987
|
-
type: "push" | "pull";
|
|
8988
|
-
left: string;
|
|
8989
|
-
right: string;
|
|
8990
|
-
}[];
|
|
8991
|
-
extractors: {
|
|
8992
|
-
name: string;
|
|
8993
|
-
/** @constant */
|
|
8994
|
-
sync: "full";
|
|
8995
|
-
visible?: boolean;
|
|
8996
|
-
isDateRangeFetchable?: boolean;
|
|
8997
|
-
/** @enum {string} */
|
|
8998
|
-
dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
|
|
8999
|
-
params?: {
|
|
9000
|
-
/** @constant */
|
|
9001
|
-
type: "object";
|
|
9002
|
-
properties?: {
|
|
9003
|
-
uniqueRef?: {
|
|
9004
|
-
/** @constant */
|
|
9005
|
-
type: "string";
|
|
9006
|
-
};
|
|
9007
|
-
};
|
|
9008
|
-
/** @constant */
|
|
9009
|
-
additionalProperties: false;
|
|
9010
|
-
};
|
|
9011
|
-
urlExample?: string;
|
|
9012
|
-
allowConfirmationCode?: boolean;
|
|
9013
|
-
}[];
|
|
9014
|
-
importers: {
|
|
9015
|
-
docsLink?: string;
|
|
9016
|
-
uniqueRef: string;
|
|
9017
|
-
description: string;
|
|
9018
|
-
types?: string[];
|
|
9019
|
-
}[];
|
|
9020
|
-
}[];
|
|
9021
|
-
pagination: {
|
|
9022
|
-
/** @default 100 */
|
|
9023
|
-
limit: number;
|
|
9024
|
-
/** @default 1 */
|
|
9025
|
-
page: number;
|
|
9026
|
-
total: number;
|
|
9027
|
-
totalPage: number;
|
|
9028
|
-
nextPage?: number;
|
|
8562
|
+
path?: (string | number)[];
|
|
8563
|
+
schema?: string;
|
|
8564
|
+
}[];
|
|
8565
|
+
context?: unknown;
|
|
8566
|
+
};
|
|
8567
|
+
};
|
|
8568
|
+
};
|
|
8569
|
+
/** @description Service unavailable */
|
|
8570
|
+
503: {
|
|
8571
|
+
headers: {
|
|
8572
|
+
[name: string]: unknown;
|
|
8573
|
+
};
|
|
8574
|
+
content: {
|
|
8575
|
+
"application/json": {
|
|
8576
|
+
code: string;
|
|
8577
|
+
message: string;
|
|
8578
|
+
links?: {
|
|
8579
|
+
docs: string;
|
|
8580
|
+
schema: string;
|
|
9029
8581
|
};
|
|
8582
|
+
issues?: {
|
|
8583
|
+
message: string;
|
|
8584
|
+
path?: (string | number)[];
|
|
8585
|
+
schema?: string;
|
|
8586
|
+
}[];
|
|
8587
|
+
context?: unknown;
|
|
8588
|
+
};
|
|
8589
|
+
};
|
|
8590
|
+
};
|
|
8591
|
+
};
|
|
8592
|
+
};
|
|
8593
|
+
postAccountsByIdRecalculateBalances: {
|
|
8594
|
+
parameters: {
|
|
8595
|
+
query?: never;
|
|
8596
|
+
header?: never;
|
|
8597
|
+
path: {
|
|
8598
|
+
id: string;
|
|
8599
|
+
};
|
|
8600
|
+
cookie?: never;
|
|
8601
|
+
};
|
|
8602
|
+
requestBody?: {
|
|
8603
|
+
content: {
|
|
8604
|
+
"application/json": Record<string, never>;
|
|
8605
|
+
};
|
|
8606
|
+
};
|
|
8607
|
+
responses: {
|
|
8608
|
+
/** @description Successful response */
|
|
8609
|
+
200: {
|
|
8610
|
+
headers: {
|
|
8611
|
+
[name: string]: unknown;
|
|
8612
|
+
};
|
|
8613
|
+
content: {
|
|
8614
|
+
"application/json": {
|
|
8615
|
+
success: boolean;
|
|
9030
8616
|
};
|
|
9031
8617
|
};
|
|
9032
8618
|
};
|
|
@@ -9164,9 +8750,12 @@ export interface operations {
|
|
|
9164
8750
|
};
|
|
9165
8751
|
};
|
|
9166
8752
|
};
|
|
9167
|
-
|
|
8753
|
+
getAccountsByIdSummary: {
|
|
9168
8754
|
parameters: {
|
|
9169
|
-
query
|
|
8755
|
+
query: {
|
|
8756
|
+
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
8757
|
+
dateRange: string;
|
|
8758
|
+
};
|
|
9170
8759
|
header?: never;
|
|
9171
8760
|
path: {
|
|
9172
8761
|
id: string;
|
|
@@ -9182,53 +8771,27 @@ export interface operations {
|
|
|
9182
8771
|
};
|
|
9183
8772
|
content: {
|
|
9184
8773
|
"application/json": {
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
8774
|
+
unmatched: {
|
|
8775
|
+
bankRecords: {
|
|
8776
|
+
/** Format: uuid */
|
|
8777
|
+
id: string;
|
|
8778
|
+
centTotal: number;
|
|
8779
|
+
}[];
|
|
8780
|
+
transactions: {
|
|
8781
|
+
/** Format: uuid */
|
|
8782
|
+
id: string;
|
|
8783
|
+
centTotal: number;
|
|
8784
|
+
}[];
|
|
8785
|
+
};
|
|
8786
|
+
totals: {
|
|
8787
|
+
bankAccountBalance: number;
|
|
8788
|
+
bookBalance: number;
|
|
8789
|
+
unclearedTransactionsBalance: number;
|
|
8790
|
+
unmatchedTransactionsBalance: number;
|
|
8791
|
+
unmatchedBankRecordsBalance: number;
|
|
8792
|
+
adjustedBankAccountBalance: number;
|
|
8793
|
+
difference: number;
|
|
9193
8794
|
};
|
|
9194
|
-
flows: {
|
|
9195
|
-
/** Format: uuid */
|
|
9196
|
-
id: string;
|
|
9197
|
-
name: string;
|
|
9198
|
-
/** @enum {string} */
|
|
9199
|
-
type: "push" | "pull";
|
|
9200
|
-
left: string;
|
|
9201
|
-
right: string;
|
|
9202
|
-
}[];
|
|
9203
|
-
extractors: {
|
|
9204
|
-
name: string;
|
|
9205
|
-
/** @constant */
|
|
9206
|
-
sync: "full";
|
|
9207
|
-
visible?: boolean;
|
|
9208
|
-
isDateRangeFetchable?: boolean;
|
|
9209
|
-
/** @enum {string} */
|
|
9210
|
-
dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
|
|
9211
|
-
params?: {
|
|
9212
|
-
/** @constant */
|
|
9213
|
-
type: "object";
|
|
9214
|
-
properties?: {
|
|
9215
|
-
uniqueRef?: {
|
|
9216
|
-
/** @constant */
|
|
9217
|
-
type: "string";
|
|
9218
|
-
};
|
|
9219
|
-
};
|
|
9220
|
-
/** @constant */
|
|
9221
|
-
additionalProperties: false;
|
|
9222
|
-
};
|
|
9223
|
-
urlExample?: string;
|
|
9224
|
-
allowConfirmationCode?: boolean;
|
|
9225
|
-
}[];
|
|
9226
|
-
importers: {
|
|
9227
|
-
docsLink?: string;
|
|
9228
|
-
uniqueRef: string;
|
|
9229
|
-
description: string;
|
|
9230
|
-
types?: string[];
|
|
9231
|
-
}[];
|
|
9232
8795
|
};
|
|
9233
8796
|
};
|
|
9234
8797
|
};
|
|
@@ -9366,18 +8929,12 @@ export interface operations {
|
|
|
9366
8929
|
};
|
|
9367
8930
|
};
|
|
9368
8931
|
};
|
|
9369
|
-
|
|
8932
|
+
getApiTokens: {
|
|
9370
8933
|
parameters: {
|
|
9371
8934
|
query?: {
|
|
9372
8935
|
limit?: number;
|
|
9373
|
-
offset?: number;
|
|
9374
|
-
startDate?: string;
|
|
9375
|
-
endDate?: string;
|
|
9376
|
-
actionType?: string;
|
|
9377
|
-
entityId?: string;
|
|
9378
|
-
entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
9379
|
-
includeIfNoEffects?: boolean;
|
|
9380
8936
|
page?: number;
|
|
8937
|
+
offset?: number;
|
|
9381
8938
|
};
|
|
9382
8939
|
header?: never;
|
|
9383
8940
|
path?: never;
|
|
@@ -9393,42 +8950,20 @@ export interface operations {
|
|
|
9393
8950
|
content: {
|
|
9394
8951
|
"application/json": {
|
|
9395
8952
|
data: {
|
|
8953
|
+
allowedIpCidrs: string[];
|
|
8954
|
+
bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:banking:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:reports:v1" | "partner:statements:v1" | "partner:webhooks:v1")[];
|
|
9396
8955
|
/** Format: uuid */
|
|
9397
8956
|
id: string;
|
|
9398
|
-
/** Format: uuid */
|
|
9399
|
-
tenantId: string;
|
|
9400
|
-
actionType: string;
|
|
9401
|
-
rootEntityType: string | null;
|
|
9402
|
-
rootEntityId: string | null;
|
|
9403
|
-
message: string | null;
|
|
9404
|
-
payload: unknown;
|
|
9405
|
-
userId: string | null;
|
|
9406
|
-
actor: {
|
|
9407
|
-
id: string | null;
|
|
9408
|
-
type: string;
|
|
9409
|
-
name: string | null;
|
|
9410
|
-
email: string | null;
|
|
9411
|
-
};
|
|
9412
8957
|
/**
|
|
9413
8958
|
* Format: date-time
|
|
9414
8959
|
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
9415
8960
|
* @example 2024-01-15T12:30:00.000+00:00
|
|
9416
8961
|
*/
|
|
9417
8962
|
createdAt: string;
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
parentActionId: string | null;
|
|
9423
|
-
effectCounts: {
|
|
9424
|
-
total: number;
|
|
9425
|
-
pending: number;
|
|
9426
|
-
claimed: number;
|
|
9427
|
-
running: number;
|
|
9428
|
-
completed: number;
|
|
9429
|
-
failed: number;
|
|
9430
|
-
deadLetter: number;
|
|
9431
|
-
};
|
|
8963
|
+
hint: string | null;
|
|
8964
|
+
role: string | null;
|
|
8965
|
+
scope: string | null;
|
|
8966
|
+
scopes: ("self:read" | "self:write" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:delete" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:pay" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:pay" | "statements:export" | "statement-layouts:read" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
|
|
9432
8967
|
}[];
|
|
9433
8968
|
pagination: {
|
|
9434
8969
|
/** @default 100 */
|
|
@@ -9576,16 +9111,23 @@ export interface operations {
|
|
|
9576
9111
|
};
|
|
9577
9112
|
};
|
|
9578
9113
|
};
|
|
9579
|
-
|
|
9114
|
+
postApiTokens: {
|
|
9580
9115
|
parameters: {
|
|
9581
9116
|
query?: never;
|
|
9582
9117
|
header?: never;
|
|
9583
|
-
path
|
|
9584
|
-
id: string;
|
|
9585
|
-
};
|
|
9118
|
+
path?: never;
|
|
9586
9119
|
cookie?: never;
|
|
9587
9120
|
};
|
|
9588
|
-
requestBody?:
|
|
9121
|
+
requestBody?: {
|
|
9122
|
+
content: {
|
|
9123
|
+
"application/json": {
|
|
9124
|
+
/** @description Optional IPv4 or IPv6 addresses and CIDRs allowed to use this token. Individual addresses are normalized to /32 or /128. Omit or send an empty array for no IP restriction. */
|
|
9125
|
+
allowedIpCidrs?: string[];
|
|
9126
|
+
/** @description Optional capability restrictions for a partner-owned API token. Omit for unrestricted partner API access. Rejected for ordinary teams. */
|
|
9127
|
+
bundles?: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:banking:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:reports:v1" | "partner:statements:v1" | "partner:webhooks:v1")[];
|
|
9128
|
+
};
|
|
9129
|
+
};
|
|
9130
|
+
};
|
|
9589
9131
|
responses: {
|
|
9590
9132
|
/** @description Successful response */
|
|
9591
9133
|
200: {
|
|
@@ -9594,42 +9136,21 @@ export interface operations {
|
|
|
9594
9136
|
};
|
|
9595
9137
|
content: {
|
|
9596
9138
|
"application/json": {
|
|
9139
|
+
allowedIpCidrs: string[];
|
|
9140
|
+
bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:banking:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:reports:v1" | "partner:statements:v1" | "partner:webhooks:v1")[];
|
|
9597
9141
|
/** Format: uuid */
|
|
9598
9142
|
id: string;
|
|
9599
|
-
/** Format: uuid */
|
|
9600
|
-
tenantId: string;
|
|
9601
|
-
actionType: string;
|
|
9602
|
-
rootEntityType: string | null;
|
|
9603
|
-
rootEntityId: string | null;
|
|
9604
|
-
message: string | null;
|
|
9605
|
-
payload: unknown;
|
|
9606
|
-
userId: string | null;
|
|
9607
|
-
actor: {
|
|
9608
|
-
id: string | null;
|
|
9609
|
-
type: string;
|
|
9610
|
-
name: string | null;
|
|
9611
|
-
email: string | null;
|
|
9612
|
-
};
|
|
9613
9143
|
/**
|
|
9614
9144
|
* Format: date-time
|
|
9615
9145
|
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
9616
9146
|
* @example 2024-01-15T12:30:00.000+00:00
|
|
9617
9147
|
*/
|
|
9618
9148
|
createdAt: string;
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
effectCounts: {
|
|
9625
|
-
total: number;
|
|
9626
|
-
pending: number;
|
|
9627
|
-
claimed: number;
|
|
9628
|
-
running: number;
|
|
9629
|
-
completed: number;
|
|
9630
|
-
failed: number;
|
|
9631
|
-
deadLetter: number;
|
|
9632
|
-
};
|
|
9149
|
+
hint: string | null;
|
|
9150
|
+
role: string | null;
|
|
9151
|
+
scope: string | null;
|
|
9152
|
+
scopes: ("self:read" | "self:write" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:delete" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:pay" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:pay" | "statements:export" | "statement-layouts:read" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
|
|
9153
|
+
apiToken: string;
|
|
9633
9154
|
};
|
|
9634
9155
|
};
|
|
9635
9156
|
};
|
|
@@ -9767,20 +9288,13 @@ export interface operations {
|
|
|
9767
9288
|
};
|
|
9768
9289
|
};
|
|
9769
9290
|
};
|
|
9770
|
-
|
|
9291
|
+
getApiTokensById: {
|
|
9771
9292
|
parameters: {
|
|
9772
|
-
query?:
|
|
9773
|
-
limit?: number;
|
|
9774
|
-
offset?: number;
|
|
9775
|
-
actionId?: string;
|
|
9776
|
-
entityId?: string;
|
|
9777
|
-
entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
9778
|
-
status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
9779
|
-
effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "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";
|
|
9780
|
-
page?: number;
|
|
9781
|
-
};
|
|
9293
|
+
query?: never;
|
|
9782
9294
|
header?: never;
|
|
9783
|
-
path
|
|
9295
|
+
path: {
|
|
9296
|
+
id: string;
|
|
9297
|
+
};
|
|
9784
9298
|
cookie?: never;
|
|
9785
9299
|
};
|
|
9786
9300
|
requestBody?: never;
|
|
@@ -9792,196 +9306,180 @@ export interface operations {
|
|
|
9792
9306
|
};
|
|
9793
9307
|
content: {
|
|
9794
9308
|
"application/json": {
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
|
|
9819
|
-
|
|
9820
|
-
|
|
9821
|
-
|
|
9822
|
-
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
|
|
9883
|
-
|
|
9884
|
-
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
|
|
9888
|
-
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
|
|
9892
|
-
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
|
|
9896
|
-
date: string;
|
|
9897
|
-
description: string;
|
|
9898
|
-
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
9899
|
-
currency: string;
|
|
9900
|
-
/** @enum {string} */
|
|
9901
|
-
type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
|
|
9902
|
-
isOpeningBalance: boolean;
|
|
9903
|
-
contact?: {
|
|
9904
|
-
/** Format: uuid */
|
|
9905
|
-
id: string;
|
|
9906
|
-
name?: string | null;
|
|
9907
|
-
firstName?: string | null;
|
|
9908
|
-
uniqueRef?: string | null;
|
|
9909
|
-
shortRef?: string | null;
|
|
9910
|
-
email?: string | null;
|
|
9911
|
-
/** @enum {string} */
|
|
9912
|
-
type: "owner" | "vendor";
|
|
9913
|
-
} | null;
|
|
9914
|
-
connection?: {
|
|
9915
|
-
/** Format: uuid */
|
|
9916
|
-
id: string;
|
|
9917
|
-
name: string;
|
|
9918
|
-
/** @enum {string} */
|
|
9919
|
-
status: "active" | "inactive";
|
|
9920
|
-
uniqueRef?: string | null;
|
|
9921
|
-
appId: string;
|
|
9922
|
-
} | null;
|
|
9923
|
-
uniqueRef?: string | null;
|
|
9924
|
-
shortRef?: string | null;
|
|
9925
|
-
recurringTemplate?: {
|
|
9926
|
-
id: string;
|
|
9927
|
-
} | null;
|
|
9928
|
-
};
|
|
9929
|
-
} | {
|
|
9930
|
-
/** @constant */
|
|
9931
|
-
type: "other";
|
|
9932
|
-
data: {
|
|
9933
|
-
/** Format: uuid */
|
|
9934
|
-
id: string;
|
|
9935
|
-
type: string;
|
|
9936
|
-
name: string | null;
|
|
9937
|
-
};
|
|
9938
|
-
}) | null;
|
|
9939
|
-
/** @enum {string} */
|
|
9940
|
-
status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
9941
|
-
priority: number;
|
|
9942
|
-
retryCount: number;
|
|
9943
|
-
maxRetries: number;
|
|
9944
|
-
sequence: number;
|
|
9945
|
-
claimedAt: string | null;
|
|
9946
|
-
claimedBy: string | null;
|
|
9947
|
-
completedAt: string | null;
|
|
9948
|
-
lastAttemptAt: string | null;
|
|
9949
|
-
lastError: string | null;
|
|
9950
|
-
latestAttempt: {
|
|
9951
|
-
/** Format: uuid */
|
|
9952
|
-
id: string;
|
|
9953
|
-
/** @enum {string} */
|
|
9954
|
-
status: "running" | "completed" | "failed" | "skipped_locked";
|
|
9955
|
-
attemptNum: number;
|
|
9956
|
-
/**
|
|
9957
|
-
* Format: date-time
|
|
9958
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
9959
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
9960
|
-
*/
|
|
9961
|
-
startedAt: string;
|
|
9962
|
-
finishedAt: string | null;
|
|
9963
|
-
workerId: string | null;
|
|
9964
|
-
resultCode: string | null;
|
|
9965
|
-
resultCategory: string | null;
|
|
9966
|
-
retryable: boolean | null;
|
|
9967
|
-
errorMessage: string | null;
|
|
9968
|
-
} | null;
|
|
9969
|
-
/**
|
|
9970
|
-
* Format: date-time
|
|
9971
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
9972
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
9973
|
-
*/
|
|
9974
|
-
createdAt: string;
|
|
9309
|
+
allowedIpCidrs: string[];
|
|
9310
|
+
bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:banking:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:reports:v1" | "partner:statements:v1" | "partner:webhooks:v1")[];
|
|
9311
|
+
/** Format: uuid */
|
|
9312
|
+
id: string;
|
|
9313
|
+
/**
|
|
9314
|
+
* Format: date-time
|
|
9315
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
9316
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
9317
|
+
*/
|
|
9318
|
+
createdAt: string;
|
|
9319
|
+
hint: string | null;
|
|
9320
|
+
role: string | null;
|
|
9321
|
+
scope: string | null;
|
|
9322
|
+
scopes: ("self:read" | "self:write" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:delete" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:pay" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:pay" | "statements:export" | "statement-layouts:read" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
|
|
9323
|
+
apiToken: string;
|
|
9324
|
+
};
|
|
9325
|
+
};
|
|
9326
|
+
};
|
|
9327
|
+
/** @description Bad request */
|
|
9328
|
+
400: {
|
|
9329
|
+
headers: {
|
|
9330
|
+
[name: string]: unknown;
|
|
9331
|
+
};
|
|
9332
|
+
content: {
|
|
9333
|
+
"application/json": {
|
|
9334
|
+
code: string;
|
|
9335
|
+
message: string;
|
|
9336
|
+
links?: {
|
|
9337
|
+
docs: string;
|
|
9338
|
+
schema: string;
|
|
9339
|
+
};
|
|
9340
|
+
issues?: {
|
|
9341
|
+
message: string;
|
|
9342
|
+
path?: (string | number)[];
|
|
9343
|
+
schema?: string;
|
|
9344
|
+
}[];
|
|
9345
|
+
context?: unknown;
|
|
9346
|
+
};
|
|
9347
|
+
};
|
|
9348
|
+
};
|
|
9349
|
+
/** @description Unauthorized */
|
|
9350
|
+
401: {
|
|
9351
|
+
headers: {
|
|
9352
|
+
[name: string]: unknown;
|
|
9353
|
+
};
|
|
9354
|
+
content: {
|
|
9355
|
+
"application/json": {
|
|
9356
|
+
code: string;
|
|
9357
|
+
message: string;
|
|
9358
|
+
links?: {
|
|
9359
|
+
docs: string;
|
|
9360
|
+
schema: string;
|
|
9361
|
+
};
|
|
9362
|
+
issues?: {
|
|
9363
|
+
message: string;
|
|
9364
|
+
path?: (string | number)[];
|
|
9365
|
+
schema?: string;
|
|
9366
|
+
}[];
|
|
9367
|
+
context?: unknown;
|
|
9368
|
+
};
|
|
9369
|
+
};
|
|
9370
|
+
};
|
|
9371
|
+
/** @description Forbidden */
|
|
9372
|
+
403: {
|
|
9373
|
+
headers: {
|
|
9374
|
+
[name: string]: unknown;
|
|
9375
|
+
};
|
|
9376
|
+
content: {
|
|
9377
|
+
"application/json": {
|
|
9378
|
+
code: string;
|
|
9379
|
+
message: string;
|
|
9380
|
+
links?: {
|
|
9381
|
+
docs: string;
|
|
9382
|
+
schema: string;
|
|
9383
|
+
};
|
|
9384
|
+
issues?: {
|
|
9385
|
+
message: string;
|
|
9386
|
+
path?: (string | number)[];
|
|
9387
|
+
schema?: string;
|
|
9388
|
+
}[];
|
|
9389
|
+
context?: unknown;
|
|
9390
|
+
};
|
|
9391
|
+
};
|
|
9392
|
+
};
|
|
9393
|
+
/** @description Not found */
|
|
9394
|
+
404: {
|
|
9395
|
+
headers: {
|
|
9396
|
+
[name: string]: unknown;
|
|
9397
|
+
};
|
|
9398
|
+
content: {
|
|
9399
|
+
"application/json": {
|
|
9400
|
+
code: string;
|
|
9401
|
+
message: string;
|
|
9402
|
+
links?: {
|
|
9403
|
+
docs: string;
|
|
9404
|
+
schema: string;
|
|
9405
|
+
};
|
|
9406
|
+
issues?: {
|
|
9407
|
+
message: string;
|
|
9408
|
+
path?: (string | number)[];
|
|
9409
|
+
schema?: string;
|
|
9975
9410
|
}[];
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9411
|
+
context?: unknown;
|
|
9412
|
+
};
|
|
9413
|
+
};
|
|
9414
|
+
};
|
|
9415
|
+
/** @description Internal server error */
|
|
9416
|
+
500: {
|
|
9417
|
+
headers: {
|
|
9418
|
+
[name: string]: unknown;
|
|
9419
|
+
};
|
|
9420
|
+
content: {
|
|
9421
|
+
"application/json": {
|
|
9422
|
+
code: string;
|
|
9423
|
+
message: string;
|
|
9424
|
+
links?: {
|
|
9425
|
+
docs: string;
|
|
9426
|
+
schema: string;
|
|
9984
9427
|
};
|
|
9428
|
+
issues?: {
|
|
9429
|
+
message: string;
|
|
9430
|
+
path?: (string | number)[];
|
|
9431
|
+
schema?: string;
|
|
9432
|
+
}[];
|
|
9433
|
+
context?: unknown;
|
|
9434
|
+
};
|
|
9435
|
+
};
|
|
9436
|
+
};
|
|
9437
|
+
/** @description Service unavailable */
|
|
9438
|
+
503: {
|
|
9439
|
+
headers: {
|
|
9440
|
+
[name: string]: unknown;
|
|
9441
|
+
};
|
|
9442
|
+
content: {
|
|
9443
|
+
"application/json": {
|
|
9444
|
+
code: string;
|
|
9445
|
+
message: string;
|
|
9446
|
+
links?: {
|
|
9447
|
+
docs: string;
|
|
9448
|
+
schema: string;
|
|
9449
|
+
};
|
|
9450
|
+
issues?: {
|
|
9451
|
+
message: string;
|
|
9452
|
+
path?: (string | number)[];
|
|
9453
|
+
schema?: string;
|
|
9454
|
+
}[];
|
|
9455
|
+
context?: unknown;
|
|
9456
|
+
};
|
|
9457
|
+
};
|
|
9458
|
+
};
|
|
9459
|
+
};
|
|
9460
|
+
};
|
|
9461
|
+
deleteApiTokensById: {
|
|
9462
|
+
parameters: {
|
|
9463
|
+
query?: never;
|
|
9464
|
+
header?: never;
|
|
9465
|
+
path: {
|
|
9466
|
+
id: string;
|
|
9467
|
+
};
|
|
9468
|
+
cookie?: never;
|
|
9469
|
+
};
|
|
9470
|
+
requestBody?: never;
|
|
9471
|
+
responses: {
|
|
9472
|
+
/** @description Successful response */
|
|
9473
|
+
200: {
|
|
9474
|
+
headers: {
|
|
9475
|
+
[name: string]: unknown;
|
|
9476
|
+
};
|
|
9477
|
+
content: {
|
|
9478
|
+
"application/json": {
|
|
9479
|
+
/** Format: uuid */
|
|
9480
|
+
id: string;
|
|
9481
|
+
/** @constant */
|
|
9482
|
+
status: "deleted";
|
|
9985
9483
|
};
|
|
9986
9484
|
};
|
|
9987
9485
|
};
|
|
@@ -10119,21 +9617,17 @@ export interface operations {
|
|
|
10119
9617
|
};
|
|
10120
9618
|
};
|
|
10121
9619
|
};
|
|
10122
|
-
|
|
9620
|
+
getApps: {
|
|
10123
9621
|
parameters: {
|
|
10124
9622
|
query?: {
|
|
9623
|
+
search?: string;
|
|
9624
|
+
category?: string;
|
|
9625
|
+
type?: string;
|
|
9626
|
+
/** @description Filter by whether an app has a connection for the current team */
|
|
9627
|
+
hasConnection?: boolean;
|
|
10125
9628
|
limit?: number;
|
|
10126
|
-
offset?: number;
|
|
10127
|
-
actionId?: string;
|
|
10128
|
-
effectId?: string;
|
|
10129
|
-
mutationId?: string;
|
|
10130
|
-
journalEntryId?: string;
|
|
10131
|
-
operation?: "insert" | "update" | "delete";
|
|
10132
|
-
rootEntityType?: string;
|
|
10133
|
-
rootEntityId?: string;
|
|
10134
|
-
startAt?: string;
|
|
10135
|
-
endAt?: string;
|
|
10136
9629
|
page?: number;
|
|
9630
|
+
offset?: number;
|
|
10137
9631
|
};
|
|
10138
9632
|
header?: never;
|
|
10139
9633
|
path?: never;
|
|
@@ -10149,43 +9643,53 @@ export interface operations {
|
|
|
10149
9643
|
content: {
|
|
10150
9644
|
"application/json": {
|
|
10151
9645
|
data: {
|
|
10152
|
-
/** Format: uuid */
|
|
10153
9646
|
id: string;
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
9647
|
+
name: string;
|
|
9648
|
+
icon?: string;
|
|
9649
|
+
type: string;
|
|
9650
|
+
category: string;
|
|
9651
|
+
description?: string | null;
|
|
9652
|
+
extension?: {
|
|
9653
|
+
url: string;
|
|
9654
|
+
};
|
|
9655
|
+
flows: {
|
|
9656
|
+
/** Format: uuid */
|
|
9657
|
+
id: string;
|
|
9658
|
+
name: string;
|
|
9659
|
+
/** @enum {string} */
|
|
9660
|
+
type: "push" | "pull";
|
|
9661
|
+
left: string;
|
|
9662
|
+
right: string;
|
|
9663
|
+
}[];
|
|
9664
|
+
extractors: {
|
|
9665
|
+
name: string;
|
|
9666
|
+
/** @constant */
|
|
9667
|
+
sync: "full";
|
|
9668
|
+
visible?: boolean;
|
|
9669
|
+
isDateRangeFetchable?: boolean;
|
|
9670
|
+
/** @enum {string} */
|
|
9671
|
+
dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
|
|
9672
|
+
params?: {
|
|
9673
|
+
/** @constant */
|
|
9674
|
+
type: "object";
|
|
9675
|
+
properties?: {
|
|
9676
|
+
uniqueRef?: {
|
|
9677
|
+
/** @constant */
|
|
9678
|
+
type: "string";
|
|
9679
|
+
};
|
|
9680
|
+
};
|
|
9681
|
+
/** @constant */
|
|
9682
|
+
additionalProperties: false;
|
|
9683
|
+
};
|
|
9684
|
+
urlExample?: string;
|
|
9685
|
+
allowConfirmationCode?: boolean;
|
|
9686
|
+
}[];
|
|
9687
|
+
importers: {
|
|
9688
|
+
docsLink?: string;
|
|
9689
|
+
uniqueRef: string;
|
|
9690
|
+
description: string;
|
|
9691
|
+
types?: string[];
|
|
9692
|
+
}[];
|
|
10189
9693
|
}[];
|
|
10190
9694
|
pagination: {
|
|
10191
9695
|
/** @default 100 */
|
|
@@ -10333,23 +9837,13 @@ export interface operations {
|
|
|
10333
9837
|
};
|
|
10334
9838
|
};
|
|
10335
9839
|
};
|
|
10336
|
-
|
|
9840
|
+
getApp: {
|
|
10337
9841
|
parameters: {
|
|
10338
|
-
query?:
|
|
10339
|
-
limit?: number;
|
|
10340
|
-
offset?: number;
|
|
10341
|
-
actionId?: string;
|
|
10342
|
-
effectId?: string;
|
|
10343
|
-
entityType?: string;
|
|
10344
|
-
entityId?: string;
|
|
10345
|
-
op?: string;
|
|
10346
|
-
outcome?: string;
|
|
10347
|
-
startAt?: string;
|
|
10348
|
-
endAt?: string;
|
|
10349
|
-
page?: number;
|
|
10350
|
-
};
|
|
9842
|
+
query?: never;
|
|
10351
9843
|
header?: never;
|
|
10352
|
-
path
|
|
9844
|
+
path: {
|
|
9845
|
+
id: string;
|
|
9846
|
+
};
|
|
10353
9847
|
cookie?: never;
|
|
10354
9848
|
};
|
|
10355
9849
|
requestBody?: never;
|
|
@@ -10361,64 +9855,53 @@ export interface operations {
|
|
|
10361
9855
|
};
|
|
10362
9856
|
content: {
|
|
10363
9857
|
"application/json": {
|
|
10364
|
-
|
|
9858
|
+
id: string;
|
|
9859
|
+
name: string;
|
|
9860
|
+
icon?: string;
|
|
9861
|
+
type: string;
|
|
9862
|
+
category: string;
|
|
9863
|
+
description?: string | null;
|
|
9864
|
+
extension?: {
|
|
9865
|
+
url: string;
|
|
9866
|
+
};
|
|
9867
|
+
flows: {
|
|
10365
9868
|
/** Format: uuid */
|
|
10366
9869
|
id: string;
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
};
|
|
10390
|
-
/**
|
|
10391
|
-
* Format: date-time
|
|
10392
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10393
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
10394
|
-
*/
|
|
10395
|
-
createdAt: string;
|
|
10396
|
-
action: {
|
|
10397
|
-
/** Format: uuid */
|
|
10398
|
-
id: string;
|
|
10399
|
-
actionType: string;
|
|
10400
|
-
source: string | null;
|
|
10401
|
-
apiVersion: string;
|
|
10402
|
-
requestId: string | null;
|
|
10403
|
-
traceId: string | null;
|
|
10404
|
-
parentActionId: string | null;
|
|
10405
|
-
actor: {
|
|
10406
|
-
id: string | null;
|
|
10407
|
-
type: string;
|
|
10408
|
-
name: string | null;
|
|
10409
|
-
email: string | null;
|
|
9870
|
+
name: string;
|
|
9871
|
+
/** @enum {string} */
|
|
9872
|
+
type: "push" | "pull";
|
|
9873
|
+
left: string;
|
|
9874
|
+
right: string;
|
|
9875
|
+
}[];
|
|
9876
|
+
extractors: {
|
|
9877
|
+
name: string;
|
|
9878
|
+
/** @constant */
|
|
9879
|
+
sync: "full";
|
|
9880
|
+
visible?: boolean;
|
|
9881
|
+
isDateRangeFetchable?: boolean;
|
|
9882
|
+
/** @enum {string} */
|
|
9883
|
+
dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
|
|
9884
|
+
params?: {
|
|
9885
|
+
/** @constant */
|
|
9886
|
+
type: "object";
|
|
9887
|
+
properties?: {
|
|
9888
|
+
uniqueRef?: {
|
|
9889
|
+
/** @constant */
|
|
9890
|
+
type: "string";
|
|
9891
|
+
};
|
|
10410
9892
|
};
|
|
9893
|
+
/** @constant */
|
|
9894
|
+
additionalProperties: false;
|
|
10411
9895
|
};
|
|
9896
|
+
urlExample?: string;
|
|
9897
|
+
allowConfirmationCode?: boolean;
|
|
9898
|
+
}[];
|
|
9899
|
+
importers: {
|
|
9900
|
+
docsLink?: string;
|
|
9901
|
+
uniqueRef: string;
|
|
9902
|
+
description: string;
|
|
9903
|
+
types?: string[];
|
|
10412
9904
|
}[];
|
|
10413
|
-
pagination: {
|
|
10414
|
-
/** @default 100 */
|
|
10415
|
-
limit: number;
|
|
10416
|
-
/** @default 1 */
|
|
10417
|
-
page: number;
|
|
10418
|
-
total: number;
|
|
10419
|
-
totalPage: number;
|
|
10420
|
-
nextPage?: number;
|
|
10421
|
-
};
|
|
10422
9905
|
};
|
|
10423
9906
|
};
|
|
10424
9907
|
};
|
|
@@ -10556,22 +10039,18 @@ export interface operations {
|
|
|
10556
10039
|
};
|
|
10557
10040
|
};
|
|
10558
10041
|
};
|
|
10559
|
-
|
|
10042
|
+
getAuditActions: {
|
|
10560
10043
|
parameters: {
|
|
10561
|
-
query
|
|
10562
|
-
rootEntityType: string;
|
|
10563
|
-
rootEntityId: string;
|
|
10564
|
-
/** @description Timeline item type filter. Accepts repeated `types=value` query params or one comma-separated string. */
|
|
10565
|
-
types?: ("action" | "effect" | "effect_attempt" | "mutation" | "journal_delta")[];
|
|
10566
|
-
/** @description Temporal boundary string parsed by the API. Prefer `YYYY-MM-DD` for day-granularity filters or an ISO 8601 timestamp for exact time bounds. */
|
|
10567
|
-
from?: string;
|
|
10568
|
-
/** @description Temporal boundary string parsed by the API. Prefer `YYYY-MM-DD` for day-granularity filters or an ISO 8601 timestamp for exact time bounds. */
|
|
10569
|
-
to?: string;
|
|
10570
|
-
/** @description When true, include diff payloads in audit timeline journal delta entries. */
|
|
10571
|
-
includeDiff?: boolean;
|
|
10044
|
+
query?: {
|
|
10572
10045
|
limit?: number;
|
|
10573
|
-
|
|
10574
|
-
|
|
10046
|
+
offset?: number;
|
|
10047
|
+
startDate?: string;
|
|
10048
|
+
endDate?: string;
|
|
10049
|
+
actionType?: string;
|
|
10050
|
+
entityId?: string;
|
|
10051
|
+
entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
10052
|
+
includeIfNoEffects?: boolean;
|
|
10053
|
+
page?: number;
|
|
10575
10054
|
};
|
|
10576
10055
|
header?: never;
|
|
10577
10056
|
path?: never;
|
|
@@ -10586,180 +10065,243 @@ export interface operations {
|
|
|
10586
10065
|
};
|
|
10587
10066
|
content: {
|
|
10588
10067
|
"application/json": {
|
|
10589
|
-
data:
|
|
10590
|
-
/** @constant */
|
|
10591
|
-
type: "action";
|
|
10592
|
-
/** Format: uuid */
|
|
10593
|
-
id: string;
|
|
10594
|
-
/**
|
|
10595
|
-
* Format: date-time
|
|
10596
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10597
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
10598
|
-
*/
|
|
10599
|
-
timestamp: string;
|
|
10600
|
-
actionId: string | null;
|
|
10601
|
-
effectId: string | null;
|
|
10602
|
-
mutationId: string | null;
|
|
10603
|
-
rootEntityType: string | null;
|
|
10604
|
-
rootEntityId: string | null;
|
|
10605
|
-
data: {
|
|
10606
|
-
actionType: string;
|
|
10607
|
-
message: string | null;
|
|
10608
|
-
payload: unknown | null;
|
|
10609
|
-
source: string | null;
|
|
10610
|
-
apiVersion: string;
|
|
10611
|
-
requestId: string | null;
|
|
10612
|
-
traceId: string | null;
|
|
10613
|
-
parentActionId: string | null;
|
|
10614
|
-
actor: {
|
|
10615
|
-
id: string | null;
|
|
10616
|
-
type: string;
|
|
10617
|
-
name: string | null;
|
|
10618
|
-
email: string | null;
|
|
10619
|
-
};
|
|
10620
|
-
};
|
|
10621
|
-
} | {
|
|
10622
|
-
/** @constant */
|
|
10623
|
-
type: "effect";
|
|
10624
|
-
/** Format: uuid */
|
|
10625
|
-
id: string;
|
|
10626
|
-
/**
|
|
10627
|
-
* Format: date-time
|
|
10628
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10629
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
10630
|
-
*/
|
|
10631
|
-
timestamp: string;
|
|
10632
|
-
actionId: string | null;
|
|
10633
|
-
effectId: string | null;
|
|
10634
|
-
mutationId: string | null;
|
|
10635
|
-
rootEntityType: string | null;
|
|
10636
|
-
rootEntityId: string | null;
|
|
10637
|
-
data: {
|
|
10638
|
-
effectType: string;
|
|
10639
|
-
status: string;
|
|
10640
|
-
payload: unknown;
|
|
10641
|
-
entityType: string | null;
|
|
10642
|
-
entityId: string | null;
|
|
10643
|
-
priority: number;
|
|
10644
|
-
retryCount: number;
|
|
10645
|
-
maxRetries: number;
|
|
10646
|
-
claimedAt: string | null;
|
|
10647
|
-
claimedBy: string | null;
|
|
10648
|
-
completedAt: string | null;
|
|
10649
|
-
lastAttemptAt: string | null;
|
|
10650
|
-
lastError: string | null;
|
|
10651
|
-
};
|
|
10652
|
-
} | {
|
|
10653
|
-
/** @constant */
|
|
10654
|
-
type: "effect_attempt";
|
|
10068
|
+
data: {
|
|
10655
10069
|
/** Format: uuid */
|
|
10656
10070
|
id: string;
|
|
10657
|
-
/**
|
|
10658
|
-
* Format: date-time
|
|
10659
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10660
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
10661
|
-
*/
|
|
10662
|
-
timestamp: string;
|
|
10663
|
-
actionId: string | null;
|
|
10664
|
-
effectId: string | null;
|
|
10665
|
-
mutationId: string | null;
|
|
10666
|
-
rootEntityType: string | null;
|
|
10667
|
-
rootEntityId: string | null;
|
|
10668
|
-
data: {
|
|
10669
|
-
/** @enum {string} */
|
|
10670
|
-
status: "running" | "completed" | "failed" | "skipped_locked";
|
|
10671
|
-
attemptNum: number;
|
|
10672
|
-
/**
|
|
10673
|
-
* Format: date-time
|
|
10674
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10675
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
10676
|
-
*/
|
|
10677
|
-
startedAt: string;
|
|
10678
|
-
finishedAt: string | null;
|
|
10679
|
-
workerId: string | null;
|
|
10680
|
-
resultCode: string | null;
|
|
10681
|
-
resultCategory: string | null;
|
|
10682
|
-
retryable: boolean | null;
|
|
10683
|
-
errorMessage: string | null;
|
|
10684
|
-
};
|
|
10685
|
-
} | {
|
|
10686
|
-
/** @constant */
|
|
10687
|
-
type: "mutation";
|
|
10688
10071
|
/** Format: uuid */
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
* Format: date-time
|
|
10692
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10693
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
10694
|
-
*/
|
|
10695
|
-
timestamp: string;
|
|
10696
|
-
actionId: string | null;
|
|
10697
|
-
effectId: string | null;
|
|
10698
|
-
mutationId: string | null;
|
|
10072
|
+
tenantId: string;
|
|
10073
|
+
actionType: string;
|
|
10699
10074
|
rootEntityType: string | null;
|
|
10700
10075
|
rootEntityId: string | null;
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
changedKeys: string[];
|
|
10710
|
-
reasonCode: string;
|
|
10711
|
-
outcome: string;
|
|
10712
|
-
context: {
|
|
10713
|
-
[key: string]: unknown;
|
|
10714
|
-
} | null;
|
|
10715
|
-
} & {
|
|
10716
|
-
[key: string]: unknown;
|
|
10717
|
-
};
|
|
10076
|
+
message: string | null;
|
|
10077
|
+
payload: unknown;
|
|
10078
|
+
userId: string | null;
|
|
10079
|
+
actor: {
|
|
10080
|
+
id: string | null;
|
|
10081
|
+
type: string;
|
|
10082
|
+
name: string | null;
|
|
10083
|
+
email: string | null;
|
|
10718
10084
|
};
|
|
10719
|
-
} | {
|
|
10720
|
-
/** @constant */
|
|
10721
|
-
type: "journal_delta";
|
|
10722
|
-
/** Format: uuid */
|
|
10723
|
-
id: string;
|
|
10724
10085
|
/**
|
|
10725
10086
|
* Format: date-time
|
|
10726
10087
|
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10727
10088
|
* @example 2024-01-15T12:30:00.000+00:00
|
|
10728
10089
|
*/
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
accountIdBefore: string | null;
|
|
10744
|
-
accountIdAfter: string | null;
|
|
10745
|
-
centTotalBefore: number | null;
|
|
10746
|
-
centTotalAfter: number | null;
|
|
10747
|
-
txnAtBefore: string | null;
|
|
10748
|
-
txnAtAfter: string | null;
|
|
10749
|
-
statusBefore: string | null;
|
|
10750
|
-
statusAfter: string | null;
|
|
10751
|
-
partyBefore: string | null;
|
|
10752
|
-
partyAfter: string | null;
|
|
10753
|
-
listingOwnershipPeriodIdBefore: string | null;
|
|
10754
|
-
listingOwnershipPeriodIdAfter: string | null;
|
|
10755
|
-
attachedToOwnerStatementIdBefore: string | null;
|
|
10756
|
-
attachedToOwnerStatementIdAfter: string | null;
|
|
10090
|
+
createdAt: string;
|
|
10091
|
+
source: string | null;
|
|
10092
|
+
apiVersion: string;
|
|
10093
|
+
requestId: string | null;
|
|
10094
|
+
traceId: string | null;
|
|
10095
|
+
parentActionId: string | null;
|
|
10096
|
+
effectCounts: {
|
|
10097
|
+
total: number;
|
|
10098
|
+
pending: number;
|
|
10099
|
+
claimed: number;
|
|
10100
|
+
running: number;
|
|
10101
|
+
completed: number;
|
|
10102
|
+
failed: number;
|
|
10103
|
+
deadLetter: number;
|
|
10757
10104
|
};
|
|
10758
|
-
}
|
|
10759
|
-
|
|
10105
|
+
}[];
|
|
10106
|
+
pagination: {
|
|
10107
|
+
/** @default 100 */
|
|
10760
10108
|
limit: number;
|
|
10761
|
-
|
|
10762
|
-
|
|
10109
|
+
/** @default 1 */
|
|
10110
|
+
page: number;
|
|
10111
|
+
total: number;
|
|
10112
|
+
totalPage: number;
|
|
10113
|
+
nextPage?: number;
|
|
10114
|
+
};
|
|
10115
|
+
};
|
|
10116
|
+
};
|
|
10117
|
+
};
|
|
10118
|
+
/** @description Bad request */
|
|
10119
|
+
400: {
|
|
10120
|
+
headers: {
|
|
10121
|
+
[name: string]: unknown;
|
|
10122
|
+
};
|
|
10123
|
+
content: {
|
|
10124
|
+
"application/json": {
|
|
10125
|
+
code: string;
|
|
10126
|
+
message: string;
|
|
10127
|
+
links?: {
|
|
10128
|
+
docs: string;
|
|
10129
|
+
schema: string;
|
|
10130
|
+
};
|
|
10131
|
+
issues?: {
|
|
10132
|
+
message: string;
|
|
10133
|
+
path?: (string | number)[];
|
|
10134
|
+
schema?: string;
|
|
10135
|
+
}[];
|
|
10136
|
+
context?: unknown;
|
|
10137
|
+
};
|
|
10138
|
+
};
|
|
10139
|
+
};
|
|
10140
|
+
/** @description Unauthorized */
|
|
10141
|
+
401: {
|
|
10142
|
+
headers: {
|
|
10143
|
+
[name: string]: unknown;
|
|
10144
|
+
};
|
|
10145
|
+
content: {
|
|
10146
|
+
"application/json": {
|
|
10147
|
+
code: string;
|
|
10148
|
+
message: string;
|
|
10149
|
+
links?: {
|
|
10150
|
+
docs: string;
|
|
10151
|
+
schema: string;
|
|
10152
|
+
};
|
|
10153
|
+
issues?: {
|
|
10154
|
+
message: string;
|
|
10155
|
+
path?: (string | number)[];
|
|
10156
|
+
schema?: string;
|
|
10157
|
+
}[];
|
|
10158
|
+
context?: unknown;
|
|
10159
|
+
};
|
|
10160
|
+
};
|
|
10161
|
+
};
|
|
10162
|
+
/** @description Forbidden */
|
|
10163
|
+
403: {
|
|
10164
|
+
headers: {
|
|
10165
|
+
[name: string]: unknown;
|
|
10166
|
+
};
|
|
10167
|
+
content: {
|
|
10168
|
+
"application/json": {
|
|
10169
|
+
code: string;
|
|
10170
|
+
message: string;
|
|
10171
|
+
links?: {
|
|
10172
|
+
docs: string;
|
|
10173
|
+
schema: string;
|
|
10174
|
+
};
|
|
10175
|
+
issues?: {
|
|
10176
|
+
message: string;
|
|
10177
|
+
path?: (string | number)[];
|
|
10178
|
+
schema?: string;
|
|
10179
|
+
}[];
|
|
10180
|
+
context?: unknown;
|
|
10181
|
+
};
|
|
10182
|
+
};
|
|
10183
|
+
};
|
|
10184
|
+
/** @description Not found */
|
|
10185
|
+
404: {
|
|
10186
|
+
headers: {
|
|
10187
|
+
[name: string]: unknown;
|
|
10188
|
+
};
|
|
10189
|
+
content: {
|
|
10190
|
+
"application/json": {
|
|
10191
|
+
code: string;
|
|
10192
|
+
message: string;
|
|
10193
|
+
links?: {
|
|
10194
|
+
docs: string;
|
|
10195
|
+
schema: string;
|
|
10196
|
+
};
|
|
10197
|
+
issues?: {
|
|
10198
|
+
message: string;
|
|
10199
|
+
path?: (string | number)[];
|
|
10200
|
+
schema?: string;
|
|
10201
|
+
}[];
|
|
10202
|
+
context?: unknown;
|
|
10203
|
+
};
|
|
10204
|
+
};
|
|
10205
|
+
};
|
|
10206
|
+
/** @description Internal server error */
|
|
10207
|
+
500: {
|
|
10208
|
+
headers: {
|
|
10209
|
+
[name: string]: unknown;
|
|
10210
|
+
};
|
|
10211
|
+
content: {
|
|
10212
|
+
"application/json": {
|
|
10213
|
+
code: string;
|
|
10214
|
+
message: string;
|
|
10215
|
+
links?: {
|
|
10216
|
+
docs: string;
|
|
10217
|
+
schema: string;
|
|
10218
|
+
};
|
|
10219
|
+
issues?: {
|
|
10220
|
+
message: string;
|
|
10221
|
+
path?: (string | number)[];
|
|
10222
|
+
schema?: string;
|
|
10223
|
+
}[];
|
|
10224
|
+
context?: unknown;
|
|
10225
|
+
};
|
|
10226
|
+
};
|
|
10227
|
+
};
|
|
10228
|
+
/** @description Service unavailable */
|
|
10229
|
+
503: {
|
|
10230
|
+
headers: {
|
|
10231
|
+
[name: string]: unknown;
|
|
10232
|
+
};
|
|
10233
|
+
content: {
|
|
10234
|
+
"application/json": {
|
|
10235
|
+
code: string;
|
|
10236
|
+
message: string;
|
|
10237
|
+
links?: {
|
|
10238
|
+
docs: string;
|
|
10239
|
+
schema: string;
|
|
10240
|
+
};
|
|
10241
|
+
issues?: {
|
|
10242
|
+
message: string;
|
|
10243
|
+
path?: (string | number)[];
|
|
10244
|
+
schema?: string;
|
|
10245
|
+
}[];
|
|
10246
|
+
context?: unknown;
|
|
10247
|
+
};
|
|
10248
|
+
};
|
|
10249
|
+
};
|
|
10250
|
+
};
|
|
10251
|
+
};
|
|
10252
|
+
getAuditActionsById: {
|
|
10253
|
+
parameters: {
|
|
10254
|
+
query?: never;
|
|
10255
|
+
header?: never;
|
|
10256
|
+
path: {
|
|
10257
|
+
id: string;
|
|
10258
|
+
};
|
|
10259
|
+
cookie?: never;
|
|
10260
|
+
};
|
|
10261
|
+
requestBody?: never;
|
|
10262
|
+
responses: {
|
|
10263
|
+
/** @description Successful response */
|
|
10264
|
+
200: {
|
|
10265
|
+
headers: {
|
|
10266
|
+
[name: string]: unknown;
|
|
10267
|
+
};
|
|
10268
|
+
content: {
|
|
10269
|
+
"application/json": {
|
|
10270
|
+
/** Format: uuid */
|
|
10271
|
+
id: string;
|
|
10272
|
+
/** Format: uuid */
|
|
10273
|
+
tenantId: string;
|
|
10274
|
+
actionType: string;
|
|
10275
|
+
rootEntityType: string | null;
|
|
10276
|
+
rootEntityId: string | null;
|
|
10277
|
+
message: string | null;
|
|
10278
|
+
payload: unknown;
|
|
10279
|
+
userId: string | null;
|
|
10280
|
+
actor: {
|
|
10281
|
+
id: string | null;
|
|
10282
|
+
type: string;
|
|
10283
|
+
name: string | null;
|
|
10284
|
+
email: string | null;
|
|
10285
|
+
};
|
|
10286
|
+
/**
|
|
10287
|
+
* Format: date-time
|
|
10288
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10289
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
10290
|
+
*/
|
|
10291
|
+
createdAt: string;
|
|
10292
|
+
source: string | null;
|
|
10293
|
+
apiVersion: string;
|
|
10294
|
+
requestId: string | null;
|
|
10295
|
+
traceId: string | null;
|
|
10296
|
+
parentActionId: string | null;
|
|
10297
|
+
effectCounts: {
|
|
10298
|
+
total: number;
|
|
10299
|
+
pending: number;
|
|
10300
|
+
claimed: number;
|
|
10301
|
+
running: number;
|
|
10302
|
+
completed: number;
|
|
10303
|
+
failed: number;
|
|
10304
|
+
deadLetter: number;
|
|
10763
10305
|
};
|
|
10764
10306
|
};
|
|
10765
10307
|
};
|
|
@@ -10898,12 +10440,17 @@ export interface operations {
|
|
|
10898
10440
|
};
|
|
10899
10441
|
};
|
|
10900
10442
|
};
|
|
10901
|
-
|
|
10443
|
+
getAuditEffects: {
|
|
10902
10444
|
parameters: {
|
|
10903
10445
|
query?: {
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10446
|
+
limit?: number;
|
|
10447
|
+
offset?: number;
|
|
10448
|
+
actionId?: string;
|
|
10449
|
+
entityId?: string;
|
|
10450
|
+
entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
10451
|
+
status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
10452
|
+
effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "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";
|
|
10453
|
+
page?: number;
|
|
10907
10454
|
};
|
|
10908
10455
|
header?: never;
|
|
10909
10456
|
path?: never;
|
|
@@ -10921,41 +10468,193 @@ export interface operations {
|
|
|
10921
10468
|
data: {
|
|
10922
10469
|
/** Format: uuid */
|
|
10923
10470
|
id: string;
|
|
10924
|
-
|
|
10925
|
-
type?: ("deposit" | "creditCard") | null;
|
|
10926
|
-
category?: ("trust" | "operating" | "external") | null;
|
|
10927
|
-
uniqueRef?: string | null;
|
|
10928
|
-
currency?: string | null;
|
|
10929
|
-
lastDigits?: string | null;
|
|
10930
|
-
/** @enum {string} */
|
|
10931
|
-
status: "active" | "inactive";
|
|
10932
|
-
startDate?: string | null;
|
|
10933
|
-
account?: {
|
|
10934
|
-
id: string;
|
|
10935
|
-
name: string;
|
|
10936
|
-
uniqueRef?: string | null;
|
|
10937
|
-
/** @enum {string} */
|
|
10938
|
-
status: "active" | "inactive";
|
|
10939
|
-
} | null;
|
|
10940
|
-
connection?: {
|
|
10471
|
+
action: {
|
|
10941
10472
|
/** Format: uuid */
|
|
10942
10473
|
id: string;
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10474
|
+
actionType: string;
|
|
10475
|
+
source: string | null;
|
|
10476
|
+
apiVersion: string;
|
|
10477
|
+
requestId: string | null;
|
|
10478
|
+
traceId: string | null;
|
|
10479
|
+
parentActionId: string | null;
|
|
10480
|
+
actor: {
|
|
10481
|
+
id: string | null;
|
|
10482
|
+
type: string;
|
|
10483
|
+
name: string | null;
|
|
10484
|
+
email: string | null;
|
|
10485
|
+
};
|
|
10486
|
+
};
|
|
10487
|
+
rootEntityType: string | null;
|
|
10488
|
+
rootEntityId: string | null;
|
|
10489
|
+
/** @enum {string} */
|
|
10490
|
+
effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "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";
|
|
10491
|
+
payload: unknown;
|
|
10492
|
+
entity: ({
|
|
10493
|
+
/** @constant */
|
|
10494
|
+
type: "reservation";
|
|
10495
|
+
data: {
|
|
10496
|
+
id: string;
|
|
10497
|
+
confirmationCode?: string | null;
|
|
10498
|
+
uniqueRef: string;
|
|
10499
|
+
/** @enum {string} */
|
|
10500
|
+
status: "booked" | "canceled" | "inactive";
|
|
10501
|
+
checkIn?: string | null;
|
|
10502
|
+
checkOut?: string | null;
|
|
10503
|
+
};
|
|
10504
|
+
} | {
|
|
10505
|
+
/** @constant */
|
|
10506
|
+
type: "transaction";
|
|
10507
|
+
data: {
|
|
10508
|
+
id: string;
|
|
10509
|
+
/** @enum {string} */
|
|
10510
|
+
status: "active" | "inactive";
|
|
10511
|
+
/** @description Value in cents (100 = 1€) */
|
|
10512
|
+
amount: number;
|
|
10513
|
+
account?: {
|
|
10514
|
+
id: string;
|
|
10515
|
+
name: string;
|
|
10516
|
+
uniqueRef?: string | null;
|
|
10517
|
+
/** @enum {string} */
|
|
10518
|
+
status: "active" | "inactive";
|
|
10519
|
+
} | null;
|
|
10520
|
+
date: string;
|
|
10521
|
+
description: string;
|
|
10522
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
10523
|
+
currency: string;
|
|
10524
|
+
/** @enum {string} */
|
|
10525
|
+
type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
|
|
10526
|
+
isOpeningBalance: boolean;
|
|
10527
|
+
contact?: {
|
|
10528
|
+
/** Format: uuid */
|
|
10529
|
+
id: string;
|
|
10530
|
+
name?: string | null;
|
|
10531
|
+
firstName?: string | null;
|
|
10532
|
+
uniqueRef?: string | null;
|
|
10533
|
+
shortRef?: string | null;
|
|
10534
|
+
email?: string | null;
|
|
10535
|
+
/** @enum {string} */
|
|
10536
|
+
type: "owner" | "vendor";
|
|
10537
|
+
} | null;
|
|
10538
|
+
connection?: {
|
|
10539
|
+
/** Format: uuid */
|
|
10540
|
+
id: string;
|
|
10541
|
+
name: string;
|
|
10542
|
+
/** @enum {string} */
|
|
10543
|
+
status: "active" | "inactive";
|
|
10544
|
+
uniqueRef?: string | null;
|
|
10545
|
+
appId: string;
|
|
10546
|
+
} | null;
|
|
10547
|
+
uniqueRef?: string | null;
|
|
10548
|
+
shortRef?: string | null;
|
|
10549
|
+
recurringTemplate?: {
|
|
10550
|
+
id: string;
|
|
10551
|
+
} | null;
|
|
10552
|
+
};
|
|
10553
|
+
} | {
|
|
10554
|
+
/** @constant */
|
|
10555
|
+
type: "recurringTransactionTemplate";
|
|
10556
|
+
data: {
|
|
10557
|
+
id: string;
|
|
10558
|
+
/** @enum {string} */
|
|
10559
|
+
status: "active" | "inactive";
|
|
10560
|
+
/** @description Value in cents (100 = 1€) */
|
|
10561
|
+
amount: number;
|
|
10562
|
+
account?: {
|
|
10563
|
+
id: string;
|
|
10564
|
+
name: string;
|
|
10565
|
+
uniqueRef?: string | null;
|
|
10566
|
+
/** @enum {string} */
|
|
10567
|
+
status: "active" | "inactive";
|
|
10568
|
+
} | null;
|
|
10569
|
+
date: string;
|
|
10570
|
+
description: string;
|
|
10571
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
10572
|
+
currency: string;
|
|
10573
|
+
/** @enum {string} */
|
|
10574
|
+
type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
|
|
10575
|
+
isOpeningBalance: boolean;
|
|
10576
|
+
contact?: {
|
|
10577
|
+
/** Format: uuid */
|
|
10578
|
+
id: string;
|
|
10579
|
+
name?: string | null;
|
|
10580
|
+
firstName?: string | null;
|
|
10581
|
+
uniqueRef?: string | null;
|
|
10582
|
+
shortRef?: string | null;
|
|
10583
|
+
email?: string | null;
|
|
10584
|
+
/** @enum {string} */
|
|
10585
|
+
type: "owner" | "vendor";
|
|
10586
|
+
} | null;
|
|
10587
|
+
connection?: {
|
|
10588
|
+
/** Format: uuid */
|
|
10589
|
+
id: string;
|
|
10590
|
+
name: string;
|
|
10591
|
+
/** @enum {string} */
|
|
10592
|
+
status: "active" | "inactive";
|
|
10593
|
+
uniqueRef?: string | null;
|
|
10594
|
+
appId: string;
|
|
10595
|
+
} | null;
|
|
10596
|
+
uniqueRef?: string | null;
|
|
10597
|
+
shortRef?: string | null;
|
|
10598
|
+
recurringTemplate?: {
|
|
10599
|
+
id: string;
|
|
10600
|
+
} | null;
|
|
10601
|
+
};
|
|
10602
|
+
} | {
|
|
10603
|
+
/** @constant */
|
|
10604
|
+
type: "other";
|
|
10605
|
+
data: {
|
|
10606
|
+
/** Format: uuid */
|
|
10607
|
+
id: string;
|
|
10608
|
+
type: string;
|
|
10609
|
+
name: string | null;
|
|
10610
|
+
};
|
|
10611
|
+
}) | null;
|
|
10612
|
+
/** @enum {string} */
|
|
10613
|
+
status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
10614
|
+
priority: number;
|
|
10615
|
+
retryCount: number;
|
|
10616
|
+
maxRetries: number;
|
|
10617
|
+
sequence: number;
|
|
10618
|
+
claimedAt: string | null;
|
|
10619
|
+
claimedBy: string | null;
|
|
10620
|
+
completedAt: string | null;
|
|
10621
|
+
lastAttemptAt: string | null;
|
|
10622
|
+
lastError: string | null;
|
|
10623
|
+
latestAttempt: {
|
|
10951
10624
|
/** Format: uuid */
|
|
10952
10625
|
id: string;
|
|
10953
|
-
|
|
10954
|
-
status
|
|
10955
|
-
|
|
10956
|
-
|
|
10626
|
+
/** @enum {string} */
|
|
10627
|
+
status: "running" | "completed" | "failed" | "skipped_locked";
|
|
10628
|
+
attemptNum: number;
|
|
10629
|
+
/**
|
|
10630
|
+
* Format: date-time
|
|
10631
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10632
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
10633
|
+
*/
|
|
10634
|
+
startedAt: string;
|
|
10635
|
+
finishedAt: string | null;
|
|
10636
|
+
workerId: string | null;
|
|
10637
|
+
resultCode: string | null;
|
|
10638
|
+
resultCategory: string | null;
|
|
10639
|
+
retryable: boolean | null;
|
|
10640
|
+
errorMessage: string | null;
|
|
10957
10641
|
} | null;
|
|
10642
|
+
/**
|
|
10643
|
+
* Format: date-time
|
|
10644
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10645
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
10646
|
+
*/
|
|
10647
|
+
createdAt: string;
|
|
10958
10648
|
}[];
|
|
10649
|
+
pagination: {
|
|
10650
|
+
/** @default 100 */
|
|
10651
|
+
limit: number;
|
|
10652
|
+
/** @default 1 */
|
|
10653
|
+
page: number;
|
|
10654
|
+
total: number;
|
|
10655
|
+
totalPage: number;
|
|
10656
|
+
nextPage?: number;
|
|
10657
|
+
};
|
|
10959
10658
|
};
|
|
10960
10659
|
};
|
|
10961
10660
|
};
|
|
@@ -11093,39 +10792,27 @@ export interface operations {
|
|
|
11093
10792
|
};
|
|
11094
10793
|
};
|
|
11095
10794
|
};
|
|
11096
|
-
|
|
10795
|
+
getAuditJournalDeltas: {
|
|
11097
10796
|
parameters: {
|
|
11098
10797
|
query?: {
|
|
11099
|
-
|
|
11100
|
-
|
|
10798
|
+
limit?: number;
|
|
10799
|
+
offset?: number;
|
|
10800
|
+
actionId?: string;
|
|
10801
|
+
effectId?: string;
|
|
10802
|
+
mutationId?: string;
|
|
10803
|
+
journalEntryId?: string;
|
|
10804
|
+
operation?: "insert" | "update" | "delete";
|
|
10805
|
+
rootEntityType?: string;
|
|
10806
|
+
rootEntityId?: string;
|
|
10807
|
+
startAt?: string;
|
|
10808
|
+
endAt?: string;
|
|
10809
|
+
page?: number;
|
|
11101
10810
|
};
|
|
11102
10811
|
header?: never;
|
|
11103
10812
|
path?: never;
|
|
11104
10813
|
cookie?: never;
|
|
11105
10814
|
};
|
|
11106
|
-
requestBody?:
|
|
11107
|
-
content: {
|
|
11108
|
-
"application/json": {
|
|
11109
|
-
/** Format: uuid */
|
|
11110
|
-
connectionId: string;
|
|
11111
|
-
data: {
|
|
11112
|
-
id?: string | null;
|
|
11113
|
-
/** @enum {string} */
|
|
11114
|
-
type: "deposit" | "creditCard";
|
|
11115
|
-
/** @enum {string} */
|
|
11116
|
-
category: "trust" | "operating" | "external";
|
|
11117
|
-
name: string;
|
|
11118
|
-
uniqueRef?: string | null;
|
|
11119
|
-
sourceId?: string | null;
|
|
11120
|
-
currency?: string | null;
|
|
11121
|
-
lastDigits?: string | null;
|
|
11122
|
-
status?: ("active" | "inactive") | null;
|
|
11123
|
-
accountId?: string | null;
|
|
11124
|
-
startDate?: string | null;
|
|
11125
|
-
}[];
|
|
11126
|
-
};
|
|
11127
|
-
};
|
|
11128
|
-
};
|
|
10815
|
+
requestBody?: never;
|
|
11129
10816
|
responses: {
|
|
11130
10817
|
/** @description Successful response */
|
|
11131
10818
|
200: {
|
|
@@ -11137,17 +10824,51 @@ export interface operations {
|
|
|
11137
10824
|
data: {
|
|
11138
10825
|
/** Format: uuid */
|
|
11139
10826
|
id: string;
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
|
|
11145
|
-
|
|
11146
|
-
|
|
10827
|
+
/** Format: uuid */
|
|
10828
|
+
tenantId: string;
|
|
10829
|
+
/** Format: uuid */
|
|
10830
|
+
journalEntryId: string;
|
|
10831
|
+
/** Format: uuid */
|
|
10832
|
+
actionId: string;
|
|
10833
|
+
effectId: string | null;
|
|
10834
|
+
mutationId: string | null;
|
|
10835
|
+
rootEntityType: string | null;
|
|
10836
|
+
rootEntityId: string | null;
|
|
11147
10837
|
/** @enum {string} */
|
|
11148
|
-
|
|
11149
|
-
|
|
10838
|
+
operation: "insert" | "update" | "delete";
|
|
10839
|
+
/**
|
|
10840
|
+
* Format: date-time
|
|
10841
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
10842
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
10843
|
+
*/
|
|
10844
|
+
changedAt: string;
|
|
10845
|
+
apiVersion: string;
|
|
10846
|
+
changedFields: string[];
|
|
10847
|
+
diffJson: unknown | null;
|
|
10848
|
+
accountIdBefore: string | null;
|
|
10849
|
+
accountIdAfter: string | null;
|
|
10850
|
+
centTotalBefore: number | null;
|
|
10851
|
+
centTotalAfter: number | null;
|
|
10852
|
+
txnAtBefore: string | null;
|
|
10853
|
+
txnAtAfter: string | null;
|
|
10854
|
+
statusBefore: string | null;
|
|
10855
|
+
statusAfter: string | null;
|
|
10856
|
+
partyBefore: string | null;
|
|
10857
|
+
partyAfter: string | null;
|
|
10858
|
+
listingOwnershipPeriodIdBefore: string | null;
|
|
10859
|
+
listingOwnershipPeriodIdAfter: string | null;
|
|
10860
|
+
attachedToOwnerStatementIdBefore: string | null;
|
|
10861
|
+
attachedToOwnerStatementIdAfter: string | null;
|
|
11150
10862
|
}[];
|
|
10863
|
+
pagination: {
|
|
10864
|
+
/** @default 100 */
|
|
10865
|
+
limit: number;
|
|
10866
|
+
/** @default 1 */
|
|
10867
|
+
page: number;
|
|
10868
|
+
total: number;
|
|
10869
|
+
totalPage: number;
|
|
10870
|
+
nextPage?: number;
|
|
10871
|
+
};
|
|
11151
10872
|
};
|
|
11152
10873
|
};
|
|
11153
10874
|
};
|
|
@@ -11285,13 +11006,23 @@ export interface operations {
|
|
|
11285
11006
|
};
|
|
11286
11007
|
};
|
|
11287
11008
|
};
|
|
11288
|
-
|
|
11009
|
+
getAuditMutations: {
|
|
11289
11010
|
parameters: {
|
|
11290
|
-
query?:
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11011
|
+
query?: {
|
|
11012
|
+
limit?: number;
|
|
11013
|
+
offset?: number;
|
|
11014
|
+
actionId?: string;
|
|
11015
|
+
effectId?: string;
|
|
11016
|
+
entityType?: string;
|
|
11017
|
+
entityId?: string;
|
|
11018
|
+
op?: string;
|
|
11019
|
+
outcome?: string;
|
|
11020
|
+
startAt?: string;
|
|
11021
|
+
endAt?: string;
|
|
11022
|
+
page?: number;
|
|
11294
11023
|
};
|
|
11024
|
+
header?: never;
|
|
11025
|
+
path?: never;
|
|
11295
11026
|
cookie?: never;
|
|
11296
11027
|
};
|
|
11297
11028
|
requestBody?: never;
|
|
@@ -11303,33 +11034,64 @@ export interface operations {
|
|
|
11303
11034
|
};
|
|
11304
11035
|
content: {
|
|
11305
11036
|
"application/json": {
|
|
11306
|
-
|
|
11307
|
-
id: string;
|
|
11308
|
-
/** @enum {string} */
|
|
11309
|
-
type: "deposit" | "creditCard";
|
|
11310
|
-
/** @enum {string} */
|
|
11311
|
-
category: "trust" | "operating" | "external";
|
|
11312
|
-
name: string;
|
|
11313
|
-
uniqueRef?: string | null;
|
|
11314
|
-
currency?: string | null;
|
|
11315
|
-
lastDigits?: string | null;
|
|
11316
|
-
status: ("active" | "inactive") | null;
|
|
11317
|
-
startDate?: string | null;
|
|
11318
|
-
account?: {
|
|
11319
|
-
id: string;
|
|
11320
|
-
name: string;
|
|
11321
|
-
uniqueRef?: string | null;
|
|
11322
|
-
/** @enum {string} */
|
|
11323
|
-
status: "active" | "inactive";
|
|
11324
|
-
} | null;
|
|
11325
|
-
source?: {
|
|
11037
|
+
data: {
|
|
11326
11038
|
/** Format: uuid */
|
|
11327
11039
|
id: string;
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11040
|
+
/** Format: uuid */
|
|
11041
|
+
tenantId: string;
|
|
11042
|
+
/** Format: uuid */
|
|
11043
|
+
actionId: string;
|
|
11044
|
+
effectId: string | null;
|
|
11045
|
+
op: string;
|
|
11046
|
+
rootEntityType: string | null;
|
|
11047
|
+
rootEntityId: string | null;
|
|
11048
|
+
subjectType: string;
|
|
11049
|
+
/** Format: uuid */
|
|
11050
|
+
subjectId: string;
|
|
11051
|
+
outcome: string | null;
|
|
11052
|
+
changeRecord: {
|
|
11053
|
+
summary: string;
|
|
11054
|
+
changedKeys: string[];
|
|
11055
|
+
reasonCode: string;
|
|
11056
|
+
outcome: string;
|
|
11057
|
+
context: {
|
|
11058
|
+
[key: string]: unknown;
|
|
11059
|
+
} | null;
|
|
11060
|
+
} & {
|
|
11061
|
+
[key: string]: unknown;
|
|
11062
|
+
};
|
|
11063
|
+
/**
|
|
11064
|
+
* Format: date-time
|
|
11065
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11066
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11067
|
+
*/
|
|
11068
|
+
createdAt: string;
|
|
11069
|
+
action: {
|
|
11070
|
+
/** Format: uuid */
|
|
11071
|
+
id: string;
|
|
11072
|
+
actionType: string;
|
|
11073
|
+
source: string | null;
|
|
11074
|
+
apiVersion: string;
|
|
11075
|
+
requestId: string | null;
|
|
11076
|
+
traceId: string | null;
|
|
11077
|
+
parentActionId: string | null;
|
|
11078
|
+
actor: {
|
|
11079
|
+
id: string | null;
|
|
11080
|
+
type: string;
|
|
11081
|
+
name: string | null;
|
|
11082
|
+
email: string | null;
|
|
11083
|
+
};
|
|
11084
|
+
};
|
|
11085
|
+
}[];
|
|
11086
|
+
pagination: {
|
|
11087
|
+
/** @default 100 */
|
|
11088
|
+
limit: number;
|
|
11089
|
+
/** @default 1 */
|
|
11090
|
+
page: number;
|
|
11091
|
+
total: number;
|
|
11092
|
+
totalPage: number;
|
|
11093
|
+
nextPage?: number;
|
|
11094
|
+
};
|
|
11333
11095
|
};
|
|
11334
11096
|
};
|
|
11335
11097
|
};
|
|
@@ -11467,36 +11229,28 @@ export interface operations {
|
|
|
11467
11229
|
};
|
|
11468
11230
|
};
|
|
11469
11231
|
};
|
|
11470
|
-
|
|
11232
|
+
getAuditTimeline: {
|
|
11471
11233
|
parameters: {
|
|
11472
|
-
query
|
|
11473
|
-
|
|
11474
|
-
|
|
11234
|
+
query: {
|
|
11235
|
+
rootEntityType: string;
|
|
11236
|
+
rootEntityId: string;
|
|
11237
|
+
/** @description Timeline item type filter. Accepts repeated `types=value` query params or one comma-separated string. */
|
|
11238
|
+
types?: ("action" | "effect" | "effect_attempt" | "mutation" | "journal_delta")[];
|
|
11239
|
+
/** @description Temporal boundary string parsed by the API. Prefer `YYYY-MM-DD` for day-granularity filters or an ISO 8601 timestamp for exact time bounds. */
|
|
11240
|
+
from?: string;
|
|
11241
|
+
/** @description Temporal boundary string parsed by the API. Prefer `YYYY-MM-DD` for day-granularity filters or an ISO 8601 timestamp for exact time bounds. */
|
|
11242
|
+
to?: string;
|
|
11243
|
+
/** @description When true, include diff payloads in audit timeline journal delta entries. */
|
|
11244
|
+
includeDiff?: boolean;
|
|
11245
|
+
limit?: number;
|
|
11246
|
+
/** @description Opaque pagination cursor returned by a previous response. Pass it back unchanged. */
|
|
11247
|
+
cursor?: string;
|
|
11475
11248
|
};
|
|
11476
11249
|
header?: never;
|
|
11477
|
-
path
|
|
11478
|
-
id: string;
|
|
11479
|
-
};
|
|
11250
|
+
path?: never;
|
|
11480
11251
|
cookie?: never;
|
|
11481
11252
|
};
|
|
11482
|
-
requestBody?:
|
|
11483
|
-
content: {
|
|
11484
|
-
"application/json": {
|
|
11485
|
-
/** @enum {string} */
|
|
11486
|
-
type?: "deposit" | "creditCard";
|
|
11487
|
-
/** @enum {string} */
|
|
11488
|
-
category?: "trust" | "operating" | "external";
|
|
11489
|
-
name?: string;
|
|
11490
|
-
uniqueRef?: string | null;
|
|
11491
|
-
sourceId?: string | null;
|
|
11492
|
-
currency?: string | null;
|
|
11493
|
-
lastDigits?: string | null;
|
|
11494
|
-
status?: ("active" | "inactive") | null;
|
|
11495
|
-
accountId?: string | null;
|
|
11496
|
-
startDate?: string | null;
|
|
11497
|
-
};
|
|
11498
|
-
};
|
|
11499
|
-
};
|
|
11253
|
+
requestBody?: never;
|
|
11500
11254
|
responses: {
|
|
11501
11255
|
/** @description Successful response */
|
|
11502
11256
|
200: {
|
|
@@ -11505,33 +11259,181 @@ export interface operations {
|
|
|
11505
11259
|
};
|
|
11506
11260
|
content: {
|
|
11507
11261
|
"application/json": {
|
|
11508
|
-
|
|
11509
|
-
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
-
/** @enum {string} */
|
|
11513
|
-
category: "trust" | "operating" | "external";
|
|
11514
|
-
name: string;
|
|
11515
|
-
uniqueRef?: string | null;
|
|
11516
|
-
currency?: string | null;
|
|
11517
|
-
lastDigits?: string | null;
|
|
11518
|
-
status: ("active" | "inactive") | null;
|
|
11519
|
-
startDate?: string | null;
|
|
11520
|
-
account?: {
|
|
11262
|
+
data: ({
|
|
11263
|
+
/** @constant */
|
|
11264
|
+
type: "action";
|
|
11265
|
+
/** Format: uuid */
|
|
11521
11266
|
id: string;
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11267
|
+
/**
|
|
11268
|
+
* Format: date-time
|
|
11269
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11270
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11271
|
+
*/
|
|
11272
|
+
timestamp: string;
|
|
11273
|
+
actionId: string | null;
|
|
11274
|
+
effectId: string | null;
|
|
11275
|
+
mutationId: string | null;
|
|
11276
|
+
rootEntityType: string | null;
|
|
11277
|
+
rootEntityId: string | null;
|
|
11278
|
+
data: {
|
|
11279
|
+
actionType: string;
|
|
11280
|
+
message: string | null;
|
|
11281
|
+
payload: unknown | null;
|
|
11282
|
+
source: string | null;
|
|
11283
|
+
apiVersion: string;
|
|
11284
|
+
requestId: string | null;
|
|
11285
|
+
traceId: string | null;
|
|
11286
|
+
parentActionId: string | null;
|
|
11287
|
+
actor: {
|
|
11288
|
+
id: string | null;
|
|
11289
|
+
type: string;
|
|
11290
|
+
name: string | null;
|
|
11291
|
+
email: string | null;
|
|
11292
|
+
};
|
|
11293
|
+
};
|
|
11294
|
+
} | {
|
|
11295
|
+
/** @constant */
|
|
11296
|
+
type: "effect";
|
|
11528
11297
|
/** Format: uuid */
|
|
11529
11298
|
id: string;
|
|
11530
|
-
|
|
11531
|
-
|
|
11532
|
-
|
|
11533
|
-
|
|
11534
|
-
|
|
11299
|
+
/**
|
|
11300
|
+
* Format: date-time
|
|
11301
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11302
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11303
|
+
*/
|
|
11304
|
+
timestamp: string;
|
|
11305
|
+
actionId: string | null;
|
|
11306
|
+
effectId: string | null;
|
|
11307
|
+
mutationId: string | null;
|
|
11308
|
+
rootEntityType: string | null;
|
|
11309
|
+
rootEntityId: string | null;
|
|
11310
|
+
data: {
|
|
11311
|
+
effectType: string;
|
|
11312
|
+
status: string;
|
|
11313
|
+
payload: unknown;
|
|
11314
|
+
entityType: string | null;
|
|
11315
|
+
entityId: string | null;
|
|
11316
|
+
priority: number;
|
|
11317
|
+
retryCount: number;
|
|
11318
|
+
maxRetries: number;
|
|
11319
|
+
claimedAt: string | null;
|
|
11320
|
+
claimedBy: string | null;
|
|
11321
|
+
completedAt: string | null;
|
|
11322
|
+
lastAttemptAt: string | null;
|
|
11323
|
+
lastError: string | null;
|
|
11324
|
+
};
|
|
11325
|
+
} | {
|
|
11326
|
+
/** @constant */
|
|
11327
|
+
type: "effect_attempt";
|
|
11328
|
+
/** Format: uuid */
|
|
11329
|
+
id: string;
|
|
11330
|
+
/**
|
|
11331
|
+
* Format: date-time
|
|
11332
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11333
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11334
|
+
*/
|
|
11335
|
+
timestamp: string;
|
|
11336
|
+
actionId: string | null;
|
|
11337
|
+
effectId: string | null;
|
|
11338
|
+
mutationId: string | null;
|
|
11339
|
+
rootEntityType: string | null;
|
|
11340
|
+
rootEntityId: string | null;
|
|
11341
|
+
data: {
|
|
11342
|
+
/** @enum {string} */
|
|
11343
|
+
status: "running" | "completed" | "failed" | "skipped_locked";
|
|
11344
|
+
attemptNum: number;
|
|
11345
|
+
/**
|
|
11346
|
+
* Format: date-time
|
|
11347
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11348
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11349
|
+
*/
|
|
11350
|
+
startedAt: string;
|
|
11351
|
+
finishedAt: string | null;
|
|
11352
|
+
workerId: string | null;
|
|
11353
|
+
resultCode: string | null;
|
|
11354
|
+
resultCategory: string | null;
|
|
11355
|
+
retryable: boolean | null;
|
|
11356
|
+
errorMessage: string | null;
|
|
11357
|
+
};
|
|
11358
|
+
} | {
|
|
11359
|
+
/** @constant */
|
|
11360
|
+
type: "mutation";
|
|
11361
|
+
/** Format: uuid */
|
|
11362
|
+
id: string;
|
|
11363
|
+
/**
|
|
11364
|
+
* Format: date-time
|
|
11365
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11366
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11367
|
+
*/
|
|
11368
|
+
timestamp: string;
|
|
11369
|
+
actionId: string | null;
|
|
11370
|
+
effectId: string | null;
|
|
11371
|
+
mutationId: string | null;
|
|
11372
|
+
rootEntityType: string | null;
|
|
11373
|
+
rootEntityId: string | null;
|
|
11374
|
+
data: {
|
|
11375
|
+
op: string;
|
|
11376
|
+
subjectType: string;
|
|
11377
|
+
/** Format: uuid */
|
|
11378
|
+
subjectId: string;
|
|
11379
|
+
outcome: string | null;
|
|
11380
|
+
changeRecord: {
|
|
11381
|
+
summary: string;
|
|
11382
|
+
changedKeys: string[];
|
|
11383
|
+
reasonCode: string;
|
|
11384
|
+
outcome: string;
|
|
11385
|
+
context: {
|
|
11386
|
+
[key: string]: unknown;
|
|
11387
|
+
} | null;
|
|
11388
|
+
} & {
|
|
11389
|
+
[key: string]: unknown;
|
|
11390
|
+
};
|
|
11391
|
+
};
|
|
11392
|
+
} | {
|
|
11393
|
+
/** @constant */
|
|
11394
|
+
type: "journal_delta";
|
|
11395
|
+
/** Format: uuid */
|
|
11396
|
+
id: string;
|
|
11397
|
+
/**
|
|
11398
|
+
* Format: date-time
|
|
11399
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11400
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11401
|
+
*/
|
|
11402
|
+
timestamp: string;
|
|
11403
|
+
actionId: string | null;
|
|
11404
|
+
effectId: string | null;
|
|
11405
|
+
mutationId: string | null;
|
|
11406
|
+
rootEntityType: string | null;
|
|
11407
|
+
rootEntityId: string | null;
|
|
11408
|
+
data: {
|
|
11409
|
+
/** Format: uuid */
|
|
11410
|
+
journalEntryId: string;
|
|
11411
|
+
/** @enum {string} */
|
|
11412
|
+
operation: "insert" | "update" | "delete";
|
|
11413
|
+
changedFields: string[];
|
|
11414
|
+
diffJson: unknown | null;
|
|
11415
|
+
apiVersion: string;
|
|
11416
|
+
accountIdBefore: string | null;
|
|
11417
|
+
accountIdAfter: string | null;
|
|
11418
|
+
centTotalBefore: number | null;
|
|
11419
|
+
centTotalAfter: number | null;
|
|
11420
|
+
txnAtBefore: string | null;
|
|
11421
|
+
txnAtAfter: string | null;
|
|
11422
|
+
statusBefore: string | null;
|
|
11423
|
+
statusAfter: string | null;
|
|
11424
|
+
partyBefore: string | null;
|
|
11425
|
+
partyAfter: string | null;
|
|
11426
|
+
listingOwnershipPeriodIdBefore: string | null;
|
|
11427
|
+
listingOwnershipPeriodIdAfter: string | null;
|
|
11428
|
+
attachedToOwnerStatementIdBefore: string | null;
|
|
11429
|
+
attachedToOwnerStatementIdAfter: string | null;
|
|
11430
|
+
};
|
|
11431
|
+
})[];
|
|
11432
|
+
page: {
|
|
11433
|
+
limit: number;
|
|
11434
|
+
hasMore: boolean;
|
|
11435
|
+
nextCursor: string | null;
|
|
11436
|
+
};
|
|
11535
11437
|
};
|
|
11536
11438
|
};
|
|
11537
11439
|
};
|
|
@@ -11682,7 +11584,7 @@ export interface operations {
|
|
|
11682
11584
|
dateRange?: string;
|
|
11683
11585
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
11684
11586
|
isDateRangeEndInclusive?: boolean;
|
|
11685
|
-
|
|
11587
|
+
accountConnectionId?: string;
|
|
11686
11588
|
accountId?: string;
|
|
11687
11589
|
uniqueRefs?: string;
|
|
11688
11590
|
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
@@ -11720,8 +11622,8 @@ export interface operations {
|
|
|
11720
11622
|
/** @enum {string} */
|
|
11721
11623
|
status: "active" | "inactive";
|
|
11722
11624
|
description?: string | null;
|
|
11723
|
-
|
|
11724
|
-
|
|
11625
|
+
accountConnectionId?: string | null;
|
|
11626
|
+
accountConnection?: {
|
|
11725
11627
|
/** Format: uuid */
|
|
11726
11628
|
id: string;
|
|
11727
11629
|
name: string;
|
|
@@ -11827,7 +11729,7 @@ export interface operations {
|
|
|
11827
11729
|
date: string;
|
|
11828
11730
|
description: string;
|
|
11829
11731
|
amount: number;
|
|
11830
|
-
|
|
11732
|
+
accountConnectionId?: string | null;
|
|
11831
11733
|
accountId?: string | null;
|
|
11832
11734
|
};
|
|
11833
11735
|
transaction: {
|
|
@@ -12078,7 +11980,7 @@ export interface operations {
|
|
|
12078
11980
|
}[] | null;
|
|
12079
11981
|
};
|
|
12080
11982
|
id?: string | null;
|
|
12081
|
-
|
|
11983
|
+
accountConnectionRef?: string | null;
|
|
12082
11984
|
sourceId?: string | null;
|
|
12083
11985
|
}[];
|
|
12084
11986
|
};
|
|
@@ -12256,7 +12158,7 @@ export interface operations {
|
|
|
12256
12158
|
dateRange?: string;
|
|
12257
12159
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
12258
12160
|
isDateRangeEndInclusive?: boolean;
|
|
12259
|
-
|
|
12161
|
+
accountConnectionId?: string;
|
|
12260
12162
|
accountId?: string;
|
|
12261
12163
|
uniqueRefs?: string;
|
|
12262
12164
|
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
@@ -12450,8 +12352,8 @@ export interface operations {
|
|
|
12450
12352
|
/** @enum {string} */
|
|
12451
12353
|
status: "active" | "inactive";
|
|
12452
12354
|
description?: string | null;
|
|
12453
|
-
|
|
12454
|
-
|
|
12355
|
+
accountConnectionId?: string | null;
|
|
12356
|
+
accountConnection?: {
|
|
12455
12357
|
/** Format: uuid */
|
|
12456
12358
|
id: string;
|
|
12457
12359
|
name: string;
|
|
@@ -12557,7 +12459,7 @@ export interface operations {
|
|
|
12557
12459
|
date: string;
|
|
12558
12460
|
description: string;
|
|
12559
12461
|
amount: number;
|
|
12560
|
-
|
|
12462
|
+
accountConnectionId?: string | null;
|
|
12561
12463
|
accountId?: string | null;
|
|
12562
12464
|
};
|
|
12563
12465
|
transaction: {
|
|
@@ -13754,7 +13656,7 @@ export interface operations {
|
|
|
13754
13656
|
date: string;
|
|
13755
13657
|
description: string;
|
|
13756
13658
|
amount: number;
|
|
13757
|
-
|
|
13659
|
+
accountConnectionId?: string | null;
|
|
13758
13660
|
accountId?: string | null;
|
|
13759
13661
|
};
|
|
13760
13662
|
transaction: {
|
|
@@ -14737,7 +14639,7 @@ export interface operations {
|
|
|
14737
14639
|
date: string;
|
|
14738
14640
|
description: string;
|
|
14739
14641
|
amount: number;
|
|
14740
|
-
|
|
14642
|
+
accountConnectionId?: string | null;
|
|
14741
14643
|
accountId?: string | null;
|
|
14742
14644
|
};
|
|
14743
14645
|
transaction: {
|
|
@@ -65568,7 +65470,7 @@ export interface operations {
|
|
|
65568
65470
|
downloadSource: {
|
|
65569
65471
|
parameters: {
|
|
65570
65472
|
query: {
|
|
65571
|
-
type: "source" | "payment" | "deposit" | "expense" | "payout" | "transfer" | "transaction" | "reservation" | "bankRecord" | "
|
|
65473
|
+
type: "source" | "payment" | "deposit" | "expense" | "payout" | "transfer" | "transaction" | "reservation" | "bankRecord" | "accountConnection" | "listing" | "listingConnection" | "owner" | "ownerStatement";
|
|
65572
65474
|
};
|
|
65573
65475
|
header?: never;
|
|
65574
65476
|
path: {
|
|
@@ -76603,7 +76505,7 @@ export interface operations {
|
|
|
76603
76505
|
content: {
|
|
76604
76506
|
"application/json": {
|
|
76605
76507
|
/** @enum {string} */
|
|
76606
|
-
entityType: "reservation" | "listing" | "transaction" | "payment" | "
|
|
76508
|
+
entityType: "reservation" | "listing" | "transaction" | "payment" | "accountConnection" | "bankRecord" | "contact";
|
|
76607
76509
|
/** Format: uuid */
|
|
76608
76510
|
connectionId?: string;
|
|
76609
76511
|
/** Format: uuid */
|