@luxuryescapes/contract-svc-lab-v2 0.1.13 → 0.1.15

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.
Files changed (2) hide show
  1. package/dist/server.d.ts +57 -67
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -55,7 +55,55 @@ export interface paths {
55
55
  };
56
56
  }
57
57
  export interface components {
58
- schemas: {};
58
+ schemas: {
59
+ HeaderBannerDescription: {
60
+ desktop: string;
61
+ mobile?: string;
62
+ };
63
+ HeaderBannerBackground: {
64
+ mode: "solid";
65
+ value: string;
66
+ };
67
+ HeaderBannerCta: {
68
+ label: string;
69
+ path: string;
70
+ style: "primary" | "secondary" | "tertiary";
71
+ };
72
+ HeaderBannerPayload: {
73
+ kind: "default" | "informational-primary" | "promotional-primary" | "promotional-primary-accent" | "promotional-secondary" | "success" | "warning" | "critical" | "lux-plus";
74
+ isCustomAppearance: boolean;
75
+ textColor: string;
76
+ ctaPrimaryTextColor: string;
77
+ description: components["schemas"]["HeaderBannerDescription"];
78
+ background: components["schemas"]["HeaderBannerBackground"];
79
+ isLuxPlusBanner: boolean;
80
+ cta?: {
81
+ desktop?: components["schemas"]["HeaderBannerCta"];
82
+ mobile?: components["schemas"]["HeaderBannerCta"];
83
+ };
84
+ iconImageId?: string;
85
+ };
86
+ PopupTag: {
87
+ text: string;
88
+ variant: "lux-plus" | "dark" | "highlight" | "urgency" | "exclusive";
89
+ };
90
+ PopupCta: {
91
+ label: string;
92
+ path: string;
93
+ };
94
+ PopupContent: {
95
+ title: string;
96
+ description?: string;
97
+ imageId?: string;
98
+ tag?: components["schemas"]["PopupTag"];
99
+ primaryCta?: components["schemas"]["PopupCta"];
100
+ secondaryCta?: components["schemas"]["PopupCta"];
101
+ };
102
+ PopupPayload: {
103
+ style: "light" | "dark";
104
+ content: components["schemas"]["PopupContent"];
105
+ };
106
+ };
59
107
  }
60
108
  export interface operations {
61
109
  /** List audiences with offset pagination, name filter, and sorting */
@@ -906,9 +954,7 @@ export interface operations {
906
954
  created_at: string;
907
955
  /** Format: date-time */
908
956
  updated_at: string;
909
- payload: {
910
- [key: string]: unknown;
911
- };
957
+ payload: components["schemas"]["HeaderBannerPayload"];
912
958
  } | {
913
959
  type: "popup";
914
960
  id: number;
@@ -921,9 +967,7 @@ export interface operations {
921
967
  /** Format: date-time */
922
968
  updated_at: string;
923
969
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
924
- payload: {
925
- [key: string]: unknown;
926
- };
970
+ payload: components["schemas"]["PopupPayload"];
927
971
  } | {
928
972
  type: "snackbar";
929
973
  id: number;
@@ -995,9 +1039,7 @@ export interface operations {
995
1039
  created_at: string;
996
1040
  /** Format: date-time */
997
1041
  updated_at: string;
998
- payload: {
999
- [key: string]: unknown;
1000
- };
1042
+ payload: components["schemas"]["HeaderBannerPayload"];
1001
1043
  } | {
1002
1044
  type: "popup";
1003
1045
  id: number;
@@ -1010,9 +1052,7 @@ export interface operations {
1010
1052
  /** Format: date-time */
1011
1053
  updated_at: string;
1012
1054
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
1013
- payload: {
1014
- [key: string]: unknown;
1015
- };
1055
+ payload: components["schemas"]["PopupPayload"];
1016
1056
  } | {
1017
1057
  type: "snackbar";
1018
1058
  id: number;
@@ -1065,34 +1105,7 @@ export interface operations {
1065
1105
  match_mode: "include" | "exclude";
1066
1106
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1067
1107
  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
- };
1108
+ payload: components["schemas"]["HeaderBannerPayload"];
1096
1109
  } | {
1097
1110
  type: "popup";
1098
1111
  enable: boolean;
@@ -1100,26 +1113,7 @@ export interface operations {
1100
1113
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1101
1114
  offer_ids: string[];
1102
1115
  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
- };
1116
+ payload: components["schemas"]["PopupPayload"];
1123
1117
  } | {
1124
1118
  type: "snackbar";
1125
1119
  enable: boolean;
@@ -1316,9 +1310,7 @@ export interface operations {
1316
1310
  match_mode: "include" | "exclude";
1317
1311
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1318
1312
  offer_ids: string[];
1319
- payload: {
1320
- [key: string]: unknown;
1321
- };
1313
+ payload: components["schemas"]["HeaderBannerPayload"];
1322
1314
  } | {
1323
1315
  type: "popup";
1324
1316
  id: number;
@@ -1327,9 +1319,7 @@ export interface operations {
1327
1319
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1328
1320
  offer_ids: string[];
1329
1321
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
1330
- payload: {
1331
- [key: string]: unknown;
1332
- };
1322
+ payload: components["schemas"]["PopupPayload"];
1333
1323
  } | {
1334
1324
  type: "snackbar";
1335
1325
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [