Currently the xml Response type is set to any, ignoring the type information that is defined for that module. https://github.com/plivo/plivo-node/blob/43774043aefb38a7ea06390ad958999414e0d904/types/rest/client.d.ts#L1