@luxuryescapes/contract-svc-lab-v2 0.1.32 → 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 -8
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -727,8 +727,6 @@ export interface operations {
|
|
|
727
727
|
content: {
|
|
728
728
|
"application/json": {
|
|
729
729
|
name: string;
|
|
730
|
-
/** @description scheduled is live inside its schedule; always_on is live while enable is true */
|
|
731
|
-
type: "scheduled" | "always_on";
|
|
732
730
|
/** @description Turns an always_on campaign on; scheduled campaigns ignore it */
|
|
733
731
|
enable: boolean;
|
|
734
732
|
priority: number;
|
|
@@ -814,8 +812,8 @@ export interface operations {
|
|
|
814
812
|
/** Format: uuid */
|
|
815
813
|
id: string;
|
|
816
814
|
name: string;
|
|
815
|
+
description: string | null;
|
|
817
816
|
enable: boolean;
|
|
818
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
819
817
|
payload: {
|
|
820
818
|
[key: string]: unknown;
|
|
821
819
|
};
|
|
@@ -913,8 +911,8 @@ export interface operations {
|
|
|
913
911
|
/** Format: uuid */
|
|
914
912
|
id: string;
|
|
915
913
|
name: string;
|
|
914
|
+
description: string | null;
|
|
916
915
|
enable: boolean;
|
|
917
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
918
916
|
payload: {
|
|
919
917
|
[key: string]: unknown;
|
|
920
918
|
};
|
|
@@ -998,8 +996,8 @@ export interface operations {
|
|
|
998
996
|
"application/json": {
|
|
999
997
|
configs: {
|
|
1000
998
|
name: string;
|
|
999
|
+
description?: string | null;
|
|
1001
1000
|
enable: boolean;
|
|
1002
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1003
1001
|
payload: {
|
|
1004
1002
|
[key: string]: unknown;
|
|
1005
1003
|
};
|
|
@@ -1207,6 +1205,8 @@ export interface operations {
|
|
|
1207
1205
|
result: {
|
|
1208
1206
|
id: number;
|
|
1209
1207
|
key: string;
|
|
1208
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1209
|
+
description: string | null;
|
|
1210
1210
|
enable: boolean;
|
|
1211
1211
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1212
1212
|
rollout: number;
|
|
@@ -1272,6 +1272,8 @@ export interface operations {
|
|
|
1272
1272
|
result: {
|
|
1273
1273
|
id: number;
|
|
1274
1274
|
key: string;
|
|
1275
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1276
|
+
description: string | null;
|
|
1275
1277
|
enable: boolean;
|
|
1276
1278
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1277
1279
|
rollout: number;
|
|
@@ -1323,6 +1325,8 @@ export interface operations {
|
|
|
1323
1325
|
requestBody: {
|
|
1324
1326
|
content: {
|
|
1325
1327
|
"application/json": {
|
|
1328
|
+
/** @description Omitted clears it, as for every other field. */
|
|
1329
|
+
description?: string | null;
|
|
1326
1330
|
enable: boolean;
|
|
1327
1331
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1328
1332
|
rollout: number;
|
|
@@ -1420,6 +1424,8 @@ export interface operations {
|
|
|
1420
1424
|
result: {
|
|
1421
1425
|
id: number;
|
|
1422
1426
|
key: string;
|
|
1427
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1428
|
+
description: string | null;
|
|
1423
1429
|
enable: boolean;
|
|
1424
1430
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1425
1431
|
rollout: number;
|
|
@@ -1478,6 +1484,8 @@ export interface operations {
|
|
|
1478
1484
|
result: {
|
|
1479
1485
|
id: number;
|
|
1480
1486
|
key: string;
|
|
1487
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1488
|
+
description: string | null;
|
|
1481
1489
|
enable: boolean;
|
|
1482
1490
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1483
1491
|
rollout: number;
|
|
@@ -1522,6 +1530,8 @@ export interface operations {
|
|
|
1522
1530
|
"application/json": {
|
|
1523
1531
|
/** @description Case-sensitive and unique. Fixed after create: clients ask for the flag by key. */
|
|
1524
1532
|
key: string;
|
|
1533
|
+
/** @description Tells admins what the flag is for. Not returned to clients. */
|
|
1534
|
+
description?: string | null;
|
|
1525
1535
|
enable?: boolean;
|
|
1526
1536
|
/** @description Share of callers in basis points: 10000 is everyone */
|
|
1527
1537
|
rollout?: number;
|
|
@@ -1797,13 +1807,11 @@ export interface operations {
|
|
|
1797
1807
|
message: string;
|
|
1798
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. */
|
|
1799
1809
|
result: {
|
|
1800
|
-
/** @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. */
|
|
1801
1811
|
configs: {
|
|
1802
1812
|
/** Format: uuid */
|
|
1803
1813
|
id: string;
|
|
1804
1814
|
name: string;
|
|
1805
|
-
/** @description Empty means global: the entry applies at every trigger point. */
|
|
1806
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1807
1815
|
experiment_id: number;
|
|
1808
1816
|
}[];
|
|
1809
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. */
|