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

Cannot find types of: attributes-recording-status-callback-parameters #588

Open
mesqueeb opened this issue Jun 30, 2020 · 5 comments
Open
Labels
status: waiting for feature feature will be implemented in the future type: twilio enhancement feature request on Twilio's roadmap

Comments

@mesqueeb
Copy link

Issue Summary

I searched for it, but cannot find it in the repo and in the issue.

https://www.twilio.com/docs/voice/twiml/record#attributes-recording-status-callback-parameters

I'm using this event in a TS app, and I'd like to be able to know how the body looks like. From my experiments, this is what Twilio-node sends as the body:

interface RecordingStatusCallbackBody {
    RecordingSource: string
    RecordingSid: string
    ConferenceSid: string
    RecordingUrl: string
    RecordingStatus: string
    RecordingChannels: string
    ErrorCode: string
    RecordingStartTime: string
    AccountSid: string
    RecordingDuration: string
}

But it would be much more efficient and safe if Twilio-node can just expose a type in its types.d.ts I can import to make my endpoints that handle the recordingStatusCallback type safer.

@childish-sambino
Copy link
Contributor

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

@childish-sambino childish-sambino added difficulty: easy fix is easy in difficulty status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap labels Jun 30, 2020
@mesqueeb
Copy link
Author

mesqueeb commented Jul 2, 2020

+1

@childish-sambino
Copy link
Contributor

@mesqueeb

+1s on the issue summary

@mesqueeb
Copy link
Author

mesqueeb commented Jul 2, 2020

@childish-sambino Thanks, I added it on the issue summary instead! : )

@childish-sambino childish-sambino added type: twilio enhancement feature request on Twilio's roadmap status: waiting for feature feature will be implemented in the future and removed type: community enhancement feature request not on Twilio's roadmap status: help wanted requesting help from the community difficulty: easy fix is easy in difficulty labels Nov 22, 2022
@claudiachua
Copy link

Update: We have this on our internal backlog (DI-2383)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for feature feature will be implemented in the future type: twilio enhancement feature request on Twilio's roadmap
Projects
None yet
Development

No branches or pull requests

3 participants