@luxuryescapes/contract-svc-lab-v2 0.1.21 → 0.1.22

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 +11 -0
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -1360,16 +1360,25 @@ export interface operations {
1360
1360
  "application/json": {
1361
1361
  status: 200;
1362
1362
  message: string;
1363
+ /** @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. */
1363
1364
  result: {
1365
+ /** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For a given config name, use the first entry whose trigger_points is empty or contains your trigger point. */
1364
1366
  configs: {
1367
+ /** Format: uuid */
1368
+ id: string;
1365
1369
  name: string;
1370
+ /** @description Empty means global: the entry applies at every trigger point. */
1371
+ trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1372
+ experiment_id: number;
1366
1373
  }[];
1374
+ /** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For a given UI type, use the first entry whose trigger_points is empty or contains your trigger point. */
1367
1375
  uis: ({
1368
1376
  type: "header_banner";
1369
1377
  /** Format: uuid */
1370
1378
  id: string;
1371
1379
  experiment_id: number;
1372
1380
  match_mode: "include" | "exclude";
1381
+ /** @description Empty means global: the entry applies at every trigger point. */
1373
1382
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1374
1383
  offer_ids: string[];
1375
1384
  } | {
@@ -1378,6 +1387,7 @@ export interface operations {
1378
1387
  id: string;
1379
1388
  experiment_id: number;
1380
1389
  match_mode: "include" | "exclude";
1390
+ /** @description Empty means global: the entry applies at every trigger point. */
1381
1391
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1382
1392
  offer_ids: string[];
1383
1393
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
@@ -1387,6 +1397,7 @@ export interface operations {
1387
1397
  id: string;
1388
1398
  experiment_id: number;
1389
1399
  match_mode: "include" | "exclude";
1400
+ /** @description Empty means global: the entry applies at every trigger point. */
1390
1401
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1391
1402
  offer_ids: string[];
1392
1403
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [