@vrplatform/api 1.3.1-1984 → 1.3.1-2007
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/package.json
CHANGED
package/src/generated/v1.ts
CHANGED
|
@@ -834,6 +834,23 @@ export interface paths {
|
|
|
834
834
|
patch?: never;
|
|
835
835
|
trace?: never;
|
|
836
836
|
};
|
|
837
|
+
"/listings/opening-balance": {
|
|
838
|
+
parameters: {
|
|
839
|
+
query?: never;
|
|
840
|
+
header?: never;
|
|
841
|
+
path?: never;
|
|
842
|
+
cookie?: never;
|
|
843
|
+
};
|
|
844
|
+
/** @description Get opening balances for listings */
|
|
845
|
+
get: operations["getListingsOpeningBalance"];
|
|
846
|
+
put?: never;
|
|
847
|
+
post?: never;
|
|
848
|
+
delete?: never;
|
|
849
|
+
options?: never;
|
|
850
|
+
head?: never;
|
|
851
|
+
patch?: never;
|
|
852
|
+
trace?: never;
|
|
853
|
+
};
|
|
837
854
|
"/listings/ownership-periods": {
|
|
838
855
|
parameters: {
|
|
839
856
|
query?: never;
|
|
@@ -9684,8 +9701,10 @@ export interface operations {
|
|
|
9684
9701
|
title: string;
|
|
9685
9702
|
/** @description Description for UI/display */
|
|
9686
9703
|
description: string;
|
|
9704
|
+
/** @description Optional internal left-side semantic type for internal-keyed mappings */
|
|
9705
|
+
type?: string;
|
|
9687
9706
|
/** @description Internal system mapping configuration */
|
|
9688
|
-
internal
|
|
9707
|
+
internal?: {
|
|
9689
9708
|
/**
|
|
9690
9709
|
* @description Internal semantic type
|
|
9691
9710
|
* @enum {string}
|
|
@@ -9695,7 +9714,7 @@ export interface operations {
|
|
|
9695
9714
|
filter?: string;
|
|
9696
9715
|
};
|
|
9697
9716
|
/** @description External system mapping configuration */
|
|
9698
|
-
external
|
|
9717
|
+
external?: {
|
|
9699
9718
|
/** @description External type identifier (vendor/system specific) */
|
|
9700
9719
|
type: string;
|
|
9701
9720
|
/** @description Optional JSONB filter for external data */
|
|
@@ -9856,8 +9875,10 @@ export interface operations {
|
|
|
9856
9875
|
title: string;
|
|
9857
9876
|
/** @description Description for UI/display */
|
|
9858
9877
|
description: string;
|
|
9878
|
+
/** @description Optional internal left-side semantic type for internal-keyed mappings */
|
|
9879
|
+
type?: string;
|
|
9859
9880
|
/** @description Internal system mapping configuration */
|
|
9860
|
-
internal
|
|
9881
|
+
internal?: {
|
|
9861
9882
|
/**
|
|
9862
9883
|
* @description Internal semantic type
|
|
9863
9884
|
* @enum {string}
|
|
@@ -9867,7 +9888,7 @@ export interface operations {
|
|
|
9867
9888
|
filter?: string;
|
|
9868
9889
|
};
|
|
9869
9890
|
/** @description External system mapping configuration */
|
|
9870
|
-
external
|
|
9891
|
+
external?: {
|
|
9871
9892
|
/** @description External type identifier (vendor/system specific) */
|
|
9872
9893
|
type: string;
|
|
9873
9894
|
/** @description Optional JSONB filter for external data */
|
|
@@ -12320,6 +12341,156 @@ export interface operations {
|
|
|
12320
12341
|
};
|
|
12321
12342
|
};
|
|
12322
12343
|
};
|
|
12344
|
+
getListingsOpeningBalance: {
|
|
12345
|
+
parameters: {
|
|
12346
|
+
query?: {
|
|
12347
|
+
status?: "active" | "inactive";
|
|
12348
|
+
connectionId?: string;
|
|
12349
|
+
/** @description comma separated listing ids */
|
|
12350
|
+
ids?: string;
|
|
12351
|
+
search?: string;
|
|
12352
|
+
contactId?: string;
|
|
12353
|
+
/** @description comma separated listing short refs */
|
|
12354
|
+
shortRefs?: string;
|
|
12355
|
+
activeOwnership?: boolean;
|
|
12356
|
+
activeRecurringFeePeriods?: string;
|
|
12357
|
+
/** @description Filter listings that have (true) or lack (false) opening balances */
|
|
12358
|
+
openingBalance?: boolean;
|
|
12359
|
+
/** @description Filter listings by setup issue code, "all" (all setup issues), or "any" (at least one setup issue) */
|
|
12360
|
+
issue?: "all" | "any" | "missingOwnershipOrDeactivation" | "missingFeesAndCommission" | "missingOpeningBalance";
|
|
12361
|
+
limit?: number;
|
|
12362
|
+
page?: number;
|
|
12363
|
+
};
|
|
12364
|
+
header?: never;
|
|
12365
|
+
path?: never;
|
|
12366
|
+
cookie?: never;
|
|
12367
|
+
};
|
|
12368
|
+
requestBody?: never;
|
|
12369
|
+
responses: {
|
|
12370
|
+
/** @description Successful response */
|
|
12371
|
+
200: {
|
|
12372
|
+
headers: {
|
|
12373
|
+
[name: string]: unknown;
|
|
12374
|
+
};
|
|
12375
|
+
content: {
|
|
12376
|
+
"application/json": {
|
|
12377
|
+
data: {
|
|
12378
|
+
/** Format: uuid */
|
|
12379
|
+
id: string;
|
|
12380
|
+
name: string;
|
|
12381
|
+
address?: {
|
|
12382
|
+
full?: string | null;
|
|
12383
|
+
line1?: string | null;
|
|
12384
|
+
line2?: string | null;
|
|
12385
|
+
city?: string | null;
|
|
12386
|
+
/** @description Deprecated, use stateCode instead */
|
|
12387
|
+
state?: string | null;
|
|
12388
|
+
postalCode?: string | null;
|
|
12389
|
+
stateCode?: string | null;
|
|
12390
|
+
countryCode?: string | null;
|
|
12391
|
+
} | null;
|
|
12392
|
+
openingBalance: {
|
|
12393
|
+
/** @description Value in cents (100 = 1€) */
|
|
12394
|
+
amount: number;
|
|
12395
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
12396
|
+
currency: string;
|
|
12397
|
+
updatedAt?: string | null;
|
|
12398
|
+
};
|
|
12399
|
+
}[];
|
|
12400
|
+
pagination: {
|
|
12401
|
+
/** @default 100 */
|
|
12402
|
+
limit: number;
|
|
12403
|
+
/** @default 1 */
|
|
12404
|
+
page: number;
|
|
12405
|
+
total: number;
|
|
12406
|
+
totalPage: number;
|
|
12407
|
+
nextPage?: number;
|
|
12408
|
+
};
|
|
12409
|
+
};
|
|
12410
|
+
};
|
|
12411
|
+
};
|
|
12412
|
+
/** @description Bad request */
|
|
12413
|
+
400: {
|
|
12414
|
+
headers: {
|
|
12415
|
+
[name: string]: unknown;
|
|
12416
|
+
};
|
|
12417
|
+
content: {
|
|
12418
|
+
"application/json": {
|
|
12419
|
+
code: string;
|
|
12420
|
+
message: string;
|
|
12421
|
+
issues?: {
|
|
12422
|
+
message: string;
|
|
12423
|
+
}[];
|
|
12424
|
+
context?: unknown;
|
|
12425
|
+
};
|
|
12426
|
+
};
|
|
12427
|
+
};
|
|
12428
|
+
/** @description Unauthorized */
|
|
12429
|
+
401: {
|
|
12430
|
+
headers: {
|
|
12431
|
+
[name: string]: unknown;
|
|
12432
|
+
};
|
|
12433
|
+
content: {
|
|
12434
|
+
"application/json": {
|
|
12435
|
+
code: string;
|
|
12436
|
+
message: string;
|
|
12437
|
+
issues?: {
|
|
12438
|
+
message: string;
|
|
12439
|
+
}[];
|
|
12440
|
+
context?: unknown;
|
|
12441
|
+
};
|
|
12442
|
+
};
|
|
12443
|
+
};
|
|
12444
|
+
/** @description Forbidden */
|
|
12445
|
+
403: {
|
|
12446
|
+
headers: {
|
|
12447
|
+
[name: string]: unknown;
|
|
12448
|
+
};
|
|
12449
|
+
content: {
|
|
12450
|
+
"application/json": {
|
|
12451
|
+
code: string;
|
|
12452
|
+
message: string;
|
|
12453
|
+
issues?: {
|
|
12454
|
+
message: string;
|
|
12455
|
+
}[];
|
|
12456
|
+
context?: unknown;
|
|
12457
|
+
};
|
|
12458
|
+
};
|
|
12459
|
+
};
|
|
12460
|
+
/** @description Not found */
|
|
12461
|
+
404: {
|
|
12462
|
+
headers: {
|
|
12463
|
+
[name: string]: unknown;
|
|
12464
|
+
};
|
|
12465
|
+
content: {
|
|
12466
|
+
"application/json": {
|
|
12467
|
+
code: string;
|
|
12468
|
+
message: string;
|
|
12469
|
+
issues?: {
|
|
12470
|
+
message: string;
|
|
12471
|
+
}[];
|
|
12472
|
+
context?: unknown;
|
|
12473
|
+
};
|
|
12474
|
+
};
|
|
12475
|
+
};
|
|
12476
|
+
/** @description Internal server error */
|
|
12477
|
+
500: {
|
|
12478
|
+
headers: {
|
|
12479
|
+
[name: string]: unknown;
|
|
12480
|
+
};
|
|
12481
|
+
content: {
|
|
12482
|
+
"application/json": {
|
|
12483
|
+
code: string;
|
|
12484
|
+
message: string;
|
|
12485
|
+
issues?: {
|
|
12486
|
+
message: string;
|
|
12487
|
+
}[];
|
|
12488
|
+
context?: unknown;
|
|
12489
|
+
};
|
|
12490
|
+
};
|
|
12491
|
+
};
|
|
12492
|
+
};
|
|
12493
|
+
};
|
|
12323
12494
|
getListingsOwnershipPeriods: {
|
|
12324
12495
|
parameters: {
|
|
12325
12496
|
query?: {
|
|
@@ -20229,6 +20400,7 @@ export interface operations {
|
|
|
20229
20400
|
layouts: {
|
|
20230
20401
|
layoutId: string;
|
|
20231
20402
|
layoutName: string;
|
|
20403
|
+
hideBookingChannel: boolean;
|
|
20232
20404
|
netRevenueSection: {
|
|
20233
20405
|
title: string;
|
|
20234
20406
|
rows: {
|
|
@@ -27851,8 +28023,6 @@ export interface operations {
|
|
|
27851
28023
|
getStatementsCsv: {
|
|
27852
28024
|
parameters: {
|
|
27853
28025
|
query?: {
|
|
27854
|
-
limit?: number;
|
|
27855
|
-
page?: number;
|
|
27856
28026
|
periodIds?: string;
|
|
27857
28027
|
/** @description Year in format YYYY */
|
|
27858
28028
|
year?: number;
|
|
@@ -32758,7 +32928,7 @@ export interface operations {
|
|
|
32758
32928
|
tenantName: string;
|
|
32759
32929
|
issues: {
|
|
32760
32930
|
/** @enum {string} */
|
|
32761
|
-
code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
|
|
32931
|
+
code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
|
|
32762
32932
|
/** @enum {string} */
|
|
32763
32933
|
severity: "error" | "warning";
|
|
32764
32934
|
/** @enum {string} */
|
|
@@ -34551,7 +34721,7 @@ export interface operations {
|
|
|
34551
34721
|
tenantName: string;
|
|
34552
34722
|
issues: {
|
|
34553
34723
|
/** @enum {string} */
|
|
34554
|
-
code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
|
|
34724
|
+
code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
|
|
34555
34725
|
/** @enum {string} */
|
|
34556
34726
|
severity: "error" | "warning";
|
|
34557
34727
|
/** @enum {string} */
|