@vrplatform/api 1.3.0-stage.1236 → 1.3.0-stage.1239

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.
@@ -2011,7 +2011,7 @@ export interface paths {
2011
2011
  path?: never;
2012
2012
  cookie?: never;
2013
2013
  };
2014
- /** @description List flow mapping entry for a specific key or get a specific mapping entry by sourceId */
2014
+ /** @description List flow mappings for a key; optionally filter by leftId (source side id) */
2015
2015
  get: operations["getFlowMapping"];
2016
2016
  put?: never;
2017
2017
  /** @description Create, update or delete a flow mapping entry */
@@ -2477,7 +2477,7 @@ export interface components {
2477
2477
  */
2478
2478
  type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2479
2479
  };
2480
- /** @description Mapping entry returned from GET routes with normalized left/right payloads. The left side represents the source side of the flow (external for pull, internal for push). */
2480
+ /** @description Mapping entry returned from GET routes with normalized left/right payloads. Each side uses { value, text, type }; source sides use type "source" (value = sourceId) and the mapped side uses the schema mapping type. The left side represents the source side of the flow (external for pull, internal for push). */
2481
2481
  FlowMappingItemGet: {
2482
2482
  /** Format: uuid */
2483
2483
  id: string;
@@ -2489,40 +2489,14 @@ export interface components {
2489
2489
  title: string | null;
2490
2490
  description: string | null;
2491
2491
  left: {
2492
- /** Format: uuid */
2493
- sourceId: string;
2494
- text?: string;
2495
- /**
2496
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2497
- * @enum {string}
2498
- */
2499
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2500
- } | {
2501
2492
  value: string | number;
2502
2493
  text: string;
2503
- /**
2504
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2505
- * @enum {string}
2506
- */
2507
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2494
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
2508
2495
  };
2509
2496
  right: {
2510
- /** Format: uuid */
2511
- sourceId: string;
2512
- text?: string;
2513
- /**
2514
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2515
- * @enum {string}
2516
- */
2517
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2518
- } | {
2519
2497
  value: string | number;
2520
2498
  text: string;
2521
- /**
2522
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2523
- * @enum {string}
2524
- */
2525
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2499
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
2526
2500
  };
2527
2501
  };
2528
2502
  };
@@ -5797,7 +5771,7 @@ export interface operations {
5797
5771
  data: {
5798
5772
  /** Format: uuid */
5799
5773
  listingId: string;
5800
- /** @default 2025-12-06 */
5774
+ /** @default 2025-12-08 */
5801
5775
  startAt: string;
5802
5776
  endAt?: string | null;
5803
5777
  setListingInactive?: boolean | null;
@@ -5888,7 +5862,7 @@ export interface operations {
5888
5862
  "application/json": {
5889
5863
  /** Format: uuid */
5890
5864
  listingId: string;
5891
- /** @default 2025-12-06 */
5865
+ /** @default 2025-12-08 */
5892
5866
  startAt?: string;
5893
5867
  endAt?: string | null;
5894
5868
  members: {
@@ -5922,7 +5896,7 @@ export interface operations {
5922
5896
  "application/json": {
5923
5897
  /** Format: uuid */
5924
5898
  listingId: string;
5925
- /** @default 2025-12-06 */
5899
+ /** @default 2025-12-08 */
5926
5900
  startAt: string;
5927
5901
  endAt?: string | null;
5928
5902
  setListingInactive?: boolean | null;
@@ -6002,7 +5976,7 @@ export interface operations {
6002
5976
  "application/json": {
6003
5977
  /** Format: uuid */
6004
5978
  listingId: string;
6005
- /** @default 2025-12-06 */
5979
+ /** @default 2025-12-08 */
6006
5980
  startAt: string;
6007
5981
  endAt?: string | null;
6008
5982
  setListingInactive?: boolean | null;
@@ -6085,7 +6059,7 @@ export interface operations {
6085
6059
  "application/json": {
6086
6060
  /** Format: uuid */
6087
6061
  listingId?: string;
6088
- /** @default 2025-12-06 */
6062
+ /** @default 2025-12-08 */
6089
6063
  startAt?: string;
6090
6064
  endAt?: string | null;
6091
6065
  members?: {
@@ -6119,7 +6093,7 @@ export interface operations {
6119
6093
  "application/json": {
6120
6094
  /** Format: uuid */
6121
6095
  listingId: string;
6122
- /** @default 2025-12-06 */
6096
+ /** @default 2025-12-08 */
6123
6097
  startAt: string;
6124
6098
  endAt?: string | null;
6125
6099
  setListingInactive?: boolean | null;
@@ -6315,7 +6289,7 @@ export interface operations {
6315
6289
  /** Format: uuid */
6316
6290
  sourceId?: string | null;
6317
6291
  initialOwnership?: {
6318
- /** @default 2025-12-06 */
6292
+ /** @default 2025-12-08 */
6319
6293
  startAt?: string;
6320
6294
  endAt?: string | null;
6321
6295
  members: {
@@ -6610,7 +6584,7 @@ export interface operations {
6610
6584
  /** Format: uuid */
6611
6585
  sourceId?: string | null;
6612
6586
  initialOwnership?: {
6613
- /** @default 2025-12-06 */
6587
+ /** @default 2025-12-08 */
6614
6588
  startAt?: string;
6615
6589
  endAt?: string | null;
6616
6590
  members: {
@@ -7070,7 +7044,7 @@ export interface operations {
7070
7044
  /** Format: uuid */
7071
7045
  sourceId?: string | null;
7072
7046
  initialOwnership?: {
7073
- /** @default 2025-12-06 */
7047
+ /** @default 2025-12-08 */
7074
7048
  startAt?: string;
7075
7049
  endAt?: string | null;
7076
7050
  members: {
@@ -7124,7 +7098,7 @@ export interface operations {
7124
7098
  status: "active" | "inactive";
7125
7099
  defaultCurrency?: string | null;
7126
7100
  activeOwnership?: {
7127
- /** @default 2025-12-06 */
7101
+ /** @default 2025-12-08 */
7128
7102
  startAt: string;
7129
7103
  endAt?: string | null;
7130
7104
  setListingInactive?: boolean | null;
@@ -17526,8 +17500,13 @@ export interface operations {
17526
17500
  name: string;
17527
17501
  connection?: {
17528
17502
  id: string;
17503
+ name: string;
17504
+ /** @enum {string} */
17505
+ status: "active" | "inactive";
17506
+ isErrorState: boolean;
17529
17507
  icon?: string | null;
17530
17508
  } | null;
17509
+ isErrorState?: boolean | null;
17531
17510
  /** @enum {string|null} */
17532
17511
  status?: "active" | "inactive" | null;
17533
17512
  currentSync?: {
@@ -17682,8 +17661,13 @@ export interface operations {
17682
17661
  name: string;
17683
17662
  connection?: {
17684
17663
  id: string;
17664
+ name: string;
17665
+ /** @enum {string} */
17666
+ status: "active" | "inactive";
17667
+ isErrorState: boolean;
17685
17668
  icon?: string | null;
17686
17669
  } | null;
17670
+ isErrorState?: boolean | null;
17687
17671
  /** @enum {string|null} */
17688
17672
  status?: "active" | "inactive" | null;
17689
17673
  currentSync?: {
@@ -17898,8 +17882,13 @@ export interface operations {
17898
17882
  name: string;
17899
17883
  connection?: {
17900
17884
  id: string;
17885
+ name: string;
17886
+ /** @enum {string} */
17887
+ status: "active" | "inactive";
17888
+ isErrorState: boolean;
17901
17889
  icon?: string | null;
17902
17890
  } | null;
17891
+ isErrorState?: boolean | null;
17903
17892
  /** @enum {string|null} */
17904
17893
  status?: "active" | "inactive" | null;
17905
17894
  currentSync?: {
@@ -18062,8 +18051,13 @@ export interface operations {
18062
18051
  name: string;
18063
18052
  connection?: {
18064
18053
  id: string;
18054
+ name: string;
18055
+ /** @enum {string} */
18056
+ status: "active" | "inactive";
18057
+ isErrorState: boolean;
18065
18058
  icon?: string | null;
18066
18059
  } | null;
18060
+ isErrorState?: boolean | null;
18067
18061
  /** @enum {string|null} */
18068
18062
  status?: "active" | "inactive" | null;
18069
18063
  currentSync?: {
@@ -24595,40 +24589,14 @@ export interface operations {
24595
24589
  title?: string | null;
24596
24590
  description?: string | null;
24597
24591
  left?: {
24598
- /** Format: uuid */
24599
- sourceId: string;
24600
- text?: string;
24601
- /**
24602
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24603
- * @enum {string}
24604
- */
24605
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24606
- } | {
24607
24592
  value: string | number;
24608
24593
  text: string;
24609
- /**
24610
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24611
- * @enum {string}
24612
- */
24613
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24594
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
24614
24595
  };
24615
24596
  right?: {
24616
- /** Format: uuid */
24617
- sourceId: string;
24618
- text?: string;
24619
- /**
24620
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24621
- * @enum {string}
24622
- */
24623
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24624
- } | {
24625
24597
  value: string | number;
24626
24598
  text: string;
24627
- /**
24628
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24629
- * @enum {string}
24630
- */
24631
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24599
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
24632
24600
  };
24633
24601
  };
24634
24602
  };