@luxuryescapes/contract-svc-lab-v2 0.1.49 → 0.1.51

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.
Files changed (2) hide show
  1. package/dist/server.d.ts +13 -2
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -63,7 +63,7 @@ export interface paths {
63
63
  get: operations["getItemPayload"];
64
64
  };
65
65
  "/api/lab/v2/preview/campaigns/{id}": {
66
- /** Public. Returns saved UI elements only, regardless of enabled state, campaign schedule, targeting, or rollout. Cached for 30 seconds. Invalid UI payloads are omitted. */
66
+ /** Public. Returns saved UI elements in `result` and saved configs in `configs`, regardless of enabled state, campaign schedule, targeting, or rollout. Cached for 30 seconds. Invalid UI payloads are omitted; configs are returned as stored. */
67
67
  get: operations["getPreviewCampaign"];
68
68
  };
69
69
  "/api/lab/v2/preview/ui/{id}": {
@@ -90,7 +90,9 @@ export interface components {
90
90
  };
91
91
  HeaderBannerPayload: {
92
92
  kind: "default" | "informational" | "promotional" | "branded" | "urgency" | "success" | "warning" | "critical" | "lux-plus";
93
+ /** @description Markdown: a single newline does not break the line; a blank line starts a new paragraph */
93
94
  "description-i18n": string;
95
+ /** @description Markdown: a single newline does not break the line; a blank line starts a new paragraph */
94
96
  "mobile-description-i18n"?: string;
95
97
  cta?: components["schemas"]["HeaderBannerCta"];
96
98
  };
@@ -104,6 +106,7 @@ export interface components {
104
106
  };
105
107
  PopupContent: {
106
108
  "title-i18n": string;
109
+ /** @description Markdown: a single newline does not break the line; a blank line starts a new paragraph */
107
110
  "description-i18n"?: string;
108
111
  imageId?: string;
109
112
  tag?: components["schemas"]["PopupTag"];
@@ -1532,7 +1535,7 @@ export interface operations {
1532
1535
  };
1533
1536
  };
1534
1537
  };
1535
- /** Public. Returns saved UI elements only, regardless of enabled state, campaign schedule, targeting, or rollout. Cached for 30 seconds. Invalid UI payloads are omitted. */
1538
+ /** Public. Returns saved UI elements in `result` and saved configs in `configs`, regardless of enabled state, campaign schedule, targeting, or rollout. Cached for 30 seconds. Invalid UI payloads are omitted; configs are returned as stored. */
1536
1539
  getPreviewCampaign: {
1537
1540
  parameters: {
1538
1541
  path: {
@@ -1559,6 +1562,14 @@ export interface operations {
1559
1562
  type: "popup";
1560
1563
  payload: components["schemas"]["PopupPayload"];
1561
1564
  })[];
1565
+ configs: {
1566
+ /** Format: uuid */
1567
+ id: string;
1568
+ name: string;
1569
+ payload: {
1570
+ [key: string]: unknown;
1571
+ };
1572
+ }[];
1562
1573
  };
1563
1574
  };
1564
1575
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [