@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.
@@ -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?: {
@@ -25248,27 +25391,20 @@ export interface operations {
25248
25391
  query?: {
25249
25392
  limit?: number;
25250
25393
  page?: number;
25251
- /** @description comma separated periods */
25252
25394
  periodIds?: string;
25253
25395
  /** @description Year in format YYYY */
25254
25396
  year?: number;
25255
- /** @description comma separated listings */
25256
25397
  listingIds?: string;
25257
- /** @description comma separated statements */
25258
25398
  statementIds?: string;
25259
25399
  /** @description Date in format YYYY-MM */
25260
25400
  month?: string;
25261
25401
  search?: string;
25262
25402
  status?: ("draft" | "inReview" | "published") | "all";
25263
- /** @description comma separated owners */
25264
25403
  ownerIds?: string;
25265
- /** @description comma separated owners */
25266
25404
  listingCollectionIds?: string;
25267
- /** @description comma separated recurring fees */
25268
25405
  recurringFeeIds?: string;
25269
25406
  /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
25270
25407
  dateRange?: string;
25271
- /** @description Whether the end date is inclusive or exclusive */
25272
25408
  isDateRangeEndInclusive?: boolean;
25273
25409
  };
25274
25410
  header?: never;
@@ -26845,27 +26981,20 @@ export interface operations {
26845
26981
  query?: {
26846
26982
  limit?: number;
26847
26983
  page?: number;
26848
- /** @description comma separated periods */
26849
26984
  periodIds?: string;
26850
26985
  /** @description Year in format YYYY */
26851
26986
  year?: number;
26852
- /** @description comma separated listings */
26853
26987
  listingIds?: string;
26854
- /** @description comma separated statements */
26855
26988
  statementIds?: string;
26856
26989
  /** @description Date in format YYYY-MM */
26857
26990
  month?: string;
26858
26991
  search?: string;
26859
26992
  status?: ("draft" | "inReview" | "published") | "all";
26860
- /** @description comma separated owners */
26861
26993
  ownerIds?: string;
26862
- /** @description comma separated owners */
26863
26994
  listingCollectionIds?: string;
26864
- /** @description comma separated recurring fees */
26865
26995
  recurringFeeIds?: string;
26866
26996
  /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
26867
26997
  dateRange?: string;
26868
- /** @description Whether the end date is inclusive or exclusive */
26869
26998
  isDateRangeEndInclusive?: boolean;
26870
26999
  };
26871
27000
  header?: never;