@vrplatform/api 1.3.1-stage.1715 → 1.3.1-stage.1716

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
@@ -6,7 +6,7 @@
6
6
  "typings": "build/main/index.d.ts",
7
7
  "module": "build/module/index.js"
8
8
  },
9
- "version": "1.3.1-stage.1715",
9
+ "version": "1.3.1-stage.1716",
10
10
  "description": "",
11
11
  "main": "build/main/index.js",
12
12
  "module": "build/module/index.js",
@@ -360,7 +360,8 @@ export interface paths {
360
360
  /** @description Sync connection by uniqueRef and type */
361
361
  get: operations["syncConnection"];
362
362
  put?: never;
363
- post?: never;
363
+ /** @description Sync connection by uniqueRef and type */
364
+ post: operations["syncConnectionPost"];
364
365
  delete?: never;
365
366
  options?: never;
366
367
  head?: never;
@@ -6476,6 +6477,192 @@ export interface operations {
6476
6477
  };
6477
6478
  };
6478
6479
  };
6480
+ syncConnectionPost: {
6481
+ parameters: {
6482
+ query?: never;
6483
+ header?: never;
6484
+ path: {
6485
+ id: string;
6486
+ };
6487
+ cookie?: never;
6488
+ };
6489
+ requestBody?: {
6490
+ content: {
6491
+ "application/json": {
6492
+ uniqueRef: string;
6493
+ /** @enum {string} */
6494
+ type: "reservation" | "listing" | "payout";
6495
+ };
6496
+ };
6497
+ };
6498
+ responses: {
6499
+ /** @description Successful response */
6500
+ 200: {
6501
+ headers: {
6502
+ [name: string]: unknown;
6503
+ };
6504
+ content: {
6505
+ "application/json": (({
6506
+ /** Format: uuid */
6507
+ id: string;
6508
+ /** @constant */
6509
+ status: "completed";
6510
+ message: string;
6511
+ /** @constant */
6512
+ type: "reservation";
6513
+ /** Format: uuid */
6514
+ reservationId: string;
6515
+ } | {
6516
+ /** Format: uuid */
6517
+ id: string;
6518
+ /** @constant */
6519
+ status: "completed";
6520
+ message: string;
6521
+ /** @constant */
6522
+ type: "listing";
6523
+ /** Format: uuid */
6524
+ listingId: string;
6525
+ } | {
6526
+ /** Format: uuid */
6527
+ id: string;
6528
+ /** @constant */
6529
+ status: "completed";
6530
+ message: string;
6531
+ /** @constant */
6532
+ type: "payout";
6533
+ /** Format: uuid */
6534
+ paymentId: string;
6535
+ }) | {
6536
+ /** Format: uuid */
6537
+ id: string;
6538
+ /** @constant */
6539
+ status: "failed";
6540
+ message: string;
6541
+ /** @enum {string} */
6542
+ type: "reservation" | "listing" | "payout";
6543
+ }) | (({
6544
+ /** Format: uuid */
6545
+ id: string;
6546
+ /** @constant */
6547
+ status: "completed";
6548
+ message: string;
6549
+ /** @constant */
6550
+ type: "reservation";
6551
+ /** Format: uuid */
6552
+ reservationId: string;
6553
+ } | {
6554
+ /** Format: uuid */
6555
+ id: string;
6556
+ /** @constant */
6557
+ status: "completed";
6558
+ message: string;
6559
+ /** @constant */
6560
+ type: "listing";
6561
+ /** Format: uuid */
6562
+ listingId: string;
6563
+ } | {
6564
+ /** Format: uuid */
6565
+ id: string;
6566
+ /** @constant */
6567
+ status: "completed";
6568
+ message: string;
6569
+ /** @constant */
6570
+ type: "payout";
6571
+ /** Format: uuid */
6572
+ paymentId: string;
6573
+ }) | {
6574
+ /** Format: uuid */
6575
+ id: string;
6576
+ /** @constant */
6577
+ status: "failed";
6578
+ message: string;
6579
+ /** @enum {string} */
6580
+ type: "reservation" | "listing" | "payout";
6581
+ })[];
6582
+ };
6583
+ };
6584
+ /** @description Bad request */
6585
+ 400: {
6586
+ headers: {
6587
+ [name: string]: unknown;
6588
+ };
6589
+ content: {
6590
+ "application/json": {
6591
+ code: string;
6592
+ message: string;
6593
+ issues?: {
6594
+ message: string;
6595
+ }[];
6596
+ context?: unknown;
6597
+ };
6598
+ };
6599
+ };
6600
+ /** @description Unauthorized */
6601
+ 401: {
6602
+ headers: {
6603
+ [name: string]: unknown;
6604
+ };
6605
+ content: {
6606
+ "application/json": {
6607
+ code: string;
6608
+ message: string;
6609
+ issues?: {
6610
+ message: string;
6611
+ }[];
6612
+ context?: unknown;
6613
+ };
6614
+ };
6615
+ };
6616
+ /** @description Forbidden */
6617
+ 403: {
6618
+ headers: {
6619
+ [name: string]: unknown;
6620
+ };
6621
+ content: {
6622
+ "application/json": {
6623
+ code: string;
6624
+ message: string;
6625
+ issues?: {
6626
+ message: string;
6627
+ }[];
6628
+ context?: unknown;
6629
+ };
6630
+ };
6631
+ };
6632
+ /** @description Not found */
6633
+ 404: {
6634
+ headers: {
6635
+ [name: string]: unknown;
6636
+ };
6637
+ content: {
6638
+ "application/json": {
6639
+ code: string;
6640
+ message: string;
6641
+ issues?: {
6642
+ message: string;
6643
+ }[];
6644
+ context?: unknown;
6645
+ };
6646
+ };
6647
+ };
6648
+ /** @description Internal server error */
6649
+ 500: {
6650
+ headers: {
6651
+ [name: string]: unknown;
6652
+ };
6653
+ content: {
6654
+ "application/json": {
6655
+ code: string;
6656
+ message: string;
6657
+ issues?: {
6658
+ message: string;
6659
+ }[];
6660
+ context?: unknown;
6661
+ };
6662
+ };
6663
+ };
6664
+ };
6665
+ };
6479
6666
  getContacts: {
6480
6667
  parameters: {
6481
6668
  query?: {
@@ -28719,6 +28906,17 @@ export interface operations {
28719
28906
  name?: string | null;
28720
28907
  firstName?: string | null;
28721
28908
  }[] | null;
28909
+ extractableConnections?: {
28910
+ [key: string]: {
28911
+ connections: {
28912
+ /** Format: uuid */
28913
+ id: string;
28914
+ name: string;
28915
+ appId: string;
28916
+ urlExample?: string | null;
28917
+ }[];
28918
+ };
28919
+ } | null;
28722
28920
  }[];
28723
28921
  pagination: {
28724
28922
  /** @default 100 */
@@ -28963,6 +29161,17 @@ export interface operations {
28963
29161
  name?: string | null;
28964
29162
  firstName?: string | null;
28965
29163
  }[] | null;
29164
+ extractableConnections?: {
29165
+ [key: string]: {
29166
+ connections: {
29167
+ /** Format: uuid */
29168
+ id: string;
29169
+ name: string;
29170
+ appId: string;
29171
+ urlExample?: string | null;
29172
+ }[];
29173
+ };
29174
+ } | null;
28966
29175
  };
28967
29176
  };
28968
29177
  };
@@ -29734,6 +29943,17 @@ export interface operations {
29734
29943
  name?: string | null;
29735
29944
  firstName?: string | null;
29736
29945
  }[] | null;
29946
+ extractableConnections?: {
29947
+ [key: string]: {
29948
+ connections: {
29949
+ /** Format: uuid */
29950
+ id: string;
29951
+ name: string;
29952
+ appId: string;
29953
+ urlExample?: string | null;
29954
+ }[];
29955
+ };
29956
+ } | null;
29737
29957
  };
29738
29958
  };
29739
29959
  };
@@ -29975,6 +30195,17 @@ export interface operations {
29975
30195
  name?: string | null;
29976
30196
  firstName?: string | null;
29977
30197
  }[] | null;
30198
+ extractableConnections?: {
30199
+ [key: string]: {
30200
+ connections: {
30201
+ /** Format: uuid */
30202
+ id: string;
30203
+ name: string;
30204
+ appId: string;
30205
+ urlExample?: string | null;
30206
+ }[];
30207
+ };
30208
+ } | null;
29978
30209
  };
29979
30210
  };
29980
30211
  };
@@ -30490,6 +30721,17 @@ export interface operations {
30490
30721
  name?: string | null;
30491
30722
  firstName?: string | null;
30492
30723
  }[] | null;
30724
+ extractableConnections?: {
30725
+ [key: string]: {
30726
+ connections: {
30727
+ /** Format: uuid */
30728
+ id: string;
30729
+ name: string;
30730
+ appId: string;
30731
+ urlExample?: string | null;
30732
+ }[];
30733
+ };
30734
+ } | null;
30493
30735
  };
30494
30736
  };
30495
30737
  };