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