@vrplatform/api 1.3.1-stage.1714 → 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?: {
@@ -17212,7 +17399,7 @@ export interface operations {
17212
17399
  /** Format: uuid */
17213
17400
  ownershipPeriodId: string;
17214
17401
  /** @enum {string} */
17215
- status: "draft" | "inReview" | "void" | "published";
17402
+ status: "draft" | "inReview" | "published";
17216
17403
  /** @description Date in format YYYY-MM */
17217
17404
  month: string;
17218
17405
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
@@ -17246,7 +17433,7 @@ export interface operations {
17246
17433
  /** Format: uuid */
17247
17434
  ownershipPeriodId: string;
17248
17435
  /** @enum {string} */
17249
- status: "draft" | "inReview" | "void" | "published";
17436
+ status: "draft" | "inReview" | "published";
17250
17437
  /** @description Date in format YYYY-MM */
17251
17438
  month: string;
17252
17439
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
@@ -17279,7 +17466,7 @@ export interface operations {
17279
17466
  /** Format: uuid */
17280
17467
  ownershipPeriodId: string;
17281
17468
  /** @enum {string} */
17282
- status: "draft" | "inReview" | "void" | "published";
17469
+ status: "draft" | "inReview" | "published";
17283
17470
  /** @description Date in format YYYY-MM */
17284
17471
  month: string;
17285
17472
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
@@ -22944,7 +23131,7 @@ export interface operations {
22944
23131
  /** @description Date in format YYYY-MM */
22945
23132
  month?: string;
22946
23133
  search?: string;
22947
- status?: ("draft" | "inReview" | "void" | "published") | "all";
23134
+ status?: ("draft" | "inReview" | "published") | "all";
22948
23135
  /** @description comma separated owners */
22949
23136
  ownerIds?: string;
22950
23137
  /** @description comma separated owners */
@@ -23141,7 +23328,7 @@ export interface operations {
23141
23328
  uniqueRef: string | null;
23142
23329
  };
23143
23330
  /** @enum {string} */
23144
- status: "draft" | "inReview" | "void" | "published";
23331
+ status: "draft" | "inReview" | "published";
23145
23332
  ownership: {
23146
23333
  id: string;
23147
23334
  startAt: string;
@@ -23484,7 +23671,7 @@ export interface operations {
23484
23671
  uniqueRef: string | null;
23485
23672
  };
23486
23673
  /** @enum {string} */
23487
- status: "draft" | "inReview" | "void" | "published";
23674
+ status: "draft" | "inReview" | "published";
23488
23675
  ownership: {
23489
23676
  id: string;
23490
23677
  startAt: string;
@@ -24032,7 +24219,7 @@ export interface operations {
24032
24219
  uniqueRef: string | null;
24033
24220
  };
24034
24221
  /** @enum {string} */
24035
- status: "draft" | "inReview" | "void" | "published";
24222
+ status: "draft" | "inReview" | "published";
24036
24223
  ownership: {
24037
24224
  id: string;
24038
24225
  startAt: string;
@@ -26150,7 +26337,7 @@ export interface operations {
26150
26337
  listingIds?: string;
26151
26338
  /** @description comma separated owners */
26152
26339
  ownerIds?: string;
26153
- status?: ("draft" | "inReview" | "void" | "published") | "all";
26340
+ status?: ("draft" | "inReview" | "published") | "all";
26154
26341
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
26155
26342
  currency?: string;
26156
26343
  search?: string;
@@ -26464,7 +26651,7 @@ export interface operations {
26464
26651
  uniqueRef: string | null;
26465
26652
  };
26466
26653
  /** @enum {string} */
26467
- status: "draft" | "inReview" | "void" | "published";
26654
+ status: "draft" | "inReview" | "published";
26468
26655
  ownership: {
26469
26656
  id: string;
26470
26657
  startAt: string;
@@ -27017,7 +27204,7 @@ export interface operations {
27017
27204
  uniqueRef: string | null;
27018
27205
  };
27019
27206
  /** @enum {string} */
27020
- status: "draft" | "inReview" | "void" | "published";
27207
+ status: "draft" | "inReview" | "published";
27021
27208
  ownership: {
27022
27209
  id: string;
27023
27210
  startAt: string;
@@ -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
  };