square / square-nodejs-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CatalogModifier.onByDefault isn't available in SDK even though it's returned by API

zoraaver opened this issue · comments

The modiferData on a CatalogObject of type 'MODIFIER' (CatalogModifier interface in the SDK) does not include an onByDefault boolean flag despite the fact that this is returned by the API.

Would it be possible for the SDK to not filter out the 'on_by_default' field in the API response and include an onByDefault flag in the respective CatalogModifier object as well?

Not a publicly available field. Can use lowest ordinal to get default modifier