@vrplatform/api 1.3.1-stage.2144 → 1.3.1-stage.2147

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.
@@ -580,11 +580,10 @@ export interface paths {
580
580
  path?: never;
581
581
  cookie?: never;
582
582
  };
583
- /** @description Sync connection by uniqueRef and type */
584
- get: operations["syncConnection"];
583
+ get?: never;
585
584
  put?: never;
586
585
  /** @description Sync connection by uniqueRef and type */
587
- post: operations["syncConnectionPost"];
586
+ post: operations["syncConnection"];
588
587
  delete?: never;
589
588
  options?: never;
590
589
  head?: never;
@@ -5408,8 +5407,35 @@ export interface operations {
5408
5407
  left: string;
5409
5408
  right: string;
5410
5409
  }[];
5411
- extractors: string[];
5412
- importers: string[];
5410
+ extractors: {
5411
+ name: string;
5412
+ /** @constant */
5413
+ sync: "full";
5414
+ visible?: boolean;
5415
+ isDateRangeFetchable?: boolean;
5416
+ /** @enum {string} */
5417
+ dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
5418
+ params?: {
5419
+ /** @constant */
5420
+ type: "object";
5421
+ properties?: {
5422
+ uniqueRef?: {
5423
+ /** @constant */
5424
+ type: "string";
5425
+ };
5426
+ };
5427
+ /** @constant */
5428
+ additionalProperties: false;
5429
+ };
5430
+ urlExample?: string;
5431
+ allowConfirmationCode?: boolean;
5432
+ }[];
5433
+ importers: {
5434
+ docsLink: string;
5435
+ uniqueRef: string;
5436
+ description: string;
5437
+ types?: string[];
5438
+ }[];
5413
5439
  }[];
5414
5440
  pagination: {
5415
5441
  /** @default 100 */
@@ -5538,8 +5564,35 @@ export interface operations {
5538
5564
  left: string;
5539
5565
  right: string;
5540
5566
  }[];
5541
- extractors: string[];
5542
- importers: string[];
5567
+ extractors: {
5568
+ name: string;
5569
+ /** @constant */
5570
+ sync: "full";
5571
+ visible?: boolean;
5572
+ isDateRangeFetchable?: boolean;
5573
+ /** @enum {string} */
5574
+ dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
5575
+ params?: {
5576
+ /** @constant */
5577
+ type: "object";
5578
+ properties?: {
5579
+ uniqueRef?: {
5580
+ /** @constant */
5581
+ type: "string";
5582
+ };
5583
+ };
5584
+ /** @constant */
5585
+ additionalProperties: false;
5586
+ };
5587
+ urlExample?: string;
5588
+ allowConfirmationCode?: boolean;
5589
+ }[];
5590
+ importers: {
5591
+ docsLink: string;
5592
+ uniqueRef: string;
5593
+ description: string;
5594
+ types?: string[];
5595
+ }[];
5543
5596
  };
5544
5597
  };
5545
5598
  };
@@ -10510,149 +10563,6 @@ export interface operations {
10510
10563
  };
10511
10564
  };
10512
10565
  syncConnection: {
10513
- parameters: {
10514
- query: {
10515
- uniqueRef: string;
10516
- type: "reservation" | "listing" | "payout";
10517
- };
10518
- header?: never;
10519
- path: {
10520
- id: string;
10521
- };
10522
- cookie?: never;
10523
- };
10524
- requestBody?: never;
10525
- responses: {
10526
- /** @description Successful response */
10527
- 200: {
10528
- headers: {
10529
- [name: string]: unknown;
10530
- };
10531
- content: {
10532
- "application/json": ({
10533
- /** Format: uuid */
10534
- id: string;
10535
- /** @constant */
10536
- status: "completed";
10537
- message: string;
10538
- /** @constant */
10539
- type: "reservation";
10540
- /** Format: uuid */
10541
- reservationId: string;
10542
- } | {
10543
- /** Format: uuid */
10544
- id: string;
10545
- /** @constant */
10546
- status: "completed";
10547
- message: string;
10548
- /** @constant */
10549
- type: "listing";
10550
- /** Format: uuid */
10551
- listingId: string;
10552
- } | {
10553
- /** Format: uuid */
10554
- id: string;
10555
- /** @constant */
10556
- status: "completed";
10557
- message: string;
10558
- /** @constant */
10559
- type: "payout";
10560
- /** Format: uuid */
10561
- paymentId: string;
10562
- }) | {
10563
- /** Format: uuid */
10564
- id: string;
10565
- /** @constant */
10566
- status: "failed";
10567
- message: string;
10568
- /** @enum {string} */
10569
- type: "reservation" | "listing" | "payout";
10570
- };
10571
- };
10572
- };
10573
- /** @description Bad request */
10574
- 400: {
10575
- headers: {
10576
- [name: string]: unknown;
10577
- };
10578
- content: {
10579
- "application/json": {
10580
- code: string;
10581
- message: string;
10582
- issues?: {
10583
- message: string;
10584
- }[];
10585
- context?: unknown;
10586
- };
10587
- };
10588
- };
10589
- /** @description Unauthorized */
10590
- 401: {
10591
- headers: {
10592
- [name: string]: unknown;
10593
- };
10594
- content: {
10595
- "application/json": {
10596
- code: string;
10597
- message: string;
10598
- issues?: {
10599
- message: string;
10600
- }[];
10601
- context?: unknown;
10602
- };
10603
- };
10604
- };
10605
- /** @description Forbidden */
10606
- 403: {
10607
- headers: {
10608
- [name: string]: unknown;
10609
- };
10610
- content: {
10611
- "application/json": {
10612
- code: string;
10613
- message: string;
10614
- issues?: {
10615
- message: string;
10616
- }[];
10617
- context?: unknown;
10618
- };
10619
- };
10620
- };
10621
- /** @description Not found */
10622
- 404: {
10623
- headers: {
10624
- [name: string]: unknown;
10625
- };
10626
- content: {
10627
- "application/json": {
10628
- code: string;
10629
- message: string;
10630
- issues?: {
10631
- message: string;
10632
- }[];
10633
- context?: unknown;
10634
- };
10635
- };
10636
- };
10637
- /** @description Internal server error */
10638
- 500: {
10639
- headers: {
10640
- [name: string]: unknown;
10641
- };
10642
- content: {
10643
- "application/json": {
10644
- code: string;
10645
- message: string;
10646
- issues?: {
10647
- message: string;
10648
- }[];
10649
- context?: unknown;
10650
- };
10651
- };
10652
- };
10653
- };
10654
- };
10655
- syncConnectionPost: {
10656
10566
  parameters: {
10657
10567
  query?: never;
10658
10568
  header?: never;
@@ -10677,45 +10587,7 @@ export interface operations {
10677
10587
  [name: string]: unknown;
10678
10588
  };
10679
10589
  content: {
10680
- "application/json": (({
10681
- /** Format: uuid */
10682
- id: string;
10683
- /** @constant */
10684
- status: "completed";
10685
- message: string;
10686
- /** @constant */
10687
- type: "reservation";
10688
- /** Format: uuid */
10689
- reservationId: string;
10690
- } | {
10691
- /** Format: uuid */
10692
- id: string;
10693
- /** @constant */
10694
- status: "completed";
10695
- message: string;
10696
- /** @constant */
10697
- type: "listing";
10698
- /** Format: uuid */
10699
- listingId: string;
10700
- } | {
10701
- /** Format: uuid */
10702
- id: string;
10703
- /** @constant */
10704
- status: "completed";
10705
- message: string;
10706
- /** @constant */
10707
- type: "payout";
10708
- /** Format: uuid */
10709
- paymentId: string;
10710
- }) | {
10711
- /** Format: uuid */
10712
- id: string;
10713
- /** @constant */
10714
- status: "failed";
10715
- message: string;
10716
- /** @enum {string} */
10717
- type: "reservation" | "listing" | "payout";
10718
- }) | (({
10590
+ "application/json": ({
10719
10591
  /** Format: uuid */
10720
10592
  id: string;
10721
10593
  /** @constant */
@@ -10753,7 +10625,7 @@ export interface operations {
10753
10625
  message: string;
10754
10626
  /** @enum {string} */
10755
10627
  type: "reservation" | "listing" | "payout";
10756
- })[];
10628
+ };
10757
10629
  };
10758
10630
  };
10759
10631
  /** @description Bad request */