@@ -91,6 +91,36 @@ data class User<T>(
9191 @SerializedName(" emailVerification" )
9292 val emailVerification : Boolean ,
9393
94+ /* *
95+ * Canonical form of the user email address.
96+ */
97+ @SerializedName(" emailCanonical" )
98+ var emailCanonical : String? ,
99+
100+ /* *
101+ * Whether the user email is from a free email provider.
102+ */
103+ @SerializedName(" emailIsFree" )
104+ var emailIsFree : Boolean? ,
105+
106+ /* *
107+ * Whether the user email is from a disposable email provider.
108+ */
109+ @SerializedName(" emailIsDisposable" )
110+ var emailIsDisposable : Boolean? ,
111+
112+ /* *
113+ * Whether the user email is from a corporate domain.
114+ */
115+ @SerializedName(" emailIsCorporate" )
116+ var emailIsCorporate : Boolean? ,
117+
118+ /* *
119+ * Whether the user email is in its canonical form.
120+ */
121+ @SerializedName(" emailIsCanonical" )
122+ var emailIsCanonical : Boolean? ,
123+
94124 /* *
95125 * Phone verification status.
96126 */
@@ -149,6 +179,11 @@ data class User<T>(
149179 " email" to email as Any ,
150180 " phone" to phone as Any ,
151181 " emailVerification" to emailVerification as Any ,
182+ " emailCanonical" to emailCanonical as Any ,
183+ " emailIsFree" to emailIsFree as Any ,
184+ " emailIsDisposable" to emailIsDisposable as Any ,
185+ " emailIsCorporate" to emailIsCorporate as Any ,
186+ " emailIsCanonical" to emailIsCanonical as Any ,
152187 " phoneVerification" to phoneVerification as Any ,
153188 " mfa" to mfa as Any ,
154189 " prefs" to prefs.toMap() as Any ,
@@ -174,6 +209,11 @@ data class User<T>(
174209 email : String ,
175210 phone : String ,
176211 emailVerification : Boolean ,
212+ emailCanonical : String? ,
213+ emailIsFree : Boolean? ,
214+ emailIsDisposable : Boolean? ,
215+ emailIsCorporate : Boolean? ,
216+ emailIsCanonical : Boolean? ,
177217 phoneVerification : Boolean ,
178218 mfa : Boolean ,
179219 prefs : Preferences <Map <String , Any >>,
@@ -196,6 +236,11 @@ data class User<T>(
196236 email,
197237 phone,
198238 emailVerification,
239+ emailCanonical,
240+ emailIsFree,
241+ emailIsDisposable,
242+ emailIsCorporate,
243+ emailIsCanonical,
199244 phoneVerification,
200245 mfa,
201246 prefs,
@@ -224,6 +269,11 @@ data class User<T>(
224269 email = map[" email" ] as String ,
225270 phone = map[" phone" ] as String ,
226271 emailVerification = map[" emailVerification" ] as Boolean ,
272+ emailCanonical = map[" emailCanonical" ] as ? String ,
273+ emailIsFree = map[" emailIsFree" ] as ? Boolean ,
274+ emailIsDisposable = map[" emailIsDisposable" ] as ? Boolean ,
275+ emailIsCorporate = map[" emailIsCorporate" ] as ? Boolean ,
276+ emailIsCanonical = map[" emailIsCanonical" ] as ? Boolean ,
227277 phoneVerification = map[" phoneVerification" ] as Boolean ,
228278 mfa = map[" mfa" ] as Boolean ,
229279 prefs = Preferences .from(map = map[" prefs" ] as Map <String , Any >, nestedType),
0 commit comments