In the 3.X JSAPI, the FeatureLayer class has a queryAttachmentInfos method, here: https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#queryattachmentinfos
This method does not seem to exist in the newest (i.e., 4.X) version of the JSAPI. Is there any way currently to recapitulate the 3.X functionality using the 4.X API, or will that functionality only be possible when 4.X is brought closer to parity with 3.X?