@legalplace/models-v3-types 3.1.1 → 3.1.2

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/index.ts +23 -4
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -51,6 +51,8 @@ export interface ModelV3 {
51
51
  };
52
52
  customization: {
53
53
  disableAutoDefaut?: boolean;
54
+ email?: EmailStep;
55
+ preview?: PreviewCustomization;
54
56
  extracts?: ExtractV3[];
55
57
  clientType?: {
56
58
  type: "ind" | "pro" | "conditionnal";
@@ -79,6 +81,23 @@ export interface ExtractV3 {
79
81
  }
80
82
  }
81
83
 
84
+ /**
85
+ * Email Customization
86
+ */
87
+ export interface EmailStep {
88
+ sectionTitle?: string
89
+ icon?: "download"|"continue"
90
+ ctaLabel?: string
91
+ label?: string
92
+ }
93
+
94
+ /**
95
+ * Preview Customization
96
+ */
97
+ export interface PreviewCustomization {
98
+ title?: string
99
+ }
100
+
82
101
  /**
83
102
  * Section V3
84
103
  */
@@ -136,7 +155,7 @@ export interface OptionV3 {
136
155
  | 'repeated'
137
156
  | 'box'
138
157
  | 'separator';
139
-
158
+
140
159
  /**
141
160
  * Option's label
142
161
  */
@@ -202,7 +221,7 @@ export interface OptionV3 {
202
221
  */
203
222
  message?: string;
204
223
  };
205
-
224
+
206
225
  /**
207
226
  * MULTIPLE PARAMS
208
227
  */
@@ -224,7 +243,7 @@ export interface OptionV3 {
224
243
  */
225
244
  incrementationStart?: number;
226
245
  };
227
-
246
+
228
247
  /**
229
248
  * TERMSHEET PARAMS
230
249
  */
@@ -238,7 +257,7 @@ export interface OptionV3 {
238
257
  */
239
258
  hide?: boolean;
240
259
  };
241
-
260
+
242
261
  /**
243
262
  * BOX PARAMS
244
263
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/models-v3-types",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "main": "",
5
5
  "types": "index",
6
6
  "author": "Moncef Hammou <moncef@legalplace.fr>",