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

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 +51 -49
  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 */
@@ -1065,34 +1113,7 @@ export interface operations {
1065
1113
  match_mode: "include" | "exclude";
1066
1114
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1067
1115
  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
- };
1116
+ payload: components["schemas"]["HeaderBannerPayload"];
1096
1117
  } | {
1097
1118
  type: "popup";
1098
1119
  enable: boolean;
@@ -1100,26 +1121,7 @@ export interface operations {
1100
1121
  trigger_points: ("home" | "vertical_landing" | "search_results" | "offer_detail" | "campaign_or_destination" | "cart" | "checkout" | "my_escapes" | "voucher_wallet")[];
1101
1122
  offer_ids: string[];
1102
1123
  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
- };
1124
+ payload: components["schemas"]["PopupPayload"];
1123
1125
  } | {
1124
1126
  type: "snackbar";
1125
1127
  enable: boolean;
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.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [