@luxuryescapes/contract-svc-lab-v2 0.1.33 → 0.1.34
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 +16 -6
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -812,8 +812,8 @@ export interface operations {
|
|
|
812
812
|
/** Format: uuid */
|
|
813
813
|
id: string;
|
|
814
814
|
name: string;
|
|
815
|
+
description: string | null;
|
|
815
816
|
enable: boolean;
|
|
816
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
817
817
|
payload: {
|
|
818
818
|
[key: string]: unknown;
|
|
819
819
|
};
|
|
@@ -911,8 +911,8 @@ export interface operations {
|
|
|
911
911
|
/** Format: uuid */
|
|
912
912
|
id: string;
|
|
913
913
|
name: string;
|
|
914
|
+
description: string | null;
|
|
914
915
|
enable: boolean;
|
|
915
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
916
916
|
payload: {
|
|
917
917
|
[key: string]: unknown;
|
|
918
918
|
};
|
|
@@ -996,8 +996,8 @@ export interface operations {
|
|
|
996
996
|
"application/json": {
|
|
997
997
|
configs: {
|
|
998
998
|
name: string;
|
|
999
|
+
description?: string | null;
|
|
999
1000
|
enable: boolean;
|
|
1000
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1001
1001
|
payload: {
|
|
1002
1002
|
[key: string]: unknown;
|
|
1003
1003
|
};
|
|
@@ -1205,6 +1205,8 @@ export interface operations {
|
|
|
1205
1205
|
result: {
|
|
1206
1206
|
id: number;
|
|
1207
1207
|
key: string;
|
|
1208
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1209
|
+
description: string | null;
|
|
1208
1210
|
enable: boolean;
|
|
1209
1211
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1210
1212
|
rollout: number;
|
|
@@ -1270,6 +1272,8 @@ export interface operations {
|
|
|
1270
1272
|
result: {
|
|
1271
1273
|
id: number;
|
|
1272
1274
|
key: string;
|
|
1275
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1276
|
+
description: string | null;
|
|
1273
1277
|
enable: boolean;
|
|
1274
1278
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1275
1279
|
rollout: number;
|
|
@@ -1321,6 +1325,8 @@ export interface operations {
|
|
|
1321
1325
|
requestBody: {
|
|
1322
1326
|
content: {
|
|
1323
1327
|
"application/json": {
|
|
1328
|
+
/** @description Omitted clears it, as for every other field. */
|
|
1329
|
+
description?: string | null;
|
|
1324
1330
|
enable: boolean;
|
|
1325
1331
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1326
1332
|
rollout: number;
|
|
@@ -1418,6 +1424,8 @@ export interface operations {
|
|
|
1418
1424
|
result: {
|
|
1419
1425
|
id: number;
|
|
1420
1426
|
key: string;
|
|
1427
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1428
|
+
description: string | null;
|
|
1421
1429
|
enable: boolean;
|
|
1422
1430
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1423
1431
|
rollout: number;
|
|
@@ -1476,6 +1484,8 @@ export interface operations {
|
|
|
1476
1484
|
result: {
|
|
1477
1485
|
id: number;
|
|
1478
1486
|
key: string;
|
|
1487
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1488
|
+
description: string | null;
|
|
1479
1489
|
enable: boolean;
|
|
1480
1490
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1481
1491
|
rollout: number;
|
|
@@ -1520,6 +1530,8 @@ export interface operations {
|
|
|
1520
1530
|
"application/json": {
|
|
1521
1531
|
/** @description Case-sensitive and unique. Fixed after create: clients ask for the flag by key. */
|
|
1522
1532
|
key: string;
|
|
1533
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1534
|
+
description?: string | null;
|
|
1523
1535
|
enable?: boolean;
|
|
1524
1536
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1525
1537
|
rollout?: number;
|
|
@@ -1795,13 +1807,11 @@ export interface operations {
|
|
|
1795
1807
|
message: string;
|
|
1796
1808
|
/** @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. */
|
|
1797
1809
|
result: {
|
|
1798
|
-
/** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For a given config name, use the first entry
|
|
1810
|
+
/** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For a given config name, use the first entry. */
|
|
1799
1811
|
configs: {
|
|
1800
1812
|
/** Format: uuid */
|
|
1801
1813
|
id: string;
|
|
1802
1814
|
name: string;
|
|
1803
|
-
/** @description Empty means global: the entry applies at every trigger point. */
|
|
1804
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1805
1815
|
experiment_id: number;
|
|
1806
1816
|
}[];
|
|
1807
1817
|
/** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For header_banner, show every entry whose trigger_points is empty or contains your trigger point, in this order. For other UI types, use the first entry whose trigger_points is empty or contains your trigger point. */
|