Open jwhitmarsh opened 1 year ago
Thanks @jwhitmarsh for this suggestion. It sounds like a potentially nice idea to include the webhook events type for convenience in this SDK. The SDK has only dealt with REST requests so far meaning this will require a bit of digging to come up with best solution. I am happy to take a look. I will update this thread with my findings. Our openapi spec is not open for public contributions currently but if you have come up with a solution to the above please feel free to share here and I will take a look.
I don't know if this is possible with OpenAPI code generator, but it would be really nice if the webhook event types were included in this module. I've been using the docs and a JSON to TS converter to make them in the meantime. Happy to raise PRs if that's desirable, but I'm not sure if it's a maintainable strategy (or if that should be a concern).