feat: remove the necessity for amazonAdvertisingAPIClientId
and amazonAdvertisingAPIScope
on every api function call
#51
Labels
enhancement
New feature or request
The autogenerated models contain request params for the API endpoints that most of the time take
amazonAdvertisingAPIClientId
andamazonAdvertisingAPIScope
.It would be great if this were somehow auto-populated by the API configuration that also accepts the same vars so that each API call does not have to have the same values applied, which can get quite verbose.
Current example code:
In our other library
walmart-marketplace-api
we attempted to solve this by destructuring these from a so-calleddefaultConfig
.However, this only partially solves the problem.
It would be great if we either somehow intercept these calls and populate the values or post-processed these files and add some sort of mixin or helper util for all the functions that require them.
The text was updated successfully, but these errors were encountered: