@luxuryescapes/contract-svc-lab-v2 0.1.20 → 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.
- package/dist/server.d.ts +17 -9
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -1360,39 +1360,47 @@ 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;
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
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;
|
|
1369
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. */
|
|
1370
1375
|
uis: ({
|
|
1371
1376
|
type: "header_banner";
|
|
1372
|
-
|
|
1377
|
+
/** Format: uuid */
|
|
1378
|
+
id: string;
|
|
1373
1379
|
experiment_id: number;
|
|
1374
1380
|
match_mode: "include" | "exclude";
|
|
1381
|
+
/** @description Empty means global: the entry applies at every trigger point. */
|
|
1375
1382
|
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1376
1383
|
offer_ids: string[];
|
|
1377
|
-
payload: components["schemas"]["HeaderBannerPayload"];
|
|
1378
1384
|
} | {
|
|
1379
1385
|
type: "popup";
|
|
1380
|
-
|
|
1386
|
+
/** Format: uuid */
|
|
1387
|
+
id: string;
|
|
1381
1388
|
experiment_id: number;
|
|
1382
1389
|
match_mode: "include" | "exclude";
|
|
1390
|
+
/** @description Empty means global: the entry applies at every trigger point. */
|
|
1383
1391
|
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1384
1392
|
offer_ids: string[];
|
|
1385
1393
|
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1386
|
-
payload: components["schemas"]["PopupPayload"];
|
|
1387
1394
|
} | {
|
|
1388
1395
|
type: "snackbar";
|
|
1389
|
-
|
|
1396
|
+
/** Format: uuid */
|
|
1397
|
+
id: string;
|
|
1390
1398
|
experiment_id: number;
|
|
1391
1399
|
match_mode: "include" | "exclude";
|
|
1400
|
+
/** @description Empty means global: the entry applies at every trigger point. */
|
|
1392
1401
|
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1393
1402
|
offer_ids: string[];
|
|
1394
1403
|
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1395
|
-
payload: components["schemas"]["SnackbarPayload"];
|
|
1396
1404
|
})[];
|
|
1397
1405
|
};
|
|
1398
1406
|
};
|