@luxuryescapes/contract-svc-lab-v2 0.1.40 → 0.1.41

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 +2 -58
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -131,11 +131,6 @@ export interface components {
131
131
  style: "light" | "dark";
132
132
  content: components["schemas"]["PopupContent"];
133
133
  };
134
- SnackbarPayload: {
135
- kind: "neutral" | "warning" | "success" | "critical";
136
- "heading-i18n": string;
137
- "description-i18n": string;
138
- };
139
134
  };
140
135
  }
141
136
  export interface operations {
@@ -843,17 +838,6 @@ export interface operations {
843
838
  updated_at: string;
844
839
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
845
840
  payload: components["schemas"]["PopupPayload"];
846
- } | {
847
- type: "snackbar";
848
- /** Format: uuid */
849
- id: string;
850
- enable: boolean;
851
- /** Format: date-time */
852
- created_at: string;
853
- /** Format: date-time */
854
- updated_at: string;
855
- display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
856
- payload: components["schemas"]["SnackbarPayload"];
857
841
  })[];
858
842
  };
859
843
  };
@@ -933,17 +917,6 @@ export interface operations {
933
917
  updated_at: string;
934
918
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
935
919
  payload: components["schemas"]["PopupPayload"];
936
- } | {
937
- type: "snackbar";
938
- /** Format: uuid */
939
- id: string;
940
- enable: boolean;
941
- /** Format: date-time */
942
- created_at: string;
943
- /** Format: date-time */
944
- updated_at: string;
945
- display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
946
- payload: components["schemas"]["SnackbarPayload"];
947
920
  })[];
948
921
  };
949
922
  };
@@ -993,11 +966,6 @@ export interface operations {
993
966
  enable: boolean;
994
967
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
995
968
  payload: components["schemas"]["PopupPayload"];
996
- } | {
997
- type: "snackbar";
998
- enable: boolean;
999
- display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
1000
- payload: components["schemas"]["SnackbarPayload"];
1001
969
  })[];
1002
970
  };
1003
971
  };
@@ -1558,12 +1526,6 @@ export interface operations {
1558
1526
  kind: "ui";
1559
1527
  type: "popup";
1560
1528
  payload: components["schemas"]["PopupPayload"];
1561
- } | {
1562
- /** Format: uuid */
1563
- id: string;
1564
- kind: "ui";
1565
- type: "snackbar";
1566
- payload: components["schemas"]["SnackbarPayload"];
1567
1529
  };
1568
1530
  };
1569
1531
  };
@@ -1614,12 +1576,6 @@ export interface operations {
1614
1576
  kind: "ui";
1615
1577
  type: "popup";
1616
1578
  payload: components["schemas"]["PopupPayload"];
1617
- } | {
1618
- /** Format: uuid */
1619
- id: string;
1620
- kind: "ui";
1621
- type: "snackbar";
1622
- payload: components["schemas"]["SnackbarPayload"];
1623
1579
  })[];
1624
1580
  };
1625
1581
  };
@@ -1674,12 +1630,6 @@ export interface operations {
1674
1630
  kind: "ui";
1675
1631
  type: "popup";
1676
1632
  payload: components["schemas"]["PopupPayload"];
1677
- } | {
1678
- /** Format: uuid */
1679
- id: string;
1680
- kind: "ui";
1681
- type: "snackbar";
1682
- payload: components["schemas"]["SnackbarPayload"];
1683
1633
  };
1684
1634
  };
1685
1635
  };
@@ -1778,7 +1728,7 @@ export interface operations {
1778
1728
  "application/json": {
1779
1729
  status: 200;
1780
1730
  message: string;
1781
- /** @description Metadata only. Fetch each payload by id from its own endpoint: send no credentials, no Authorization header and no brand query param, and keep the query string stable, so the CDN can cache it. Metadata can be up to 5 minutes newer than a cached payload: on a 404 or an unrecognised payload, render nothing. During SSR, fetch only above-the-fold payloads; fetch popups, snackbars and other configs in the browser on demand. */
1731
+ /** @description Metadata only. Fetch each payload by id from its own endpoint: send no credentials, no Authorization header and no brand query param, and keep the query string stable, so the CDN can cache it. Metadata can be up to 5 minutes newer than a cached payload: on a 404 or an unrecognised payload, render nothing. During SSR, fetch only above-the-fold payloads; fetch popups and other configs in the browser on demand. */
1782
1732
  result: {
1783
1733
  /** @description Keyed by config name. Each name maps to the config of the highest-priority campaign (scheduled, then always-on) that has it. A missing name means no config applies. */
1784
1734
  configs: {
@@ -1788,7 +1738,7 @@ export interface operations {
1788
1738
  experiment_id: number;
1789
1739
  };
1790
1740
  };
1791
- /** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For header_banner, show every entry, in this order. For other UI types, use the first entry. */
1741
+ /** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For header_banner, show every entry, in this order. For popup, use the first entry. */
1792
1742
  uis: ({
1793
1743
  type: "header_banner";
1794
1744
  /** Format: uuid */
@@ -1800,12 +1750,6 @@ export interface operations {
1800
1750
  id: string;
1801
1751
  experiment_id: number;
1802
1752
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
1803
- } | {
1804
- type: "snackbar";
1805
- /** Format: uuid */
1806
- id: string;
1807
- experiment_id: number;
1808
- display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
1809
1753
  })[];
1810
1754
  };
1811
1755
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [