@vrplatform/api 1.3.1-stage.1428 → 1.3.1-stage.1429
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.
|
@@ -57,6 +57,23 @@ export interface paths {
|
|
|
57
57
|
patch?: never;
|
|
58
58
|
trace?: never;
|
|
59
59
|
};
|
|
60
|
+
"/accounts/{id}/recalculate-balances": {
|
|
61
|
+
parameters: {
|
|
62
|
+
query?: never;
|
|
63
|
+
header?: never;
|
|
64
|
+
path?: never;
|
|
65
|
+
cookie?: never;
|
|
66
|
+
};
|
|
67
|
+
get?: never;
|
|
68
|
+
/** @description Recalculate balances for an account by ID */
|
|
69
|
+
put: operations["putAccounts:idRecalculate-balances"];
|
|
70
|
+
post?: never;
|
|
71
|
+
delete?: never;
|
|
72
|
+
options?: never;
|
|
73
|
+
head?: never;
|
|
74
|
+
patch?: never;
|
|
75
|
+
trace?: never;
|
|
76
|
+
};
|
|
60
77
|
"/apps": {
|
|
61
78
|
parameters: {
|
|
62
79
|
query?: never;
|
|
@@ -3344,6 +3361,130 @@ export interface operations {
|
|
|
3344
3361
|
};
|
|
3345
3362
|
};
|
|
3346
3363
|
};
|
|
3364
|
+
"putAccounts:idRecalculate-balances": {
|
|
3365
|
+
parameters: {
|
|
3366
|
+
query?: never;
|
|
3367
|
+
header?: never;
|
|
3368
|
+
path: {
|
|
3369
|
+
id: string;
|
|
3370
|
+
};
|
|
3371
|
+
cookie?: never;
|
|
3372
|
+
};
|
|
3373
|
+
requestBody?: {
|
|
3374
|
+
content: {
|
|
3375
|
+
"application/json": {
|
|
3376
|
+
name?: string;
|
|
3377
|
+
/** @enum {string} */
|
|
3378
|
+
status?: "active" | "inactive";
|
|
3379
|
+
/** @enum {string} */
|
|
3380
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
3381
|
+
assignments?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[] | null;
|
|
3382
|
+
offsetAccountId?: string | null;
|
|
3383
|
+
categoryId?: string;
|
|
3384
|
+
banking?: {
|
|
3385
|
+
category?: ("trust" | "operating" | "external") | null;
|
|
3386
|
+
type?: ("deposit" | "creditCard") | null;
|
|
3387
|
+
last4?: string | null;
|
|
3388
|
+
currency?: string | null;
|
|
3389
|
+
} | null;
|
|
3390
|
+
uniqueRef?: string | null;
|
|
3391
|
+
};
|
|
3392
|
+
};
|
|
3393
|
+
};
|
|
3394
|
+
responses: {
|
|
3395
|
+
/** @description Successful response */
|
|
3396
|
+
200: {
|
|
3397
|
+
headers: {
|
|
3398
|
+
[name: string]: unknown;
|
|
3399
|
+
};
|
|
3400
|
+
content: {
|
|
3401
|
+
"application/json": {
|
|
3402
|
+
success: boolean;
|
|
3403
|
+
};
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
/** @description Bad request */
|
|
3407
|
+
400: {
|
|
3408
|
+
headers: {
|
|
3409
|
+
[name: string]: unknown;
|
|
3410
|
+
};
|
|
3411
|
+
content: {
|
|
3412
|
+
"application/json": {
|
|
3413
|
+
code: string;
|
|
3414
|
+
message: string;
|
|
3415
|
+
issues?: {
|
|
3416
|
+
message: string;
|
|
3417
|
+
}[];
|
|
3418
|
+
context?: unknown;
|
|
3419
|
+
};
|
|
3420
|
+
};
|
|
3421
|
+
};
|
|
3422
|
+
/** @description Unauthorized */
|
|
3423
|
+
401: {
|
|
3424
|
+
headers: {
|
|
3425
|
+
[name: string]: unknown;
|
|
3426
|
+
};
|
|
3427
|
+
content: {
|
|
3428
|
+
"application/json": {
|
|
3429
|
+
code: string;
|
|
3430
|
+
message: string;
|
|
3431
|
+
issues?: {
|
|
3432
|
+
message: string;
|
|
3433
|
+
}[];
|
|
3434
|
+
context?: unknown;
|
|
3435
|
+
};
|
|
3436
|
+
};
|
|
3437
|
+
};
|
|
3438
|
+
/** @description Forbidden */
|
|
3439
|
+
403: {
|
|
3440
|
+
headers: {
|
|
3441
|
+
[name: string]: unknown;
|
|
3442
|
+
};
|
|
3443
|
+
content: {
|
|
3444
|
+
"application/json": {
|
|
3445
|
+
code: string;
|
|
3446
|
+
message: string;
|
|
3447
|
+
issues?: {
|
|
3448
|
+
message: string;
|
|
3449
|
+
}[];
|
|
3450
|
+
context?: unknown;
|
|
3451
|
+
};
|
|
3452
|
+
};
|
|
3453
|
+
};
|
|
3454
|
+
/** @description Not found */
|
|
3455
|
+
404: {
|
|
3456
|
+
headers: {
|
|
3457
|
+
[name: string]: unknown;
|
|
3458
|
+
};
|
|
3459
|
+
content: {
|
|
3460
|
+
"application/json": {
|
|
3461
|
+
code: string;
|
|
3462
|
+
message: string;
|
|
3463
|
+
issues?: {
|
|
3464
|
+
message: string;
|
|
3465
|
+
}[];
|
|
3466
|
+
context?: unknown;
|
|
3467
|
+
};
|
|
3468
|
+
};
|
|
3469
|
+
};
|
|
3470
|
+
/** @description Internal server error */
|
|
3471
|
+
500: {
|
|
3472
|
+
headers: {
|
|
3473
|
+
[name: string]: unknown;
|
|
3474
|
+
};
|
|
3475
|
+
content: {
|
|
3476
|
+
"application/json": {
|
|
3477
|
+
code: string;
|
|
3478
|
+
message: string;
|
|
3479
|
+
issues?: {
|
|
3480
|
+
message: string;
|
|
3481
|
+
}[];
|
|
3482
|
+
context?: unknown;
|
|
3483
|
+
};
|
|
3484
|
+
};
|
|
3485
|
+
};
|
|
3486
|
+
};
|
|
3487
|
+
};
|
|
3347
3488
|
getApps: {
|
|
3348
3489
|
parameters: {
|
|
3349
3490
|
query?: {
|