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