feat: Enable telephony for OSS (#21)

* fix: fix tooltip bug

* feat: add Twilio with CloudFlare configuration

* chore: update Tella Video
This commit is contained in:
Abhishek 2025-10-04 12:22:50 +05:30 committed by GitHub
parent d39a8111a6
commit 8e2e5c9327
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 891 additions and 191 deletions

File diff suppressed because one or more lines are too long

View file

@ -358,6 +358,13 @@ export type SuperuserWorkflowRunsListResponse = {
total_pages: number;
};
/**
* Top-level telephony configuration response.
*/
export type TelephonyConfigurationResponse = {
twilio?: TwilioConfigurationResponse | null;
};
export type TestSessionResponse = {
id: number;
name: string;
@ -378,6 +385,35 @@ export type TestSessionResponse = {
completed_at: string | null;
};
/**
* Request schema for Twilio configuration.
*/
export type TwilioConfigurationRequest = {
provider?: string;
/**
* Twilio Account SID
*/
account_sid: string;
/**
* Twilio Auth Token
*/
auth_token: string;
/**
* List of Twilio phone numbers
*/
from_numbers: Array<string>;
};
/**
* Response schema for Twilio configuration with masked sensitive fields.
*/
export type TwilioConfigurationResponse = {
provider: string;
account_sid: string;
auth_token: string;
from_numbers: Array<string>;
};
export type UpdateIntegrationRequest = {
selected_files: Array<{
[key: string]: unknown;
@ -1854,6 +1890,68 @@ export type GetIntegrationAccessTokenApiV1IntegrationIntegrationIdAccessTokenGet
export type GetIntegrationAccessTokenApiV1IntegrationIntegrationIdAccessTokenGetResponse = GetIntegrationAccessTokenApiV1IntegrationIntegrationIdAccessTokenGetResponses[keyof GetIntegrationAccessTokenApiV1IntegrationIntegrationIdAccessTokenGetResponses];
export type GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetData = {
body?: never;
headers?: {
authorization?: string | null;
};
path?: never;
query?: never;
url: '/api/v1/organizations/telephony-config';
};
export type GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetErrors = {
/**
* Not found
*/
404: unknown;
/**
* Validation Error
*/
422: HttpValidationError;
};
export type GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetError = GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetErrors[keyof GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetErrors];
export type GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetResponses = {
/**
* Successful Response
*/
200: TelephonyConfigurationResponse;
};
export type GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetResponse = GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetResponses[keyof GetTelephonyConfigurationApiV1OrganizationsTelephonyConfigGetResponses];
export type SaveTelephonyConfigurationApiV1OrganizationsTelephonyConfigPostData = {
body: TwilioConfigurationRequest;
headers?: {
authorization?: string | null;
};
path?: never;
query?: never;
url: '/api/v1/organizations/telephony-config';
};
export type SaveTelephonyConfigurationApiV1OrganizationsTelephonyConfigPostErrors = {
/**
* Not found
*/
404: unknown;
/**
* Validation Error
*/
422: HttpValidationError;
};
export type SaveTelephonyConfigurationApiV1OrganizationsTelephonyConfigPostError = SaveTelephonyConfigurationApiV1OrganizationsTelephonyConfigPostErrors[keyof SaveTelephonyConfigurationApiV1OrganizationsTelephonyConfigPostErrors];
export type SaveTelephonyConfigurationApiV1OrganizationsTelephonyConfigPostResponses = {
/**
* Successful Response
*/
200: unknown;
};
export type GetSignedUrlApiV1S3SignedUrlGetData = {
body?: never;
headers?: {