Cannot find types of: attributes-recording-status-callback-parameters
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 564
- Avg merge
- 14h 2m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching types.d.ts for existing recordingStatusCallback definitions and use the linked Twilio recording callback documentation as the reference. Compare it with the reported payload; done means an exported TypeScript type is available for endpoint handlers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100