[BUG] SaleData missing in typings for ReversalRequest
talalwaseem50 opened this issue · comments
Talal Bin Waseem commented
Describe the bug
According to Terminal API Reference here, when making ReversalRequest, the SaleData field exists. But in this node api implementation, it doesn't. This field is necessary to send information in case of refunding an ecommerce payment as described here.
To Reproduce
Import the library into working project and try to create the ReversalRequest and try to add SaleData in it.
Expected behavior
No TS errors and SaleData in ReversalRequest being typed.