@vrplatform/api 1.3.1-stage.1921 → 1.3.1-stage.1922

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.
@@ -1793,7 +1793,8 @@ export interface paths {
1793
1793
  /** @description Reservation Line Mappings List */
1794
1794
  get: operations["getReservationsLineMappings"];
1795
1795
  put?: never;
1796
- post?: never;
1796
+ /** @description Create reservation line mapping */
1797
+ post: operations["postReservationsLineMappings"];
1797
1798
  delete?: never;
1798
1799
  options?: never;
1799
1800
  head?: never;
@@ -22325,6 +22326,9 @@ export interface operations {
22325
22326
  status: "mapped" | "unmapped" | "excluded";
22326
22327
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22327
22328
  type: string;
22329
+ description?: string | null;
22330
+ /** @enum {string} */
22331
+ source: "manual" | "synced";
22328
22332
  channelMappings: {
22329
22333
  id?: string | null;
22330
22334
  account?: {
@@ -22432,6 +22436,141 @@ export interface operations {
22432
22436
  };
22433
22437
  };
22434
22438
  };
22439
+ postReservationsLineMappings: {
22440
+ parameters: {
22441
+ query?: never;
22442
+ header?: never;
22443
+ path?: never;
22444
+ cookie?: never;
22445
+ };
22446
+ requestBody?: {
22447
+ content: {
22448
+ "application/json": {
22449
+ type: string;
22450
+ description?: string | null;
22451
+ accountId?: string | null;
22452
+ revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22453
+ };
22454
+ };
22455
+ };
22456
+ responses: {
22457
+ /** @description Successful response */
22458
+ 200: {
22459
+ headers: {
22460
+ [name: string]: unknown;
22461
+ };
22462
+ content: {
22463
+ "application/json": {
22464
+ id?: string | null;
22465
+ account?: {
22466
+ /** Format: uuid */
22467
+ id: string;
22468
+ name: string;
22469
+ } | null;
22470
+ /** @enum {string} */
22471
+ status: "mapped" | "unmapped" | "excluded";
22472
+ revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22473
+ type: string;
22474
+ description?: string | null;
22475
+ /** @enum {string} */
22476
+ source: "manual" | "synced";
22477
+ channelMappings: {
22478
+ id?: string | null;
22479
+ account?: {
22480
+ /** Format: uuid */
22481
+ id: string;
22482
+ name: string;
22483
+ } | null;
22484
+ /** @enum {string} */
22485
+ status: "mapped" | "unmapped" | "excluded";
22486
+ revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22487
+ bookingChannel: string;
22488
+ }[];
22489
+ };
22490
+ };
22491
+ };
22492
+ /** @description Bad request */
22493
+ 400: {
22494
+ headers: {
22495
+ [name: string]: unknown;
22496
+ };
22497
+ content: {
22498
+ "application/json": {
22499
+ code: string;
22500
+ message: string;
22501
+ issues?: {
22502
+ message: string;
22503
+ }[];
22504
+ context?: unknown;
22505
+ };
22506
+ };
22507
+ };
22508
+ /** @description Unauthorized */
22509
+ 401: {
22510
+ headers: {
22511
+ [name: string]: unknown;
22512
+ };
22513
+ content: {
22514
+ "application/json": {
22515
+ code: string;
22516
+ message: string;
22517
+ issues?: {
22518
+ message: string;
22519
+ }[];
22520
+ context?: unknown;
22521
+ };
22522
+ };
22523
+ };
22524
+ /** @description Forbidden */
22525
+ 403: {
22526
+ headers: {
22527
+ [name: string]: unknown;
22528
+ };
22529
+ content: {
22530
+ "application/json": {
22531
+ code: string;
22532
+ message: string;
22533
+ issues?: {
22534
+ message: string;
22535
+ }[];
22536
+ context?: unknown;
22537
+ };
22538
+ };
22539
+ };
22540
+ /** @description Not found */
22541
+ 404: {
22542
+ headers: {
22543
+ [name: string]: unknown;
22544
+ };
22545
+ content: {
22546
+ "application/json": {
22547
+ code: string;
22548
+ message: string;
22549
+ issues?: {
22550
+ message: string;
22551
+ }[];
22552
+ context?: unknown;
22553
+ };
22554
+ };
22555
+ };
22556
+ /** @description Internal server error */
22557
+ 500: {
22558
+ headers: {
22559
+ [name: string]: unknown;
22560
+ };
22561
+ content: {
22562
+ "application/json": {
22563
+ code: string;
22564
+ message: string;
22565
+ issues?: {
22566
+ message: string;
22567
+ }[];
22568
+ context?: unknown;
22569
+ };
22570
+ };
22571
+ };
22572
+ };
22573
+ };
22435
22574
  getReservationsLineMappingsCsv: {
22436
22575
  parameters: {
22437
22576
  query?: {
@@ -22552,6 +22691,7 @@ export interface operations {
22552
22691
  requestBody?: {
22553
22692
  content: {
22554
22693
  "application/json": {
22694
+ description?: string | null;
22555
22695
  accountId?: string | null;
22556
22696
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22557
22697
  channelMappings?: {
@@ -22580,6 +22720,9 @@ export interface operations {
22580
22720
  status: "mapped" | "unmapped" | "excluded";
22581
22721
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22582
22722
  type: string;
22723
+ description?: string | null;
22724
+ /** @enum {string} */
22725
+ source: "manual" | "synced";
22583
22726
  channelMappings: {
22584
22727
  id?: string | null;
22585
22728
  account?: {