@luxuryescapes/contract-svc-lab-v2 0.1.12 → 0.1.13
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 +154 -14
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -895,22 +895,51 @@ export interface operations {
|
|
|
895
895
|
"application/json": {
|
|
896
896
|
status: 200;
|
|
897
897
|
message: string;
|
|
898
|
-
result: {
|
|
898
|
+
result: ({
|
|
899
|
+
type: "header_banner";
|
|
899
900
|
id: number;
|
|
900
|
-
type: "header_banner" | "popup" | "snackbar";
|
|
901
901
|
enable: boolean;
|
|
902
|
-
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
903
902
|
match_mode: "include" | "exclude";
|
|
904
903
|
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
905
904
|
offer_ids: string[];
|
|
905
|
+
/** Format: date-time */
|
|
906
|
+
created_at: string;
|
|
907
|
+
/** Format: date-time */
|
|
908
|
+
updated_at: string;
|
|
906
909
|
payload: {
|
|
907
910
|
[key: string]: unknown;
|
|
908
911
|
};
|
|
912
|
+
} | {
|
|
913
|
+
type: "popup";
|
|
914
|
+
id: number;
|
|
915
|
+
enable: boolean;
|
|
916
|
+
match_mode: "include" | "exclude";
|
|
917
|
+
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
918
|
+
offer_ids: string[];
|
|
909
919
|
/** Format: date-time */
|
|
910
920
|
created_at: string;
|
|
911
921
|
/** Format: date-time */
|
|
912
922
|
updated_at: string;
|
|
913
|
-
|
|
923
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
924
|
+
payload: {
|
|
925
|
+
[key: string]: unknown;
|
|
926
|
+
};
|
|
927
|
+
} | {
|
|
928
|
+
type: "snackbar";
|
|
929
|
+
id: number;
|
|
930
|
+
enable: boolean;
|
|
931
|
+
match_mode: "include" | "exclude";
|
|
932
|
+
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
933
|
+
offer_ids: string[];
|
|
934
|
+
/** Format: date-time */
|
|
935
|
+
created_at: string;
|
|
936
|
+
/** Format: date-time */
|
|
937
|
+
updated_at: string;
|
|
938
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
939
|
+
payload: {
|
|
940
|
+
[key: string]: unknown;
|
|
941
|
+
};
|
|
942
|
+
})[];
|
|
914
943
|
};
|
|
915
944
|
};
|
|
916
945
|
};
|
|
@@ -955,22 +984,51 @@ export interface operations {
|
|
|
955
984
|
"application/json": {
|
|
956
985
|
status: 200;
|
|
957
986
|
message: string;
|
|
958
|
-
result: {
|
|
987
|
+
result: ({
|
|
988
|
+
type: "header_banner";
|
|
959
989
|
id: number;
|
|
960
|
-
type: "header_banner" | "popup" | "snackbar";
|
|
961
990
|
enable: boolean;
|
|
962
|
-
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
963
991
|
match_mode: "include" | "exclude";
|
|
964
992
|
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
965
993
|
offer_ids: string[];
|
|
994
|
+
/** Format: date-time */
|
|
995
|
+
created_at: string;
|
|
996
|
+
/** Format: date-time */
|
|
997
|
+
updated_at: string;
|
|
966
998
|
payload: {
|
|
967
999
|
[key: string]: unknown;
|
|
968
1000
|
};
|
|
1001
|
+
} | {
|
|
1002
|
+
type: "popup";
|
|
1003
|
+
id: number;
|
|
1004
|
+
enable: boolean;
|
|
1005
|
+
match_mode: "include" | "exclude";
|
|
1006
|
+
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1007
|
+
offer_ids: string[];
|
|
969
1008
|
/** Format: date-time */
|
|
970
1009
|
created_at: string;
|
|
971
1010
|
/** Format: date-time */
|
|
972
1011
|
updated_at: string;
|
|
973
|
-
|
|
1012
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1013
|
+
payload: {
|
|
1014
|
+
[key: string]: unknown;
|
|
1015
|
+
};
|
|
1016
|
+
} | {
|
|
1017
|
+
type: "snackbar";
|
|
1018
|
+
id: number;
|
|
1019
|
+
enable: boolean;
|
|
1020
|
+
match_mode: "include" | "exclude";
|
|
1021
|
+
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1022
|
+
offer_ids: string[];
|
|
1023
|
+
/** Format: date-time */
|
|
1024
|
+
created_at: string;
|
|
1025
|
+
/** Format: date-time */
|
|
1026
|
+
updated_at: string;
|
|
1027
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1028
|
+
payload: {
|
|
1029
|
+
[key: string]: unknown;
|
|
1030
|
+
};
|
|
1031
|
+
})[];
|
|
974
1032
|
};
|
|
975
1033
|
};
|
|
976
1034
|
};
|
|
@@ -1001,17 +1059,78 @@ export interface operations {
|
|
|
1001
1059
|
requestBody: {
|
|
1002
1060
|
content: {
|
|
1003
1061
|
"application/json": {
|
|
1004
|
-
uis: {
|
|
1005
|
-
type: "header_banner"
|
|
1062
|
+
uis: ({
|
|
1063
|
+
type: "header_banner";
|
|
1006
1064
|
enable: boolean;
|
|
1065
|
+
match_mode: "include" | "exclude";
|
|
1066
|
+
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1067
|
+
offer_ids: string[];
|
|
1068
|
+
payload: {
|
|
1069
|
+
kind: "default" | "informational-primary" | "promotional-primary" | "promotional-primary-accent" | "promotional-secondary" | "success" | "warning" | "critical" | "lux-plus";
|
|
1070
|
+
isCustomAppearance: boolean;
|
|
1071
|
+
textColor: string;
|
|
1072
|
+
ctaPrimaryTextColor: string;
|
|
1073
|
+
description: {
|
|
1074
|
+
desktop: string;
|
|
1075
|
+
mobile?: string;
|
|
1076
|
+
};
|
|
1077
|
+
background: {
|
|
1078
|
+
mode: "solid";
|
|
1079
|
+
value: string;
|
|
1080
|
+
};
|
|
1081
|
+
isLuxPlusBanner: boolean;
|
|
1082
|
+
cta?: {
|
|
1083
|
+
desktop?: {
|
|
1084
|
+
label: string;
|
|
1085
|
+
path: string;
|
|
1086
|
+
style: "primary" | "secondary" | "tertiary";
|
|
1087
|
+
};
|
|
1088
|
+
mobile?: {
|
|
1089
|
+
label: string;
|
|
1090
|
+
path: string;
|
|
1091
|
+
style: "primary" | "secondary" | "tertiary";
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
1094
|
+
iconImageId?: string;
|
|
1095
|
+
};
|
|
1096
|
+
} | {
|
|
1097
|
+
type: "popup";
|
|
1098
|
+
enable: boolean;
|
|
1099
|
+
match_mode: "include" | "exclude";
|
|
1100
|
+
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1101
|
+
offer_ids: string[];
|
|
1007
1102
|
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1103
|
+
payload: {
|
|
1104
|
+
style: "light" | "dark";
|
|
1105
|
+
content: {
|
|
1106
|
+
title: string;
|
|
1107
|
+
description?: string;
|
|
1108
|
+
imageId?: string;
|
|
1109
|
+
tag?: {
|
|
1110
|
+
text: string;
|
|
1111
|
+
variant: "lux-plus" | "dark" | "highlight" | "urgency" | "exclusive";
|
|
1112
|
+
};
|
|
1113
|
+
primaryCta?: {
|
|
1114
|
+
label: string;
|
|
1115
|
+
path: string;
|
|
1116
|
+
};
|
|
1117
|
+
secondaryCta?: {
|
|
1118
|
+
label: string;
|
|
1119
|
+
path: string;
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
} | {
|
|
1124
|
+
type: "snackbar";
|
|
1125
|
+
enable: boolean;
|
|
1008
1126
|
match_mode: "include" | "exclude";
|
|
1009
1127
|
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1010
1128
|
offer_ids: string[];
|
|
1129
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1011
1130
|
payload: {
|
|
1012
1131
|
[key: string]: unknown;
|
|
1013
1132
|
};
|
|
1014
|
-
}[];
|
|
1133
|
+
})[];
|
|
1015
1134
|
};
|
|
1016
1135
|
};
|
|
1017
1136
|
};
|
|
@@ -1190,18 +1309,39 @@ export interface operations {
|
|
|
1190
1309
|
[key: string]: unknown;
|
|
1191
1310
|
};
|
|
1192
1311
|
}[];
|
|
1193
|
-
uis: {
|
|
1312
|
+
uis: ({
|
|
1313
|
+
type: "header_banner";
|
|
1314
|
+
id: number;
|
|
1315
|
+
experiment_id: number;
|
|
1316
|
+
match_mode: "include" | "exclude";
|
|
1317
|
+
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1318
|
+
offer_ids: string[];
|
|
1319
|
+
payload: {
|
|
1320
|
+
[key: string]: unknown;
|
|
1321
|
+
};
|
|
1322
|
+
} | {
|
|
1323
|
+
type: "popup";
|
|
1194
1324
|
id: number;
|
|
1195
1325
|
experiment_id: number;
|
|
1196
|
-
|
|
1326
|
+
match_mode: "include" | "exclude";
|
|
1327
|
+
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1328
|
+
offer_ids: string[];
|
|
1197
1329
|
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1330
|
+
payload: {
|
|
1331
|
+
[key: string]: unknown;
|
|
1332
|
+
};
|
|
1333
|
+
} | {
|
|
1334
|
+
type: "snackbar";
|
|
1335
|
+
id: number;
|
|
1336
|
+
experiment_id: number;
|
|
1198
1337
|
match_mode: "include" | "exclude";
|
|
1199
1338
|
trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
|
|
1200
1339
|
offer_ids: string[];
|
|
1340
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
|
|
1201
1341
|
payload: {
|
|
1202
1342
|
[key: string]: unknown;
|
|
1203
1343
|
};
|
|
1204
|
-
}[];
|
|
1344
|
+
})[];
|
|
1205
1345
|
};
|
|
1206
1346
|
};
|
|
1207
1347
|
};
|