@vrplatform/api 1.2.40-stage.1063 → 1.2.40-stage.1066

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.
@@ -2369,7 +2369,7 @@ export interface components {
2369
2369
  filter: string | null;
2370
2370
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2371
2371
  };
2372
- /** @description Mapping entry returned from GET routes with normalized { id, name, type } value payload. */
2372
+ /** @description Mapping entry returned from GET routes with normalized left/right payloads. */
2373
2373
  FlowMappingItemGet: {
2374
2374
  /** Format: uuid */
2375
2375
  id: string;
@@ -2378,13 +2378,23 @@ export interface components {
2378
2378
  /** Format: uuid */
2379
2379
  connectionId: string;
2380
2380
  mappingKey: string;
2381
- /** Format: uuid */
2382
- sourceId: string;
2383
2381
  title: string | null;
2384
2382
  description: string | null;
2385
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2383
+ left: {
2384
+ /** Format: uuid */
2385
+ sourceId: string;
2386
+ };
2387
+ right: {
2388
+ value: string | number;
2389
+ text: string;
2390
+ /**
2391
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2392
+ * @enum {string}
2393
+ */
2394
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2395
+ };
2386
2396
  };
2387
- /** @description Mapping entry returned from mutation routes with resolved entity payload. */
2397
+ /** @description Mapping entry returned from mutation routes with normalized left/right payloads. */
2388
2398
  FlowMappingItemPost: {
2389
2399
  /** Format: uuid */
2390
2400
  id: string;
@@ -2393,11 +2403,21 @@ export interface components {
2393
2403
  /** Format: uuid */
2394
2404
  connectionId: string;
2395
2405
  mappingKey: string;
2396
- /** Format: uuid */
2397
- sourceId: string;
2398
2406
  title: string | null;
2399
2407
  description: string | null;
2400
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2408
+ left: {
2409
+ /** Format: uuid */
2410
+ sourceId: string;
2411
+ };
2412
+ right: {
2413
+ value: string | number;
2414
+ text: string;
2415
+ /**
2416
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2417
+ * @enum {string}
2418
+ */
2419
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2420
+ };
2401
2421
  };
2402
2422
  };
2403
2423
  responses: never;
@@ -4131,8 +4151,8 @@ export interface operations {
4131
4151
  appId: string;
4132
4152
  } | null;
4133
4153
  nights?: number | null;
4134
- /** @enum {string|null} */
4135
- status?: "booked" | "canceled" | "inactive" | null;
4154
+ /** @enum {string} */
4155
+ status: "booked" | "canceled" | "inactive";
4136
4156
  financials: {
4137
4157
  totals: {
4138
4158
  tax: number;
@@ -4151,6 +4171,8 @@ export interface operations {
4151
4171
  /** @enum {string} */
4152
4172
  status: "active" | "inactive";
4153
4173
  amount: number;
4174
+ /** @enum {string|null} */
4175
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4154
4176
  account?: {
4155
4177
  id: string;
4156
4178
  name: string;
@@ -4505,8 +4527,8 @@ export interface operations {
4505
4527
  appId: string;
4506
4528
  } | null;
4507
4529
  nights?: number | null;
4508
- /** @enum {string|null} */
4509
- status?: "booked" | "canceled" | "inactive" | null;
4530
+ /** @enum {string} */
4531
+ status: "booked" | "canceled" | "inactive";
4510
4532
  financials: {
4511
4533
  totals: {
4512
4534
  tax: number;
@@ -4525,6 +4547,8 @@ export interface operations {
4525
4547
  /** @enum {string} */
4526
4548
  status: "active" | "inactive";
4527
4549
  amount: number;
4550
+ /** @enum {string|null} */
4551
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4528
4552
  account?: {
4529
4553
  id: string;
4530
4554
  name: string;
@@ -4959,8 +4983,8 @@ export interface operations {
4959
4983
  appId: string;
4960
4984
  } | null;
4961
4985
  nights?: number | null;
4962
- /** @enum {string|null} */
4963
- status?: "booked" | "canceled" | "inactive" | null;
4986
+ /** @enum {string} */
4987
+ status: "booked" | "canceled" | "inactive";
4964
4988
  financials: {
4965
4989
  totals: {
4966
4990
  tax: number;
@@ -4979,6 +5003,8 @@ export interface operations {
4979
5003
  /** @enum {string} */
4980
5004
  status: "active" | "inactive";
4981
5005
  amount: number;
5006
+ /** @enum {string|null} */
5007
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4982
5008
  account?: {
4983
5009
  id: string;
4984
5010
  name: string;
@@ -5351,8 +5377,8 @@ export interface operations {
5351
5377
  appId: string;
5352
5378
  } | null;
5353
5379
  nights?: number | null;
5354
- /** @enum {string|null} */
5355
- status?: "booked" | "canceled" | "inactive" | null;
5380
+ /** @enum {string} */
5381
+ status: "booked" | "canceled" | "inactive";
5356
5382
  listing?: {
5357
5383
  /** Format: uuid */
5358
5384
  id: string;
@@ -5628,8 +5654,8 @@ export interface operations {
5628
5654
  appId: string;
5629
5655
  } | null;
5630
5656
  nights?: number | null;
5631
- /** @enum {string|null} */
5632
- status?: "booked" | "canceled" | "inactive" | null;
5657
+ /** @enum {string} */
5658
+ status: "booked" | "canceled" | "inactive";
5633
5659
  financials: {
5634
5660
  totals: {
5635
5661
  tax: number;
@@ -5648,6 +5674,8 @@ export interface operations {
5648
5674
  /** @enum {string} */
5649
5675
  status: "active" | "inactive";
5650
5676
  amount: number;
5677
+ /** @enum {string|null} */
5678
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
5651
5679
  account?: {
5652
5680
  id: string;
5653
5681
  name: string;
@@ -9003,6 +9031,8 @@ export interface operations {
9003
9031
  /** @enum {string} */
9004
9032
  status: "active" | "inactive";
9005
9033
  amount: number;
9034
+ /** @enum {string|null} */
9035
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
9006
9036
  fee: number;
9007
9037
  account?: {
9008
9038
  id: string;