Skip to content

ensure response model properties always exist and fix auth bug

Pre-release
Pre-release

Choose a tag to compare

@crhistianramirez crhistianramirez released this 03 Mar 17:33

Fixed Bugs 🐛

  • grant_type was incorrect for elevated login as well as client credentials auth methods
  • response model properties are now typed to always exist since we know the API always returns a well-formed response. This wasn't true for nested properties because the built in typescript helper Required only went one level deep. We are now using a custom type RequiredDeep that accounts for nested properties as well.