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