mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-25 08:48:13 +02:00
feat: add Plivo telephony provider support (#245)
* Add Plivo telephony provider support * add Plivo telephony UI, fix audio config, and improve inbound call handling --------- Co-authored-by: Dilip Tiwari <digitalapache20@gmail.com> Co-authored-by: Sabiha Khan <sabihak89@gmail.com> Co-authored-by: Abhishek <abhishek@a6k.me>
This commit is contained in:
parent
3e3773f400
commit
2218ba8ad9
14 changed files with 1123 additions and 13 deletions
|
|
@ -735,6 +735,60 @@ export type CloudonixConfigurationResponse = {
|
|||
from_numbers: Array<string>;
|
||||
};
|
||||
|
||||
/**
|
||||
* PlivoConfigurationRequest
|
||||
*
|
||||
* Request schema for Plivo configuration.
|
||||
*/
|
||||
export type PlivoConfigurationRequest = {
|
||||
/**
|
||||
* Provider
|
||||
*/
|
||||
provider?: string;
|
||||
/**
|
||||
* Auth Id
|
||||
*
|
||||
* Plivo Auth ID
|
||||
*/
|
||||
auth_id: string;
|
||||
/**
|
||||
* Auth Token
|
||||
*
|
||||
* Plivo Auth Token
|
||||
*/
|
||||
auth_token: string;
|
||||
/**
|
||||
* From Numbers
|
||||
*
|
||||
* List of Plivo phone numbers
|
||||
*/
|
||||
from_numbers: Array<string>;
|
||||
};
|
||||
|
||||
/**
|
||||
* PlivoConfigurationResponse
|
||||
*
|
||||
* Response schema for Plivo configuration with masked sensitive fields.
|
||||
*/
|
||||
export type PlivoConfigurationResponse = {
|
||||
/**
|
||||
* Provider
|
||||
*/
|
||||
provider: string;
|
||||
/**
|
||||
* Auth Id
|
||||
*/
|
||||
auth_id: string;
|
||||
/**
|
||||
* Auth Token
|
||||
*/
|
||||
auth_token: string;
|
||||
/**
|
||||
* From Numbers
|
||||
*/
|
||||
from_numbers: Array<string>;
|
||||
};
|
||||
|
||||
/**
|
||||
* CreateAPIKeyRequest
|
||||
*/
|
||||
|
|
@ -2880,6 +2934,7 @@ export type SuperuserWorkflowRunsListResponse = {
|
|||
*/
|
||||
export type TelephonyConfigurationResponse = {
|
||||
twilio?: TwilioConfigurationResponse | null;
|
||||
plivo?: PlivoConfigurationResponse | null;
|
||||
vonage?: VonageConfigurationResponse | null;
|
||||
vobiz?: VobizConfigurationResponse | null;
|
||||
cloudonix?: CloudonixConfigurationResponse | null;
|
||||
|
|
@ -7344,7 +7399,7 @@ export type SaveTelephonyConfigurationApiV1OrganizationsTelephonyConfigPostData
|
|||
/**
|
||||
* Request
|
||||
*/
|
||||
body: TwilioConfigurationRequest | VonageConfigurationRequest | VobizConfigurationRequest | CloudonixConfigurationRequest | AriConfigurationRequest | TelnyxConfigurationRequest;
|
||||
body: TwilioConfigurationRequest | PlivoConfigurationRequest | VonageConfigurationRequest | VobizConfigurationRequest | CloudonixConfigurationRequest | AriConfigurationRequest | TelnyxConfigurationRequest;
|
||||
headers?: {
|
||||
/**
|
||||
* Authorization
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue