avadev/AvaTax-REST-V2-JS-SDK

Incorrect types for customer model

BioSurienDG opened this issue · 1 comments

It says here that the CustomerModel should be making a number of fields optional but they aren't optional in the TS. Ex. contacts (see screenshot from the linked website).

Based on the sample result I'd say what is defined in the API is correct and the model in this repository is incorrect.

(also please provide the return type for queryCompanies instead of just object)

image

This issue has been fixed in 23.1.1. Please upgrade to the latest version and try again