@@ -25,6 +25,7 @@ export class EnterpriseAccount extends BaseResource implements EnterpriseAccount
2525 verification : VerificationResource | null = null ;
2626 enterpriseConnection : EnterpriseAccountConnectionResource | null = null ;
2727 lastAuthenticatedAt : Date | null = null ;
28+ enterpriseConnectionId : string | null = null ;
2829
2930 public constructor ( data : Partial < EnterpriseAccountJSON | EnterpriseAccountJSONSnapshot > , pathRoot : string ) ;
3031 public constructor ( data : EnterpriseAccountJSON | EnterpriseAccountJSONSnapshot , pathRoot : string ) {
@@ -48,6 +49,7 @@ export class EnterpriseAccount extends BaseResource implements EnterpriseAccount
4849 this . lastName = data . last_name ;
4950 this . publicMetadata = data . public_metadata ;
5051 this . lastAuthenticatedAt = data . last_authenticated_at ? unixEpochToDate ( data . last_authenticated_at ) : null ;
52+ this . enterpriseConnectionId = data . enterprise_connection_id ;
5153 if ( data . verification ) {
5254 this . verification = new Verification ( data . verification ) ;
5355 }
@@ -74,6 +76,7 @@ export class EnterpriseAccount extends BaseResource implements EnterpriseAccount
7476 verification : this . verification ?. __internal_toSnapshot ( ) || null ,
7577 enterprise_connection : this . enterpriseConnection ?. __internal_toSnapshot ( ) || null ,
7678 last_authenticated_at : this . lastAuthenticatedAt ? this . lastAuthenticatedAt . getTime ( ) : null ,
79+ enterprise_connection_id : this . enterpriseConnectionId ,
7780 } ;
7881 }
7982}
@@ -92,6 +95,7 @@ export class EnterpriseAccountConnection extends BaseResource implements Enterpr
9295 syncUserAttributes ! : boolean ;
9396 createdAt ! : Date ;
9497 updatedAt ! : Date ;
98+ enterpriseConnectionId : string | null = '' ;
9599
96100 constructor ( data : EnterpriseAccountConnectionJSON | EnterpriseAccountConnectionJSONSnapshot | null ) {
97101 super ( ) ;
@@ -112,6 +116,7 @@ export class EnterpriseAccountConnection extends BaseResource implements Enterpr
112116 this . disableAdditionalIdentifications = data . disable_additional_identifications ;
113117 this . createdAt = unixEpochToDate ( data . created_at ) ;
114118 this . updatedAt = unixEpochToDate ( data . updated_at ) ;
119+ this . enterpriseConnectionId = data . enterprise_connection_id ;
115120 }
116121
117122 return this ;
@@ -131,6 +136,7 @@ export class EnterpriseAccountConnection extends BaseResource implements Enterpr
131136 allow_subdomains : this . allowSubdomains ,
132137 allow_idp_initiated : this . allowIdpInitiated ,
133138 disable_additional_identifications : this . disableAdditionalIdentifications ,
139+ enterprise_connection_id : this . enterpriseConnectionId ,
134140 created_at : this . createdAt . getTime ( ) ,
135141 updated_at : this . updatedAt . getTime ( ) ,
136142 } ;
0 commit comments