Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose webhook types in TS SDK #1371

Open
Goncharo opened this issue Dec 22, 2023 · 1 comment
Open

Expose webhook types in TS SDK #1371

Goncharo opened this issue Dec 22, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers medical-api Issue related to the Medical API

Comments

@Goncharo
Copy link
Member

Problem

Webhook types from Metriport are not exposed in the TS SDK

Suggested solution

Let's define them, expose them for cxs, and update the docs accordingly

Alternatives

No response

Additional context

No response

@Goncharo Goncharo added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers medical-api Issue related to the Medical API labels Dec 22, 2023
@jonahkaye jonahkaye self-assigned this Dec 22, 2023
@beefancohen
Copy link

it would also be great if the payloads could be generic. for example, when i request a consolidated query as a PDF the type could be something like ConsolidatedQueryPayload<"pdf"> and it would automatically make the bundle type Bundle<DocumentReference>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers medical-api Issue related to the Medical API
Projects
None yet
Development

No branches or pull requests

3 participants