@@ -19,26 +19,7 @@ export interface DirectoryUser<
1919 idpId : string ;
2020 firstName : string | null ;
2121 email : string | null ;
22- /** @deprecated Will be removed in a future major version.
23- * Enable the `emails` custom attribute in dashboard and pull from customAttributes instead.
24- * See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
25- */
26- emails : {
27- type ?: string ;
28- value ?: string ;
29- primary ?: boolean ;
30- } [ ] ;
31- /** @deprecated Will be removed in a future major version.
32- * Enable the `username` custom attribute in dashboard and pull from customAttributes instead.
33- * See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
34- */
35- username : string | null ;
3622 lastName : string | null ;
37- /** @deprecated Will be removed in a future major version.
38- * Enable the `job_title` custom attribute in dashboard and pull from customAttributes instead.
39- * See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
40- */
41- jobTitle : string | null ;
4223 state : 'active' | 'inactive' ;
4324 role ?: RoleResponse ;
4425 createdAt : string ;
@@ -58,26 +39,7 @@ export interface DirectoryUserResponse<
5839 idp_id : string ;
5940 first_name : string | null ;
6041 email : string | null ;
61- /** @deprecated Will be removed in a future major version.
62- * Enable the `emails` custom attribute in dashboard and pull from customAttributes instead.
63- * See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
64- */
65- emails : {
66- type ?: string ;
67- value ?: string ;
68- primary ?: boolean ;
69- } [ ] ;
70- /** @deprecated Will be removed in a future major version.
71- * Enable the `username` custom attribute in dashboard and pull from customAttributes instead.
72- * See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
73- */
74- username : string | null ;
7542 last_name : string | null ;
76- /** @deprecated Will be removed in a future major version.
77- * Enable the `job_title` custom attribute in dashboard and pull from customAttributes instead.
78- * See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
79- */
80- job_title : string | null ;
8143 state : 'active' | 'inactive' ;
8244 role ?: RoleResponse ;
8345 created_at : string ;
0 commit comments