@vrplatform/api 1.3.1-stage.2069 → 1.3.1-stage.2071
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.
|
@@ -2873,6 +2873,23 @@ export interface paths {
|
|
|
2873
2873
|
patch?: never;
|
|
2874
2874
|
trace?: never;
|
|
2875
2875
|
};
|
|
2876
|
+
"/transactions/payouts/csv": {
|
|
2877
|
+
parameters: {
|
|
2878
|
+
query?: never;
|
|
2879
|
+
header?: never;
|
|
2880
|
+
path?: never;
|
|
2881
|
+
cookie?: never;
|
|
2882
|
+
};
|
|
2883
|
+
/** @description Payout transactions CSV export */
|
|
2884
|
+
get: operations["getTransactionsPayoutsCsv"];
|
|
2885
|
+
put?: never;
|
|
2886
|
+
post?: never;
|
|
2887
|
+
delete?: never;
|
|
2888
|
+
options?: never;
|
|
2889
|
+
head?: never;
|
|
2890
|
+
patch?: never;
|
|
2891
|
+
trace?: never;
|
|
2892
|
+
};
|
|
2876
2893
|
"/transactions/recurring-templates": {
|
|
2877
2894
|
parameters: {
|
|
2878
2895
|
query?: never;
|
|
@@ -2951,7 +2968,7 @@ export interface paths {
|
|
|
2951
2968
|
path?: never;
|
|
2952
2969
|
cookie?: never;
|
|
2953
2970
|
};
|
|
2954
|
-
/** @description
|
|
2971
|
+
/** @description Legacy transfer transactions CSV export */
|
|
2955
2972
|
get: operations["getTransactionsTransfersCsv"];
|
|
2956
2973
|
put?: never;
|
|
2957
2974
|
post?: never;
|
|
@@ -19493,6 +19510,7 @@ export interface operations {
|
|
|
19493
19510
|
startDate?: string;
|
|
19494
19511
|
endDate?: string;
|
|
19495
19512
|
view?: "month" | "quarter" | "year";
|
|
19513
|
+
ledger?: "trust" | "operating";
|
|
19496
19514
|
};
|
|
19497
19515
|
header?: never;
|
|
19498
19516
|
path?: never;
|
|
@@ -19727,9 +19745,10 @@ export interface operations {
|
|
|
19727
19745
|
getBalanceSheetReportCsv: {
|
|
19728
19746
|
parameters: {
|
|
19729
19747
|
query?: {
|
|
19730
|
-
view?: "month" | "quarter" | "year";
|
|
19731
19748
|
startDate?: string;
|
|
19732
19749
|
endDate?: string;
|
|
19750
|
+
view?: "month" | "quarter" | "year";
|
|
19751
|
+
ledger?: "trust" | "operating";
|
|
19733
19752
|
};
|
|
19734
19753
|
header?: never;
|
|
19735
19754
|
path?: never;
|
|
@@ -20224,6 +20243,7 @@ export interface operations {
|
|
|
20224
20243
|
bookingChannels?: string;
|
|
20225
20244
|
party?: "owners" | "manager";
|
|
20226
20245
|
openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
|
|
20246
|
+
ledger?: "trust" | "operating";
|
|
20227
20247
|
includeDetails?: boolean;
|
|
20228
20248
|
limit?: number;
|
|
20229
20249
|
page?: number;
|
|
@@ -20481,6 +20501,7 @@ export interface operations {
|
|
|
20481
20501
|
bookingChannels?: string;
|
|
20482
20502
|
party?: "owners" | "manager";
|
|
20483
20503
|
openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
|
|
20504
|
+
ledger?: "trust" | "operating";
|
|
20484
20505
|
};
|
|
20485
20506
|
header?: never;
|
|
20486
20507
|
path?: never;
|
|
@@ -20614,6 +20635,7 @@ export interface operations {
|
|
|
20614
20635
|
netIncome: number;
|
|
20615
20636
|
adjustments: number;
|
|
20616
20637
|
transfers: number;
|
|
20638
|
+
payouts: number;
|
|
20617
20639
|
};
|
|
20618
20640
|
}[];
|
|
20619
20641
|
};
|
|
@@ -20838,6 +20860,7 @@ export interface operations {
|
|
|
20838
20860
|
netIncome: number;
|
|
20839
20861
|
adjustments: number;
|
|
20840
20862
|
transfers: number;
|
|
20863
|
+
payouts: number;
|
|
20841
20864
|
};
|
|
20842
20865
|
accounts: {
|
|
20843
20866
|
id: string;
|
|
@@ -21072,6 +21095,7 @@ export interface operations {
|
|
|
21072
21095
|
txnCode?: string;
|
|
21073
21096
|
published?: boolean;
|
|
21074
21097
|
status?: "active" | "inactive";
|
|
21098
|
+
ledger?: "trust" | "operating";
|
|
21075
21099
|
startAt?: string;
|
|
21076
21100
|
endAt?: string;
|
|
21077
21101
|
search?: string;
|
|
@@ -21328,6 +21352,7 @@ export interface operations {
|
|
|
21328
21352
|
txnCode?: string;
|
|
21329
21353
|
published?: boolean;
|
|
21330
21354
|
status?: "active" | "inactive";
|
|
21355
|
+
ledger?: "trust" | "operating";
|
|
21331
21356
|
startAt?: string;
|
|
21332
21357
|
endAt?: string;
|
|
21333
21358
|
search?: string;
|
|
@@ -21502,6 +21527,7 @@ export interface operations {
|
|
|
21502
21527
|
expenses: number;
|
|
21503
21528
|
reserve: number;
|
|
21504
21529
|
transfers: number;
|
|
21530
|
+
payouts: number;
|
|
21505
21531
|
netIncome: number;
|
|
21506
21532
|
currentBalance: number;
|
|
21507
21533
|
balanceEnd: number;
|
|
@@ -21852,6 +21878,7 @@ export interface operations {
|
|
|
21852
21878
|
expenses: number;
|
|
21853
21879
|
reserve: number;
|
|
21854
21880
|
transfers: number;
|
|
21881
|
+
payouts: number;
|
|
21855
21882
|
netIncome: number;
|
|
21856
21883
|
currentBalance: number;
|
|
21857
21884
|
balanceEnd: number;
|
|
@@ -22190,6 +22217,7 @@ export interface operations {
|
|
|
22190
22217
|
party?: "manager" | "owners";
|
|
22191
22218
|
view?: "party" | "listing" | "month" | "quarter" | "year";
|
|
22192
22219
|
listingIds?: string;
|
|
22220
|
+
ledger?: "trust" | "operating";
|
|
22193
22221
|
};
|
|
22194
22222
|
header?: never;
|
|
22195
22223
|
path?: never;
|
|
@@ -22437,6 +22465,7 @@ export interface operations {
|
|
|
22437
22465
|
party?: "manager" | "owners";
|
|
22438
22466
|
view?: "party" | "listing" | "month" | "quarter" | "year";
|
|
22439
22467
|
listingIds?: string;
|
|
22468
|
+
ledger?: "trust" | "operating";
|
|
22440
22469
|
};
|
|
22441
22470
|
header?: never;
|
|
22442
22471
|
path?: never;
|
|
@@ -22786,6 +22815,7 @@ export interface operations {
|
|
|
22786
22815
|
startDate: string;
|
|
22787
22816
|
endDate: string;
|
|
22788
22817
|
classification?: string;
|
|
22818
|
+
ledger?: "trust" | "operating";
|
|
22789
22819
|
type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
22790
22820
|
party?: "owners" | "manager";
|
|
22791
22821
|
accountIds?: string;
|
|
@@ -22908,6 +22938,7 @@ export interface operations {
|
|
|
22908
22938
|
startDate: string;
|
|
22909
22939
|
endDate: string;
|
|
22910
22940
|
classification?: string;
|
|
22941
|
+
ledger?: "trust" | "operating";
|
|
22911
22942
|
type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
22912
22943
|
party?: "owners" | "manager";
|
|
22913
22944
|
accountIds?: string;
|
|
@@ -27894,6 +27925,8 @@ export interface operations {
|
|
|
27894
27925
|
/** @description Value in cents (100 = 1€) */
|
|
27895
27926
|
transfers: number;
|
|
27896
27927
|
/** @description Value in cents (100 = 1€) */
|
|
27928
|
+
payouts?: number;
|
|
27929
|
+
/** @description Value in cents (100 = 1€) */
|
|
27897
27930
|
balanceEnd: number;
|
|
27898
27931
|
};
|
|
27899
27932
|
payment: {
|
|
@@ -28077,6 +28110,12 @@ export interface operations {
|
|
|
28077
28110
|
total: number;
|
|
28078
28111
|
totalFormatted: string;
|
|
28079
28112
|
}[];
|
|
28113
|
+
payouts?: {
|
|
28114
|
+
id: string;
|
|
28115
|
+
date: string;
|
|
28116
|
+
total: number;
|
|
28117
|
+
totalFormatted: string;
|
|
28118
|
+
}[];
|
|
28080
28119
|
listing: {
|
|
28081
28120
|
id: string;
|
|
28082
28121
|
name: string;
|
|
@@ -28119,6 +28158,8 @@ export interface operations {
|
|
|
28119
28158
|
/** @description Value in cents (100 = 1€) */
|
|
28120
28159
|
transfers: number;
|
|
28121
28160
|
/** @description Value in cents (100 = 1€) */
|
|
28161
|
+
payouts?: number;
|
|
28162
|
+
/** @description Value in cents (100 = 1€) */
|
|
28122
28163
|
balanceEnd: number;
|
|
28123
28164
|
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28124
28165
|
currency: string;
|
|
@@ -28266,6 +28307,8 @@ export interface operations {
|
|
|
28266
28307
|
/** @description Value in cents (100 = 1€) */
|
|
28267
28308
|
transfers: number;
|
|
28268
28309
|
/** @description Value in cents (100 = 1€) */
|
|
28310
|
+
payouts?: number;
|
|
28311
|
+
/** @description Value in cents (100 = 1€) */
|
|
28269
28312
|
balanceEnd: number;
|
|
28270
28313
|
};
|
|
28271
28314
|
payment: {
|
|
@@ -28449,6 +28492,12 @@ export interface operations {
|
|
|
28449
28492
|
total: number;
|
|
28450
28493
|
totalFormatted: string;
|
|
28451
28494
|
}[];
|
|
28495
|
+
payouts?: {
|
|
28496
|
+
id: string;
|
|
28497
|
+
date: string;
|
|
28498
|
+
total: number;
|
|
28499
|
+
totalFormatted: string;
|
|
28500
|
+
}[];
|
|
28452
28501
|
listing: {
|
|
28453
28502
|
id: string;
|
|
28454
28503
|
name: string;
|
|
@@ -28863,6 +28912,8 @@ export interface operations {
|
|
|
28863
28912
|
/** @description Value in cents (100 = 1€) */
|
|
28864
28913
|
transfers: number;
|
|
28865
28914
|
/** @description Value in cents (100 = 1€) */
|
|
28915
|
+
payouts?: number;
|
|
28916
|
+
/** @description Value in cents (100 = 1€) */
|
|
28866
28917
|
balanceEnd: number;
|
|
28867
28918
|
};
|
|
28868
28919
|
payment: {
|
|
@@ -29046,6 +29097,12 @@ export interface operations {
|
|
|
29046
29097
|
total: number;
|
|
29047
29098
|
totalFormatted: string;
|
|
29048
29099
|
}[];
|
|
29100
|
+
payouts?: {
|
|
29101
|
+
id: string;
|
|
29102
|
+
date: string;
|
|
29103
|
+
total: number;
|
|
29104
|
+
totalFormatted: string;
|
|
29105
|
+
}[];
|
|
29049
29106
|
listing: {
|
|
29050
29107
|
id: string;
|
|
29051
29108
|
name: string;
|
|
@@ -31263,6 +31320,8 @@ export interface operations {
|
|
|
31263
31320
|
/** @description Value in cents (100 = 1€) */
|
|
31264
31321
|
transfers: number;
|
|
31265
31322
|
/** @description Value in cents (100 = 1€) */
|
|
31323
|
+
payouts?: number;
|
|
31324
|
+
/** @description Value in cents (100 = 1€) */
|
|
31266
31325
|
balanceEnd: number;
|
|
31267
31326
|
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31268
31327
|
currency: string;
|
|
@@ -31392,6 +31451,8 @@ export interface operations {
|
|
|
31392
31451
|
/** @description Value in cents (100 = 1€) */
|
|
31393
31452
|
transfers: number;
|
|
31394
31453
|
/** @description Value in cents (100 = 1€) */
|
|
31454
|
+
payouts?: number;
|
|
31455
|
+
/** @description Value in cents (100 = 1€) */
|
|
31395
31456
|
balanceEnd: number;
|
|
31396
31457
|
};
|
|
31397
31458
|
payment: {
|
|
@@ -31575,6 +31636,12 @@ export interface operations {
|
|
|
31575
31636
|
total: number;
|
|
31576
31637
|
totalFormatted: string;
|
|
31577
31638
|
}[];
|
|
31639
|
+
payouts?: {
|
|
31640
|
+
id: string;
|
|
31641
|
+
date: string;
|
|
31642
|
+
total: number;
|
|
31643
|
+
totalFormatted: string;
|
|
31644
|
+
}[];
|
|
31578
31645
|
listing: {
|
|
31579
31646
|
id: string;
|
|
31580
31647
|
name: string;
|
|
@@ -31994,6 +32061,8 @@ export interface operations {
|
|
|
31994
32061
|
/** @description Value in cents (100 = 1€) */
|
|
31995
32062
|
transfers: number;
|
|
31996
32063
|
/** @description Value in cents (100 = 1€) */
|
|
32064
|
+
payouts?: number;
|
|
32065
|
+
/** @description Value in cents (100 = 1€) */
|
|
31997
32066
|
balanceEnd: number;
|
|
31998
32067
|
};
|
|
31999
32068
|
payment: {
|
|
@@ -32177,6 +32246,12 @@ export interface operations {
|
|
|
32177
32246
|
total: number;
|
|
32178
32247
|
totalFormatted: string;
|
|
32179
32248
|
}[];
|
|
32249
|
+
payouts?: {
|
|
32250
|
+
id: string;
|
|
32251
|
+
date: string;
|
|
32252
|
+
total: number;
|
|
32253
|
+
totalFormatted: string;
|
|
32254
|
+
}[];
|
|
32180
32255
|
listing: {
|
|
32181
32256
|
id: string;
|
|
32182
32257
|
name: string;
|
|
@@ -39091,6 +39166,144 @@ export interface operations {
|
|
|
39091
39166
|
};
|
|
39092
39167
|
};
|
|
39093
39168
|
};
|
|
39169
|
+
getTransactionsPayoutsCsv: {
|
|
39170
|
+
parameters: {
|
|
39171
|
+
query?: {
|
|
39172
|
+
type?: "deposit" | "expense" | "transfer" | "payout";
|
|
39173
|
+
isOpeningBalance?: boolean;
|
|
39174
|
+
status?: "active" | "inactive";
|
|
39175
|
+
/** @description When true, include nested line items in each returned transaction. */
|
|
39176
|
+
includeLines?: boolean;
|
|
39177
|
+
accountId?: string;
|
|
39178
|
+
last4?: string;
|
|
39179
|
+
/** @description Filter by lock state. True returns locked rows; false returns unlocked rows. */
|
|
39180
|
+
isLocked?: boolean;
|
|
39181
|
+
/** @description Filter by whether the transaction has at least one active journal entry. */
|
|
39182
|
+
hasActiveJournalEntries?: boolean;
|
|
39183
|
+
/** @description connection id or 'null' */
|
|
39184
|
+
connectionId?: string;
|
|
39185
|
+
/** @description Amount in cents, also accepts ranges like 100...200 */
|
|
39186
|
+
amount?: string;
|
|
39187
|
+
/** @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. */
|
|
39188
|
+
paidAtRange?: string;
|
|
39189
|
+
/** @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. */
|
|
39190
|
+
dateRange?: string;
|
|
39191
|
+
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
39192
|
+
isDateRangeEndInclusive?: boolean;
|
|
39193
|
+
/** @description Comma-separated transaction unique refs. */
|
|
39194
|
+
uniqueRefs?: string;
|
|
39195
|
+
/** @description Comma-separated transaction short refs. */
|
|
39196
|
+
shortRefs?: string;
|
|
39197
|
+
/** @description Comma-separated transaction ids. */
|
|
39198
|
+
ids?: string;
|
|
39199
|
+
search?: string;
|
|
39200
|
+
recurringTemplateId?: string;
|
|
39201
|
+
paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
39202
|
+
/** @description Filter by reconciled state. True returns reconciled rows; false returns unreconciled rows. */
|
|
39203
|
+
reconciled?: boolean;
|
|
39204
|
+
contactId?: string;
|
|
39205
|
+
/** @description Comma-separated listing ids. */
|
|
39206
|
+
listingIds?: string;
|
|
39207
|
+
};
|
|
39208
|
+
header?: never;
|
|
39209
|
+
path?: never;
|
|
39210
|
+
cookie?: never;
|
|
39211
|
+
};
|
|
39212
|
+
requestBody?: never;
|
|
39213
|
+
responses: {
|
|
39214
|
+
/** @description Successful response */
|
|
39215
|
+
200: {
|
|
39216
|
+
headers: {
|
|
39217
|
+
[name: string]: unknown;
|
|
39218
|
+
};
|
|
39219
|
+
content: {
|
|
39220
|
+
"application/json": {
|
|
39221
|
+
url: string;
|
|
39222
|
+
};
|
|
39223
|
+
};
|
|
39224
|
+
};
|
|
39225
|
+
/** @description Bad request */
|
|
39226
|
+
400: {
|
|
39227
|
+
headers: {
|
|
39228
|
+
[name: string]: unknown;
|
|
39229
|
+
};
|
|
39230
|
+
content: {
|
|
39231
|
+
"application/json": {
|
|
39232
|
+
code: string;
|
|
39233
|
+
message: string;
|
|
39234
|
+
issues?: {
|
|
39235
|
+
message: string;
|
|
39236
|
+
}[];
|
|
39237
|
+
context?: unknown;
|
|
39238
|
+
};
|
|
39239
|
+
};
|
|
39240
|
+
};
|
|
39241
|
+
/** @description Unauthorized */
|
|
39242
|
+
401: {
|
|
39243
|
+
headers: {
|
|
39244
|
+
[name: string]: unknown;
|
|
39245
|
+
};
|
|
39246
|
+
content: {
|
|
39247
|
+
"application/json": {
|
|
39248
|
+
code: string;
|
|
39249
|
+
message: string;
|
|
39250
|
+
issues?: {
|
|
39251
|
+
message: string;
|
|
39252
|
+
}[];
|
|
39253
|
+
context?: unknown;
|
|
39254
|
+
};
|
|
39255
|
+
};
|
|
39256
|
+
};
|
|
39257
|
+
/** @description Forbidden */
|
|
39258
|
+
403: {
|
|
39259
|
+
headers: {
|
|
39260
|
+
[name: string]: unknown;
|
|
39261
|
+
};
|
|
39262
|
+
content: {
|
|
39263
|
+
"application/json": {
|
|
39264
|
+
code: string;
|
|
39265
|
+
message: string;
|
|
39266
|
+
issues?: {
|
|
39267
|
+
message: string;
|
|
39268
|
+
}[];
|
|
39269
|
+
context?: unknown;
|
|
39270
|
+
};
|
|
39271
|
+
};
|
|
39272
|
+
};
|
|
39273
|
+
/** @description Not found */
|
|
39274
|
+
404: {
|
|
39275
|
+
headers: {
|
|
39276
|
+
[name: string]: unknown;
|
|
39277
|
+
};
|
|
39278
|
+
content: {
|
|
39279
|
+
"application/json": {
|
|
39280
|
+
code: string;
|
|
39281
|
+
message: string;
|
|
39282
|
+
issues?: {
|
|
39283
|
+
message: string;
|
|
39284
|
+
}[];
|
|
39285
|
+
context?: unknown;
|
|
39286
|
+
};
|
|
39287
|
+
};
|
|
39288
|
+
};
|
|
39289
|
+
/** @description Internal server error */
|
|
39290
|
+
500: {
|
|
39291
|
+
headers: {
|
|
39292
|
+
[name: string]: unknown;
|
|
39293
|
+
};
|
|
39294
|
+
content: {
|
|
39295
|
+
"application/json": {
|
|
39296
|
+
code: string;
|
|
39297
|
+
message: string;
|
|
39298
|
+
issues?: {
|
|
39299
|
+
message: string;
|
|
39300
|
+
}[];
|
|
39301
|
+
context?: unknown;
|
|
39302
|
+
};
|
|
39303
|
+
};
|
|
39304
|
+
};
|
|
39305
|
+
};
|
|
39306
|
+
};
|
|
39094
39307
|
getTransactionsRecurringTemplates: {
|
|
39095
39308
|
parameters: {
|
|
39096
39309
|
query?: {
|