@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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.0-stage.1236",
6
+ "version": "1.3.0-stage.1239",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -2012,7 +2012,7 @@ export interface paths {
2012
2012
  path?: never;
2013
2013
  cookie?: never;
2014
2014
  };
2015
- /** @description List flow mapping entry for a specific key or get a specific mapping entry by sourceId */
2015
+ /** @description List flow mappings for a key; optionally filter by leftId (source side id) */
2016
2016
  get: operations["getFlowMapping"];
2017
2017
  put?: never;
2018
2018
  /** @description Create, update or delete a flow mapping entry */
@@ -2478,7 +2478,7 @@ export interface components {
2478
2478
  */
2479
2479
  type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2480
2480
  };
2481
- /** @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). */
2481
+ /** @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). */
2482
2482
  FlowMappingItemGet: {
2483
2483
  /** Format: uuid */
2484
2484
  id: string;
@@ -2490,40 +2490,14 @@ export interface components {
2490
2490
  title: string | null;
2491
2491
  description: string | null;
2492
2492
  left: {
2493
- /** Format: uuid */
2494
- sourceId: string;
2495
- text?: string;
2496
- /**
2497
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2498
- * @enum {string}
2499
- */
2500
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2501
- } | {
2502
2493
  value: string | number;
2503
2494
  text: string;
2504
- /**
2505
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2506
- * @enum {string}
2507
- */
2508
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2495
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
2509
2496
  };
2510
2497
  right: {
2511
- /** Format: uuid */
2512
- sourceId: string;
2513
- text?: string;
2514
- /**
2515
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2516
- * @enum {string}
2517
- */
2518
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2519
- } | {
2520
2498
  value: string | number;
2521
2499
  text: string;
2522
- /**
2523
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2524
- * @enum {string}
2525
- */
2526
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2500
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
2527
2501
  };
2528
2502
  };
2529
2503
  };
@@ -5798,7 +5772,7 @@ export interface operations {
5798
5772
  data: {
5799
5773
  /** Format: uuid */
5800
5774
  listingId: string;
5801
- /** @default 2025-12-06 */
5775
+ /** @default 2025-12-08 */
5802
5776
  startAt: string;
5803
5777
  endAt?: string | null;
5804
5778
  setListingInactive?: boolean | null;
@@ -5889,7 +5863,7 @@ export interface operations {
5889
5863
  "application/json": {
5890
5864
  /** Format: uuid */
5891
5865
  listingId: string;
5892
- /** @default 2025-12-06 */
5866
+ /** @default 2025-12-08 */
5893
5867
  startAt?: string;
5894
5868
  endAt?: string | null;
5895
5869
  members: {
@@ -5923,7 +5897,7 @@ export interface operations {
5923
5897
  "application/json": {
5924
5898
  /** Format: uuid */
5925
5899
  listingId: string;
5926
- /** @default 2025-12-06 */
5900
+ /** @default 2025-12-08 */
5927
5901
  startAt: string;
5928
5902
  endAt?: string | null;
5929
5903
  setListingInactive?: boolean | null;
@@ -6003,7 +5977,7 @@ export interface operations {
6003
5977
  "application/json": {
6004
5978
  /** Format: uuid */
6005
5979
  listingId: string;
6006
- /** @default 2025-12-06 */
5980
+ /** @default 2025-12-08 */
6007
5981
  startAt: string;
6008
5982
  endAt?: string | null;
6009
5983
  setListingInactive?: boolean | null;
@@ -6086,7 +6060,7 @@ export interface operations {
6086
6060
  "application/json": {
6087
6061
  /** Format: uuid */
6088
6062
  listingId?: string;
6089
- /** @default 2025-12-06 */
6063
+ /** @default 2025-12-08 */
6090
6064
  startAt?: string;
6091
6065
  endAt?: string | null;
6092
6066
  members?: {
@@ -6120,7 +6094,7 @@ export interface operations {
6120
6094
  "application/json": {
6121
6095
  /** Format: uuid */
6122
6096
  listingId: string;
6123
- /** @default 2025-12-06 */
6097
+ /** @default 2025-12-08 */
6124
6098
  startAt: string;
6125
6099
  endAt?: string | null;
6126
6100
  setListingInactive?: boolean | null;
@@ -6316,7 +6290,7 @@ export interface operations {
6316
6290
  /** Format: uuid */
6317
6291
  sourceId?: string | null;
6318
6292
  initialOwnership?: {
6319
- /** @default 2025-12-06 */
6293
+ /** @default 2025-12-08 */
6320
6294
  startAt?: string;
6321
6295
  endAt?: string | null;
6322
6296
  members: {
@@ -6611,7 +6585,7 @@ export interface operations {
6611
6585
  /** Format: uuid */
6612
6586
  sourceId?: string | null;
6613
6587
  initialOwnership?: {
6614
- /** @default 2025-12-06 */
6588
+ /** @default 2025-12-08 */
6615
6589
  startAt?: string;
6616
6590
  endAt?: string | null;
6617
6591
  members: {
@@ -7071,7 +7045,7 @@ export interface operations {
7071
7045
  /** Format: uuid */
7072
7046
  sourceId?: string | null;
7073
7047
  initialOwnership?: {
7074
- /** @default 2025-12-06 */
7048
+ /** @default 2025-12-08 */
7075
7049
  startAt?: string;
7076
7050
  endAt?: string | null;
7077
7051
  members: {
@@ -7125,7 +7099,7 @@ export interface operations {
7125
7099
  status: "active" | "inactive";
7126
7100
  defaultCurrency?: string | null;
7127
7101
  activeOwnership?: {
7128
- /** @default 2025-12-06 */
7102
+ /** @default 2025-12-08 */
7129
7103
  startAt: string;
7130
7104
  endAt?: string | null;
7131
7105
  setListingInactive?: boolean | null;
@@ -17527,8 +17501,13 @@ export interface operations {
17527
17501
  name: string;
17528
17502
  connection?: {
17529
17503
  id: string;
17504
+ name: string;
17505
+ /** @enum {string} */
17506
+ status: "active" | "inactive";
17507
+ isErrorState: boolean;
17530
17508
  icon?: string | null;
17531
17509
  } | null;
17510
+ isErrorState?: boolean | null;
17532
17511
  /** @enum {string|null} */
17533
17512
  status?: "active" | "inactive" | null;
17534
17513
  currentSync?: {
@@ -17683,8 +17662,13 @@ export interface operations {
17683
17662
  name: string;
17684
17663
  connection?: {
17685
17664
  id: string;
17665
+ name: string;
17666
+ /** @enum {string} */
17667
+ status: "active" | "inactive";
17668
+ isErrorState: boolean;
17686
17669
  icon?: string | null;
17687
17670
  } | null;
17671
+ isErrorState?: boolean | null;
17688
17672
  /** @enum {string|null} */
17689
17673
  status?: "active" | "inactive" | null;
17690
17674
  currentSync?: {
@@ -17899,8 +17883,13 @@ export interface operations {
17899
17883
  name: string;
17900
17884
  connection?: {
17901
17885
  id: string;
17886
+ name: string;
17887
+ /** @enum {string} */
17888
+ status: "active" | "inactive";
17889
+ isErrorState: boolean;
17902
17890
  icon?: string | null;
17903
17891
  } | null;
17892
+ isErrorState?: boolean | null;
17904
17893
  /** @enum {string|null} */
17905
17894
  status?: "active" | "inactive" | null;
17906
17895
  currentSync?: {
@@ -18063,8 +18052,13 @@ export interface operations {
18063
18052
  name: string;
18064
18053
  connection?: {
18065
18054
  id: string;
18055
+ name: string;
18056
+ /** @enum {string} */
18057
+ status: "active" | "inactive";
18058
+ isErrorState: boolean;
18066
18059
  icon?: string | null;
18067
18060
  } | null;
18061
+ isErrorState?: boolean | null;
18068
18062
  /** @enum {string|null} */
18069
18063
  status?: "active" | "inactive" | null;
18070
18064
  currentSync?: {
@@ -24596,40 +24590,14 @@ export interface operations {
24596
24590
  title?: string | null;
24597
24591
  description?: string | null;
24598
24592
  left?: {
24599
- /** Format: uuid */
24600
- sourceId: string;
24601
- text?: string;
24602
- /**
24603
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24604
- * @enum {string}
24605
- */
24606
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24607
- } | {
24608
24593
  value: string | number;
24609
24594
  text: string;
24610
- /**
24611
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24612
- * @enum {string}
24613
- */
24614
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24595
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
24615
24596
  };
24616
24597
  right?: {
24617
- /** Format: uuid */
24618
- sourceId: string;
24619
- text?: string;
24620
- /**
24621
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24622
- * @enum {string}
24623
- */
24624
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24625
- } | {
24626
24598
  value: string | number;
24627
24599
  text: string;
24628
- /**
24629
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
24630
- * @enum {string}
24631
- */
24632
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24600
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
24633
24601
  };
24634
24602
  };
24635
24603
  };