@luxuryescapes/contract-svc-lab-v2 0.1.38 → 0.1.40
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 +19 -42
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -827,9 +827,6 @@ export interface operations {
|
|
|
827
827
|
/** Format: uuid */
|
|
828
828
|
id: string;
|
|
829
829
|
enable: boolean;
|
|
830
|
-
match_mode: "include" | "exclude";
|
|
831
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
832
|
-
offer_ids: string[];
|
|
833
830
|
/** Format: date-time */
|
|
834
831
|
created_at: string;
|
|
835
832
|
/** Format: date-time */
|
|
@@ -840,9 +837,6 @@ export interface operations {
|
|
|
840
837
|
/** Format: uuid */
|
|
841
838
|
id: string;
|
|
842
839
|
enable: boolean;
|
|
843
|
-
match_mode: "include" | "exclude";
|
|
844
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
845
|
-
offer_ids: string[];
|
|
846
840
|
/** Format: date-time */
|
|
847
841
|
created_at: string;
|
|
848
842
|
/** Format: date-time */
|
|
@@ -854,9 +848,6 @@ export interface operations {
|
|
|
854
848
|
/** Format: uuid */
|
|
855
849
|
id: string;
|
|
856
850
|
enable: boolean;
|
|
857
|
-
match_mode: "include" | "exclude";
|
|
858
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
859
|
-
offer_ids: string[];
|
|
860
851
|
/** Format: date-time */
|
|
861
852
|
created_at: string;
|
|
862
853
|
/** Format: date-time */
|
|
@@ -926,9 +917,6 @@ export interface operations {
|
|
|
926
917
|
/** Format: uuid */
|
|
927
918
|
id: string;
|
|
928
919
|
enable: boolean;
|
|
929
|
-
match_mode: "include" | "exclude";
|
|
930
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
931
|
-
offer_ids: string[];
|
|
932
920
|
/** Format: date-time */
|
|
933
921
|
created_at: string;
|
|
934
922
|
/** Format: date-time */
|
|
@@ -939,9 +927,6 @@ export interface operations {
|
|
|
939
927
|
/** Format: uuid */
|
|
940
928
|
id: string;
|
|
941
929
|
enable: boolean;
|
|
942
|
-
match_mode: "include" | "exclude";
|
|
943
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
944
|
-
offer_ids: string[];
|
|
945
930
|
/** Format: date-time */
|
|
946
931
|
created_at: string;
|
|
947
932
|
/** Format: date-time */
|
|
@@ -953,9 +938,6 @@ export interface operations {
|
|
|
953
938
|
/** Format: uuid */
|
|
954
939
|
id: string;
|
|
955
940
|
enable: boolean;
|
|
956
|
-
match_mode: "include" | "exclude";
|
|
957
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
958
|
-
offer_ids: string[];
|
|
959
941
|
/** Format: date-time */
|
|
960
942
|
created_at: string;
|
|
961
943
|
/** Format: date-time */
|
|
@@ -1005,24 +987,15 @@ export interface operations {
|
|
|
1005
987
|
uis: ({
|
|
1006
988
|
type: "header_banner";
|
|
1007
989
|
enable: boolean;
|
|
1008
|
-
match_mode: "include" | "exclude";
|
|
1009
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1010
|
-
offer_ids: string[];
|
|
1011
990
|
payload: components["schemas"]["HeaderBannerPayload"];
|
|
1012
991
|
} | {
|
|
1013
992
|
type: "popup";
|
|
1014
993
|
enable: boolean;
|
|
1015
|
-
match_mode: "include" | "exclude";
|
|
1016
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1017
|
-
offer_ids: string[];
|
|
1018
994
|
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1019
995
|
payload: components["schemas"]["PopupPayload"];
|
|
1020
996
|
} | {
|
|
1021
997
|
type: "snackbar";
|
|
1022
998
|
enable: boolean;
|
|
1023
|
-
match_mode: "include" | "exclude";
|
|
1024
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1025
|
-
offer_ids: string[];
|
|
1026
999
|
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1027
1000
|
payload: components["schemas"]["SnackbarPayload"];
|
|
1028
1001
|
})[];
|
|
@@ -1815,35 +1788,23 @@ export interface operations {
|
|
|
1815
1788
|
experiment_id: number;
|
|
1816
1789
|
};
|
|
1817
1790
|
};
|
|
1818
|
-
/** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For header_banner, show every entry
|
|
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. */
|
|
1819
1792
|
uis: ({
|
|
1820
1793
|
type: "header_banner";
|
|
1821
1794
|
/** Format: uuid */
|
|
1822
1795
|
id: string;
|
|
1823
1796
|
experiment_id: number;
|
|
1824
|
-
match_mode: "include" | "exclude";
|
|
1825
|
-
/** @description Empty means global: the entry applies at every trigger point. */
|
|
1826
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1827
|
-
offer_ids: string[];
|
|
1828
1797
|
} | {
|
|
1829
1798
|
type: "popup";
|
|
1830
1799
|
/** Format: uuid */
|
|
1831
1800
|
id: string;
|
|
1832
1801
|
experiment_id: number;
|
|
1833
|
-
match_mode: "include" | "exclude";
|
|
1834
|
-
/** @description Empty means global: the entry applies at every trigger point. */
|
|
1835
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1836
|
-
offer_ids: string[];
|
|
1837
1802
|
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1838
1803
|
} | {
|
|
1839
1804
|
type: "snackbar";
|
|
1840
1805
|
/** Format: uuid */
|
|
1841
1806
|
id: string;
|
|
1842
1807
|
experiment_id: number;
|
|
1843
|
-
match_mode: "include" | "exclude";
|
|
1844
|
-
/** @description Empty means global: the entry applies at every trigger point. */
|
|
1845
|
-
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1846
|
-
offer_ids: string[];
|
|
1847
1808
|
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1848
1809
|
})[];
|
|
1849
1810
|
};
|
|
@@ -1870,8 +1831,16 @@ export interface operations {
|
|
|
1870
1831
|
"application/json": {
|
|
1871
1832
|
/** @description Used only for rollout. Send exactly the value this client sends to Snowplow as domain_userid, so rollout buckets line up with the analysis in Snowplow. Web: the Snowplow JS tracker domain_userid (from the tracker cookie). iOS and Android apps: the AppsFlyer UID, which the apps set as their Snowplow domainUserId. A backend service handling a user request: forward the value from the client request. Null when there is none (no tracker cookie, no tracking consent, or an offline job such as a cron or an email): only full rollouts match. Keep it the same across login and never send a member id. Must be a UUID v4 or an AppsFlyer UID (digits, a dash, then digits); anything else, such as a shared constant like "anonymous", is a 400. */
|
|
1872
1833
|
domain_id: (string | string) | null;
|
|
1834
|
+
/** @description Matched by targeting conditions. A flat map: every value is a string, number or boolean. Omit a key that has no value; never send it as '' or null. Any other key is passed to targeting conditions as is. */
|
|
1873
1835
|
attributes: {
|
|
1874
|
-
|
|
1836
|
+
/** @description Brand of the storefront the user is on. */
|
|
1837
|
+
brand?: string;
|
|
1838
|
+
/** @description Region code of the storefront the user is browsing, as two uppercase letters. Not the user's geo location. */
|
|
1839
|
+
region?: string;
|
|
1840
|
+
/** @description 'web' for the website; 'app' when bff calls on behalf of the iOS and Android apps. */
|
|
1841
|
+
platform?: string;
|
|
1842
|
+
} & {
|
|
1843
|
+
[key: string]: string | number | boolean;
|
|
1875
1844
|
};
|
|
1876
1845
|
};
|
|
1877
1846
|
};
|
|
@@ -1920,8 +1889,16 @@ export interface operations {
|
|
|
1920
1889
|
keys: string[];
|
|
1921
1890
|
/** @description Used only for rollout. Send exactly the value this client sends to Snowplow as domain_userid, so rollout buckets line up with the analysis in Snowplow. Web: the Snowplow JS tracker domain_userid (from the tracker cookie). iOS and Android apps: the AppsFlyer UID, which the apps set as their Snowplow domainUserId. A backend service handling a user request: forward the value from the client request. Null when there is none (no tracker cookie, no tracking consent, or an offline job such as a cron or an email): only full rollouts match. Keep it the same across login and never send a member id. Must be a UUID v4 or an AppsFlyer UID (digits, a dash, then digits); anything else, such as a shared constant like "anonymous", is a 400. */
|
|
1922
1891
|
domain_id: (string | string) | null;
|
|
1892
|
+
/** @description Matched by targeting conditions. A flat map: every value is a string, number or boolean. Omit a key that has no value; never send it as '' or null. Any other key is passed to targeting conditions as is. */
|
|
1923
1893
|
attributes: {
|
|
1924
|
-
|
|
1894
|
+
/** @description Brand of the storefront the user is on. */
|
|
1895
|
+
brand?: string;
|
|
1896
|
+
/** @description Region code of the storefront the user is browsing, as two uppercase letters. Not the user's geo location. */
|
|
1897
|
+
region?: string;
|
|
1898
|
+
/** @description 'web' for the website; 'app' when bff calls on behalf of the iOS and Android apps. */
|
|
1899
|
+
platform?: string;
|
|
1900
|
+
} & {
|
|
1901
|
+
[key: string]: string | number | boolean;
|
|
1925
1902
|
};
|
|
1926
1903
|
};
|
|
1927
1904
|
};
|