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