@vrplatform/api 1.3.1-stage.1921 → 1.3.1-stage.1925
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 +144 -15
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +144 -15
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +144 -15
package/package.json
CHANGED
package/src/generated/v1.ts
CHANGED
|
@@ -1794,7 +1794,8 @@ export interface paths {
|
|
|
1794
1794
|
/** @description Reservation Line Mappings List */
|
|
1795
1795
|
get: operations["getReservationsLineMappings"];
|
|
1796
1796
|
put?: never;
|
|
1797
|
-
|
|
1797
|
+
/** @description Create reservation line mapping */
|
|
1798
|
+
post: operations["postReservationsLineMappings"];
|
|
1798
1799
|
delete?: never;
|
|
1799
1800
|
options?: never;
|
|
1800
1801
|
head?: never;
|
|
@@ -22326,6 +22327,9 @@ export interface operations {
|
|
|
22326
22327
|
status: "mapped" | "unmapped" | "excluded";
|
|
22327
22328
|
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
22328
22329
|
type: string;
|
|
22330
|
+
description?: string | null;
|
|
22331
|
+
/** @enum {string} */
|
|
22332
|
+
source: "manual" | "synced";
|
|
22329
22333
|
channelMappings: {
|
|
22330
22334
|
id?: string | null;
|
|
22331
22335
|
account?: {
|
|
@@ -22433,6 +22437,141 @@ export interface operations {
|
|
|
22433
22437
|
};
|
|
22434
22438
|
};
|
|
22435
22439
|
};
|
|
22440
|
+
postReservationsLineMappings: {
|
|
22441
|
+
parameters: {
|
|
22442
|
+
query?: never;
|
|
22443
|
+
header?: never;
|
|
22444
|
+
path?: never;
|
|
22445
|
+
cookie?: never;
|
|
22446
|
+
};
|
|
22447
|
+
requestBody?: {
|
|
22448
|
+
content: {
|
|
22449
|
+
"application/json": {
|
|
22450
|
+
type: string;
|
|
22451
|
+
description?: string | null;
|
|
22452
|
+
accountId?: string | null;
|
|
22453
|
+
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
22454
|
+
};
|
|
22455
|
+
};
|
|
22456
|
+
};
|
|
22457
|
+
responses: {
|
|
22458
|
+
/** @description Successful response */
|
|
22459
|
+
200: {
|
|
22460
|
+
headers: {
|
|
22461
|
+
[name: string]: unknown;
|
|
22462
|
+
};
|
|
22463
|
+
content: {
|
|
22464
|
+
"application/json": {
|
|
22465
|
+
id?: string | null;
|
|
22466
|
+
account?: {
|
|
22467
|
+
/** Format: uuid */
|
|
22468
|
+
id: string;
|
|
22469
|
+
name: string;
|
|
22470
|
+
} | null;
|
|
22471
|
+
/** @enum {string} */
|
|
22472
|
+
status: "mapped" | "unmapped" | "excluded";
|
|
22473
|
+
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
22474
|
+
type: string;
|
|
22475
|
+
description?: string | null;
|
|
22476
|
+
/** @enum {string} */
|
|
22477
|
+
source: "manual" | "synced";
|
|
22478
|
+
channelMappings: {
|
|
22479
|
+
id?: string | null;
|
|
22480
|
+
account?: {
|
|
22481
|
+
/** Format: uuid */
|
|
22482
|
+
id: string;
|
|
22483
|
+
name: string;
|
|
22484
|
+
} | null;
|
|
22485
|
+
/** @enum {string} */
|
|
22486
|
+
status: "mapped" | "unmapped" | "excluded";
|
|
22487
|
+
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
22488
|
+
bookingChannel: string;
|
|
22489
|
+
}[];
|
|
22490
|
+
};
|
|
22491
|
+
};
|
|
22492
|
+
};
|
|
22493
|
+
/** @description Bad request */
|
|
22494
|
+
400: {
|
|
22495
|
+
headers: {
|
|
22496
|
+
[name: string]: unknown;
|
|
22497
|
+
};
|
|
22498
|
+
content: {
|
|
22499
|
+
"application/json": {
|
|
22500
|
+
code: string;
|
|
22501
|
+
message: string;
|
|
22502
|
+
issues?: {
|
|
22503
|
+
message: string;
|
|
22504
|
+
}[];
|
|
22505
|
+
context?: unknown;
|
|
22506
|
+
};
|
|
22507
|
+
};
|
|
22508
|
+
};
|
|
22509
|
+
/** @description Unauthorized */
|
|
22510
|
+
401: {
|
|
22511
|
+
headers: {
|
|
22512
|
+
[name: string]: unknown;
|
|
22513
|
+
};
|
|
22514
|
+
content: {
|
|
22515
|
+
"application/json": {
|
|
22516
|
+
code: string;
|
|
22517
|
+
message: string;
|
|
22518
|
+
issues?: {
|
|
22519
|
+
message: string;
|
|
22520
|
+
}[];
|
|
22521
|
+
context?: unknown;
|
|
22522
|
+
};
|
|
22523
|
+
};
|
|
22524
|
+
};
|
|
22525
|
+
/** @description Forbidden */
|
|
22526
|
+
403: {
|
|
22527
|
+
headers: {
|
|
22528
|
+
[name: string]: unknown;
|
|
22529
|
+
};
|
|
22530
|
+
content: {
|
|
22531
|
+
"application/json": {
|
|
22532
|
+
code: string;
|
|
22533
|
+
message: string;
|
|
22534
|
+
issues?: {
|
|
22535
|
+
message: string;
|
|
22536
|
+
}[];
|
|
22537
|
+
context?: unknown;
|
|
22538
|
+
};
|
|
22539
|
+
};
|
|
22540
|
+
};
|
|
22541
|
+
/** @description Not found */
|
|
22542
|
+
404: {
|
|
22543
|
+
headers: {
|
|
22544
|
+
[name: string]: unknown;
|
|
22545
|
+
};
|
|
22546
|
+
content: {
|
|
22547
|
+
"application/json": {
|
|
22548
|
+
code: string;
|
|
22549
|
+
message: string;
|
|
22550
|
+
issues?: {
|
|
22551
|
+
message: string;
|
|
22552
|
+
}[];
|
|
22553
|
+
context?: unknown;
|
|
22554
|
+
};
|
|
22555
|
+
};
|
|
22556
|
+
};
|
|
22557
|
+
/** @description Internal server error */
|
|
22558
|
+
500: {
|
|
22559
|
+
headers: {
|
|
22560
|
+
[name: string]: unknown;
|
|
22561
|
+
};
|
|
22562
|
+
content: {
|
|
22563
|
+
"application/json": {
|
|
22564
|
+
code: string;
|
|
22565
|
+
message: string;
|
|
22566
|
+
issues?: {
|
|
22567
|
+
message: string;
|
|
22568
|
+
}[];
|
|
22569
|
+
context?: unknown;
|
|
22570
|
+
};
|
|
22571
|
+
};
|
|
22572
|
+
};
|
|
22573
|
+
};
|
|
22574
|
+
};
|
|
22436
22575
|
getReservationsLineMappingsCsv: {
|
|
22437
22576
|
parameters: {
|
|
22438
22577
|
query?: {
|
|
@@ -22553,6 +22692,7 @@ export interface operations {
|
|
|
22553
22692
|
requestBody?: {
|
|
22554
22693
|
content: {
|
|
22555
22694
|
"application/json": {
|
|
22695
|
+
description?: string | null;
|
|
22556
22696
|
accountId?: string | null;
|
|
22557
22697
|
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
22558
22698
|
channelMappings?: {
|
|
@@ -22581,6 +22721,9 @@ export interface operations {
|
|
|
22581
22721
|
status: "mapped" | "unmapped" | "excluded";
|
|
22582
22722
|
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
22583
22723
|
type: string;
|
|
22724
|
+
description?: string | null;
|
|
22725
|
+
/** @enum {string} */
|
|
22726
|
+
source: "manual" | "synced";
|
|
22584
22727
|
channelMappings: {
|
|
22585
22728
|
id?: string | null;
|
|
22586
22729
|
account?: {
|
|
@@ -25249,27 +25392,20 @@ export interface operations {
|
|
|
25249
25392
|
query?: {
|
|
25250
25393
|
limit?: number;
|
|
25251
25394
|
page?: number;
|
|
25252
|
-
/** @description comma separated periods */
|
|
25253
25395
|
periodIds?: string;
|
|
25254
25396
|
/** @description Year in format YYYY */
|
|
25255
25397
|
year?: number;
|
|
25256
|
-
/** @description comma separated listings */
|
|
25257
25398
|
listingIds?: string;
|
|
25258
|
-
/** @description comma separated statements */
|
|
25259
25399
|
statementIds?: string;
|
|
25260
25400
|
/** @description Date in format YYYY-MM */
|
|
25261
25401
|
month?: string;
|
|
25262
25402
|
search?: string;
|
|
25263
25403
|
status?: ("draft" | "inReview" | "published") | "all";
|
|
25264
|
-
/** @description comma separated owners */
|
|
25265
25404
|
ownerIds?: string;
|
|
25266
|
-
/** @description comma separated owners */
|
|
25267
25405
|
listingCollectionIds?: string;
|
|
25268
|
-
/** @description comma separated recurring fees */
|
|
25269
25406
|
recurringFeeIds?: string;
|
|
25270
25407
|
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
25271
25408
|
dateRange?: string;
|
|
25272
|
-
/** @description Whether the end date is inclusive or exclusive */
|
|
25273
25409
|
isDateRangeEndInclusive?: boolean;
|
|
25274
25410
|
};
|
|
25275
25411
|
header?: never;
|
|
@@ -26846,27 +26982,20 @@ export interface operations {
|
|
|
26846
26982
|
query?: {
|
|
26847
26983
|
limit?: number;
|
|
26848
26984
|
page?: number;
|
|
26849
|
-
/** @description comma separated periods */
|
|
26850
26985
|
periodIds?: string;
|
|
26851
26986
|
/** @description Year in format YYYY */
|
|
26852
26987
|
year?: number;
|
|
26853
|
-
/** @description comma separated listings */
|
|
26854
26988
|
listingIds?: string;
|
|
26855
|
-
/** @description comma separated statements */
|
|
26856
26989
|
statementIds?: string;
|
|
26857
26990
|
/** @description Date in format YYYY-MM */
|
|
26858
26991
|
month?: string;
|
|
26859
26992
|
search?: string;
|
|
26860
26993
|
status?: ("draft" | "inReview" | "published") | "all";
|
|
26861
|
-
/** @description comma separated owners */
|
|
26862
26994
|
ownerIds?: string;
|
|
26863
|
-
/** @description comma separated owners */
|
|
26864
26995
|
listingCollectionIds?: string;
|
|
26865
|
-
/** @description comma separated recurring fees */
|
|
26866
26996
|
recurringFeeIds?: string;
|
|
26867
26997
|
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
26868
26998
|
dateRange?: string;
|
|
26869
|
-
/** @description Whether the end date is inclusive or exclusive */
|
|
26870
26999
|
isDateRangeEndInclusive?: boolean;
|
|
26871
27000
|
};
|
|
26872
27001
|
header?: never;
|