Skip to content

Fix ts-declaration#76

Open
raith-nvm wants to merge 7 commits intosalesforce:masterfrom
raith-nvm:master
Open

Fix ts-declaration#76
raith-nvm wants to merge 7 commits intosalesforce:masterfrom
raith-nvm:master

Conversation

@raith-nvm
Copy link
Copy Markdown

  • Add missing AudioDevice class to types.js
  • type PhoneCall.state to Constants.CALL_STATE
  • type PhoneCall.reason to Constants.HANGUP_REASON
  • type PhoneCall.agentStatus to Constants.HANGUP_STATUS

AudioDevice was added to types.d.ts in April 2024 but was never added to types.js
It is referenced from existing class AudioDevicesResult
The PhoneCall property type suggestions are based on previous versions of types.d.ts

@raith-nvm
Copy link
Copy Markdown
Author

Additionally, fix the incorrect REMOVE_PARTICIPANT_VARIANT constant value which should be "ALWAYS_EXCEPT_WHEN_ON_HOLD" instead of "ALWAYS_EXCEPT_ON_HOLD"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant