You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chargebee we used additional fields inside subscription like cf_filename which is impossible with this library and we have to cast subscription object as any
The text was updated successfully, but these errors were encountered:
afterwards I just made a cast to this interface like:
this._chargebeeClient.subscription
.list(<customSubscriptionListParams>{
limit: 1,
cf_filename: { is: filename },
})
Hence, the type checks exists for the default variables but also for the additional custom field.
The only draw back I see is that this needs to be adapted per request instead of that there would be a central location which is exactly what @jaska120 asked for in #28.
Hence, Chargebee, if you have a solution to that, please let us know.
Thank you @ced-mos for the solution. I'd also suggest extending the predefined interface to include your custom field. @L2jLiga — were you able to try this and did it help?
In chargebee we used additional fields inside
subscription
likecf_filename
which is impossible with this library and we have to castsubscription
object asany
The text was updated successfully, but these errors were encountered: