@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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-stage.1921",
6
+ "version": "1.3.1-stage.1922",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1794,7 +1794,8 @@ export interface paths {
1794
1794
  /** @description Reservation Line Mappings List */
1795
1795
  get: operations["getReservationsLineMappings"];
1796
1796
  put?: never;
1797
- post?: never;
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?: {