voice-react-native-sdk 1.6.2-fork.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +206 -0
- package/README.md +179 -0
- package/android/build.gradle +113 -0
- package/android/gradle.properties +29 -0
- package/android/src/main/AndroidManifest.xml +30 -0
- package/android/src/main/java/com/twiliovoicereactnative/AudioSwitchManager.java +141 -0
- package/android/src/main/java/com/twiliovoicereactnative/CallListenerProxy.java +186 -0
- package/android/src/main/java/com/twiliovoicereactnative/CallMessageListenerProxy.java +103 -0
- package/android/src/main/java/com/twiliovoicereactnative/CallRecordDatabase.java +183 -0
- package/android/src/main/java/com/twiliovoicereactnative/CommonConstants.java +195 -0
- package/android/src/main/java/com/twiliovoicereactnative/ConfigurationProperties.java +41 -0
- package/android/src/main/java/com/twiliovoicereactnative/Constants.java +23 -0
- package/android/src/main/java/com/twiliovoicereactnative/ExpoActivityLifecycleListener.java +27 -0
- package/android/src/main/java/com/twiliovoicereactnative/ExpoApplicationLifecycleListener.java +14 -0
- package/android/src/main/java/com/twiliovoicereactnative/ExpoModule.kt +36 -0
- package/android/src/main/java/com/twiliovoicereactnative/ExpoPackage.java +20 -0
- package/android/src/main/java/com/twiliovoicereactnative/JSEventEmitter.java +98 -0
- package/android/src/main/java/com/twiliovoicereactnative/MediaPlayerManager.java +58 -0
- package/android/src/main/java/com/twiliovoicereactnative/NotificationUtility.java +363 -0
- package/android/src/main/java/com/twiliovoicereactnative/ReactNativeArgumentsSerializer.java +276 -0
- package/android/src/main/java/com/twiliovoicereactnative/SDKLog.java +74 -0
- package/android/src/main/java/com/twiliovoicereactnative/StatsListenerProxy.java +178 -0
- package/android/src/main/java/com/twiliovoicereactnative/TwilioVoiceReactNativeModule.java +778 -0
- package/android/src/main/java/com/twiliovoicereactnative/TwilioVoiceReactNativePackage.java +28 -0
- package/android/src/main/java/com/twiliovoicereactnative/VoiceActivityProxy.java +101 -0
- package/android/src/main/java/com/twiliovoicereactnative/VoiceApplicationProxy.java +133 -0
- package/android/src/main/java/com/twiliovoicereactnative/VoiceFirebaseMessagingService.java +88 -0
- package/android/src/main/java/com/twiliovoicereactnative/VoiceService.java +403 -0
- package/android/src/main/res/drawable/answered_call_small_icon.png +0 -0
- package/android/src/main/res/drawable/ic_launcher_round.png +0 -0
- package/android/src/main/res/drawable/ic_launcher_sdk.png +0 -0
- package/android/src/main/res/drawable/incoming_call_small_icon.png +0 -0
- package/android/src/main/res/drawable/outgoing_call_small_icon.png +0 -0
- package/android/src/main/res/raw/disconnect.wav +0 -0
- package/android/src/main/res/raw/incoming.wav +0 -0
- package/android/src/main/res/raw/outgoing.wav +0 -0
- package/android/src/main/res/raw/ringtone.wav +0 -0
- package/android/src/main/res/raw/silent.wav +0 -0
- package/android/src/main/res/values/colors.xml +11 -0
- package/android/src/main/res/values/config.xml +5 -0
- package/android/src/main/res/values/dimens.xml +7 -0
- package/android/src/main/res/values/strings.xml +25 -0
- package/android/src/main/res/values/styles.xml +10 -0
- package/android/src/main/res/values-night/colors.xml +11 -0
- package/expo-config-plugin/android.js +191 -0
- package/expo-config-plugin/ios.js +22 -0
- package/expo-module.config.json +6 -0
- package/ios/TwilioVoicePushRegistry.h +19 -0
- package/ios/TwilioVoicePushRegistry.m +72 -0
- package/ios/TwilioVoiceReactNative+CallInvite.m +56 -0
- package/ios/TwilioVoiceReactNative+CallKit.m +533 -0
- package/ios/TwilioVoiceReactNative+CallMessage.m +81 -0
- package/ios/TwilioVoiceReactNative.h +74 -0
- package/ios/TwilioVoiceReactNative.m +1046 -0
- package/ios/TwilioVoiceReactNative.xcodeproj/project.pbxproj +328 -0
- package/ios/TwilioVoiceReactNativeConstants.h +200 -0
- package/ios/Utilities/TwilioVoiceStatsReport.h +175 -0
- package/lib/commonjs/AudioDevice.js +101 -0
- package/lib/commonjs/AudioDevice.js.map +1 -0
- package/lib/commonjs/Call.js +765 -0
- package/lib/commonjs/Call.js.map +1 -0
- package/lib/commonjs/CallInvite.js +452 -0
- package/lib/commonjs/CallInvite.js.map +1 -0
- package/lib/commonjs/CallMessage/CallMessage.js +54 -0
- package/lib/commonjs/CallMessage/CallMessage.js.map +1 -0
- package/lib/commonjs/CallMessage/IncomingCallMessage.js +120 -0
- package/lib/commonjs/CallMessage/IncomingCallMessage.js.map +1 -0
- package/lib/commonjs/CallMessage/OutgoingCallMessage.js +148 -0
- package/lib/commonjs/CallMessage/OutgoingCallMessage.js.map +1 -0
- package/lib/commonjs/ExpoModule.js +69 -0
- package/lib/commonjs/ExpoModule.js.map +1 -0
- package/lib/commonjs/Voice.js +611 -0
- package/lib/commonjs/Voice.js.map +1 -0
- package/lib/commonjs/common.js +26 -0
- package/lib/commonjs/common.js.map +1 -0
- package/lib/commonjs/constants.js +158 -0
- package/lib/commonjs/constants.js.map +1 -0
- package/lib/commonjs/error/InvalidArgumentError.js +32 -0
- package/lib/commonjs/error/InvalidArgumentError.js.map +1 -0
- package/lib/commonjs/error/InvalidStateError.js +33 -0
- package/lib/commonjs/error/InvalidStateError.js.map +1 -0
- package/lib/commonjs/error/TwilioError.js +38 -0
- package/lib/commonjs/error/TwilioError.js.map +1 -0
- package/lib/commonjs/error/UnsupportedPlatformError.js +33 -0
- package/lib/commonjs/error/UnsupportedPlatformError.js.map +1 -0
- package/lib/commonjs/error/generated.js +2343 -0
- package/lib/commonjs/error/generated.js.map +1 -0
- package/lib/commonjs/error/index.js +112 -0
- package/lib/commonjs/error/index.js.map +1 -0
- package/lib/commonjs/error/utility.js +37 -0
- package/lib/commonjs/error/utility.js.map +1 -0
- package/lib/commonjs/index.js +95 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/type/AudioDevice.js +6 -0
- package/lib/commonjs/type/AudioDevice.js.map +1 -0
- package/lib/commonjs/type/Call.js +6 -0
- package/lib/commonjs/type/Call.js.map +1 -0
- package/lib/commonjs/type/CallInvite.js +6 -0
- package/lib/commonjs/type/CallInvite.js.map +1 -0
- package/lib/commonjs/type/CallKit.js +30 -0
- package/lib/commonjs/type/CallKit.js.map +1 -0
- package/lib/commonjs/type/CallMessage.js +6 -0
- package/lib/commonjs/type/CallMessage.js.map +1 -0
- package/lib/commonjs/type/Error.js +6 -0
- package/lib/commonjs/type/Error.js.map +1 -0
- package/lib/commonjs/type/NativeModule.js +6 -0
- package/lib/commonjs/type/NativeModule.js.map +1 -0
- package/lib/commonjs/type/RTCStats.js +29 -0
- package/lib/commonjs/type/RTCStats.js.map +1 -0
- package/lib/commonjs/type/Voice.js +6 -0
- package/lib/commonjs/type/Voice.js.map +1 -0
- package/lib/commonjs/type/common.js +2 -0
- package/lib/commonjs/type/common.js.map +1 -0
- package/lib/module/AudioDevice.js +97 -0
- package/lib/module/AudioDevice.js.map +1 -0
- package/lib/module/Call.js +766 -0
- package/lib/module/Call.js.map +1 -0
- package/lib/module/CallInvite.js +450 -0
- package/lib/module/CallInvite.js.map +1 -0
- package/lib/module/CallMessage/CallMessage.js +51 -0
- package/lib/module/CallMessage/CallMessage.js.map +1 -0
- package/lib/module/CallMessage/IncomingCallMessage.js +116 -0
- package/lib/module/CallMessage/IncomingCallMessage.js.map +1 -0
- package/lib/module/CallMessage/OutgoingCallMessage.js +154 -0
- package/lib/module/CallMessage/OutgoingCallMessage.js.map +1 -0
- package/lib/module/ExpoModule.js +58 -0
- package/lib/module/ExpoModule.js.map +1 -0
- package/lib/module/Voice.js +598 -0
- package/lib/module/Voice.js.map +1 -0
- package/lib/module/common.js +11 -0
- package/lib/module/common.js.map +1 -0
- package/lib/module/constants.js +151 -0
- package/lib/module/constants.js.map +1 -0
- package/lib/module/error/InvalidArgumentError.js +23 -0
- package/lib/module/error/InvalidArgumentError.js.map +1 -0
- package/lib/module/error/InvalidStateError.js +24 -0
- package/lib/module/error/InvalidStateError.js.map +1 -0
- package/lib/module/error/TwilioError.js +29 -0
- package/lib/module/error/TwilioError.js.map +1 -0
- package/lib/module/error/UnsupportedPlatformError.js +24 -0
- package/lib/module/error/UnsupportedPlatformError.js.map +1 -0
- package/lib/module/error/generated.js +2315 -0
- package/lib/module/error/generated.js.map +1 -0
- package/lib/module/error/index.js +6 -0
- package/lib/module/error/index.js.map +1 -0
- package/lib/module/error/utility.js +27 -0
- package/lib/module/error/utility.js.map +1 -0
- package/lib/module/index.js +23 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/type/AudioDevice.js +2 -0
- package/lib/module/type/AudioDevice.js.map +1 -0
- package/lib/module/type/Call.js +2 -0
- package/lib/module/type/Call.js.map +1 -0
- package/lib/module/type/CallInvite.js +2 -0
- package/lib/module/type/CallInvite.js.map +1 -0
- package/lib/module/type/CallKit.js +22 -0
- package/lib/module/type/CallKit.js.map +1 -0
- package/lib/module/type/CallMessage.js +2 -0
- package/lib/module/type/CallMessage.js.map +1 -0
- package/lib/module/type/Error.js +2 -0
- package/lib/module/type/Error.js.map +1 -0
- package/lib/module/type/NativeModule.js +2 -0
- package/lib/module/type/NativeModule.js.map +1 -0
- package/lib/module/type/RTCStats.js +21 -0
- package/lib/module/type/RTCStats.js.map +1 -0
- package/lib/module/type/Voice.js +2 -0
- package/lib/module/type/Voice.js.map +1 -0
- package/lib/module/type/common.js +2 -0
- package/lib/module/type/common.js.map +1 -0
- package/lib/typescript/AudioDevice.d.ts +74 -0
- package/lib/typescript/Call.d.ts +874 -0
- package/lib/typescript/CallInvite.d.ts +484 -0
- package/lib/typescript/CallMessage/CallMessage.d.ts +53 -0
- package/lib/typescript/CallMessage/IncomingCallMessage.d.ts +75 -0
- package/lib/typescript/CallMessage/OutgoingCallMessage.d.ts +198 -0
- package/lib/typescript/ExpoModule.d.ts +13 -0
- package/lib/typescript/Voice.d.ts +620 -0
- package/lib/typescript/common.d.ts +11 -0
- package/lib/typescript/constants.d.ts +148 -0
- package/lib/typescript/error/InvalidArgumentError.d.ts +11 -0
- package/lib/typescript/error/InvalidStateError.d.ts +12 -0
- package/lib/typescript/error/TwilioError.d.ts +14 -0
- package/lib/typescript/error/UnsupportedPlatformError.d.ts +12 -0
- package/lib/typescript/error/generated.d.ts +1558 -0
- package/lib/typescript/error/index.d.ts +5 -0
- package/lib/typescript/error/utility.d.ts +12 -0
- package/lib/typescript/index.d.ts +18 -0
- package/lib/typescript/type/AudioDevice.d.ts +15 -0
- package/lib/typescript/type/Call.d.ts +59 -0
- package/lib/typescript/type/CallInvite.d.ts +40 -0
- package/lib/typescript/type/CallKit.d.ts +60 -0
- package/lib/typescript/type/CallMessage.d.ts +20 -0
- package/lib/typescript/type/Error.d.ts +9 -0
- package/lib/typescript/type/NativeModule.d.ts +59 -0
- package/lib/typescript/type/RTCStats.d.ts +91 -0
- package/lib/typescript/type/Voice.d.ts +16 -0
- package/lib/typescript/type/common.d.ts +15 -0
- package/package.json +167 -0
- package/src/AudioDevice.tsx +88 -0
- package/src/Call.tsx +1343 -0
- package/src/CallInvite.tsx +757 -0
- package/src/CallMessage/CallMessage.ts +83 -0
- package/src/CallMessage/IncomingCallMessage.ts +104 -0
- package/src/CallMessage/OutgoingCallMessage.ts +308 -0
- package/src/ExpoModule.ts +59 -0
- package/src/Voice.tsx +1010 -0
- package/src/common.ts +16 -0
- package/src/constants.ts +193 -0
- package/src/error/InvalidArgumentError.ts +19 -0
- package/src/error/InvalidStateError.ts +19 -0
- package/src/error/TwilioError.ts +22 -0
- package/src/error/UnsupportedPlatformError.ts +19 -0
- package/src/error/generated.ts +2277 -0
- package/src/error/index.ts +18 -0
- package/src/error/utility.ts +36 -0
- package/src/index.tsx +24 -0
- package/src/type/AudioDevice.ts +18 -0
- package/src/type/Call.ts +102 -0
- package/src/type/CallInvite.ts +59 -0
- package/src/type/CallKit.ts +61 -0
- package/src/type/CallMessage.ts +31 -0
- package/src/type/Error.ts +11 -0
- package/src/type/NativeModule.ts +93 -0
- package/src/type/RTCStats.ts +99 -0
- package/src/type/Voice.ts +31 -0
- package/src/type/common.ts +16 -0
- package/twilio-voice-react-native.podspec +22 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["generated.ts"],"names":["TwilioError","AccessTokenInvalid","constructor","message","Object","setPrototypeOf","AuthorizationErrors","prototype","msg","explanation","name","code","AccessTokenHeaderInvalid","AccessTokenIssuerInvalid","AccessTokenExpired","AccessTokenNotYetValid","AccessTokenGrantsInvalid","AccessTokenSignatureInvalid","AuthenticationFailed","ExpirationTimeExceedsMaxTimeAllowed","AuthorizationError","RateExceededError","CallMessageEventTypeInvalidError","CallMessageUnexpectedStateError","PayloadSizeExceededError","AccessTokenRejected","Forbidden","ForbiddenErrors","BadRequest","ClientErrors","NotFound","RequestTimeout","Conflict","UpgradeRequired","TooManyRequests","TemporarilyUnavailable","CallTransactionDoesNotExist","AddressIncomplete","BusyHere","RequestTerminated","InternalServerError","ServerErrors","BadGateway","ServiceUnavailable","GatewayTimeout","DNSResolutionError","BusyEverywhere","SIPServerErrors","Decline","DoesNotExistAnywhere","InvalidApplicationSid","TwiMLErrors","ConnectionError","GeneralErrors","CallCancelledError","TransportError","MalformedRequestError","MalformedRequestErrors","RegistrationError","RegistrationErrors","UnsupportedCancelMessageError","PermissionDeniedError","UserMediaErrors","ConnectionDisconnected","SignalingErrors","ClientLocalDescFailed","MediaErrors","ServerLocalDescFailed","ClientRemoteDescFailed","ServerRemoteDescFailed","NoSupportedCodec","MediaDtlsTransportFailedError","errorsByCode","Map","freeze"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,SAASA,WAAT,QAA4B,eAA5B;AAEA;AACA;AACA;AACA;;AACA;AA2lBA;AACA;AACA;AACA;;;AAxlBS,QAAMC,kBAAN,SAAiCD,WAAjC,CAA6C;AAClD;AACJ;AACA;;AAEI;AACJ;AACA;;AAEI;AACJ;AACA;;AAEI;AACJ;AACA;;AAEI;AACJ;AACA;AAGIE,IAAAA,WAAW,CAACC,OAAD,EAAkB;AAC3B,YAAMA,OAAN,EAAe,KAAf;;AAD2B,sCAlBV,EAkBU;;AAAA,2CAdP,sBAcO;;AAAA,2CAVP,iDAUO;;AAAA,oCANd,oBAMc;;AAAA,yCAFP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,EAmC3E,CAAC,KAAD,EAAQT,YAAY,CAACU,iBAArB,CAnC2E,EAoC3E,CAAC,KAAD,EAAQE,YAAY,CAACD,mBAArB,CApC2E,EAqC3E,CAAC,KAAD,EAAQC,YAAY,CAACC,UAArB,CArC2E,EAsC3E,CAAC,KAAD,EAAQD,YAAY,CAACE,kBAArB,CAtC2E,EAuC3E,CAAC,KAAD,EAAQF,YAAY,CAACG,cAArB,CAvC2E,EAwC3E,CAAC,KAAD,EAAQH,YAAY,CAACI,kBAArB,CAxC2E,EAyC3E,CAAC,KAAD,EAAQE,eAAe,CAACD,cAAxB,CAzC2E,EA0C3E,CAAC,KAAD,EAAQC,eAAe,CAACC,OAAxB,CA1C2E,EA2C3E,CAAC,KAAD,EAAQD,eAAe,CAACE,oBAAxB,CA3C2E,EA4C3E,CAAC,KAAD,EAAQ3C,mBAAmB,CAACmB,mBAA5B,CA5C2E,EA6C3E,CAAC,KAAD,EAAQuC,eAAe,CAACD,sBAAxB,CA7C2E,EA8C3E,CAAC,KAAD,EAAQG,WAAW,CAACD,qBAApB,CA9C2E,EA+C3E,CAAC,KAAD,EAAQC,WAAW,CAACC,qBAApB,CA/C2E,EAgD3E,CAAC,KAAD,EAAQD,WAAW,CAACE,sBAApB,CAhD2E,EAiD3E,CAAC,KAAD,EAAQF,WAAW,CAACG,sBAApB,CAjD2E,EAkD3E,CAAC,KAAD,EAAQH,WAAW,CAACI,gBAApB,CAlD2E,EAmD3E,CAAC,KAAD,EAAQJ,WAAW,CAACd,eAApB,CAnD2E,EAoD3E,CAAC,KAAD,EAAQc,WAAW,CAACK,6BAApB,CApD2E,CAAR,CAA9D;AAuDPnE,MAAM,CAACsE,MAAP,CAAcF,YAAd","sourcesContent":["/**\n * This is a generated file. Any modifications here will be overwritten.\n * See scripts/errors.js.\n */\nimport { TwilioError } from './TwilioError';\n\n/**\n * @public\n * Authorization errors.\n */\nexport namespace AuthorizationErrors {\n /**\n * @public\n * AuthorizationErrors.AccessTokenInvalid error.\n * Error code `20101`.\n */\n export class AccessTokenInvalid extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Invalid access token\n */\n description: string = 'Invalid access token';\n /**\n * Twilio was unable to validate your Access Token\n */\n explanation: string = 'Twilio was unable to validate your Access Token';\n /**\n * AccessTokenInvalid\n */\n name: string = 'AccessTokenInvalid';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20101);\n Object.setPrototypeOf(this, AuthorizationErrors.AccessTokenInvalid.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AccessTokenHeaderInvalid error.\n * Error code `20102`.\n */\n export class AccessTokenHeaderInvalid extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Invalid access token header\n */\n description: string = 'Invalid access token header';\n /**\n * The header of the Access Token provided to the Twilio API was invalid\n */\n explanation: string = 'The header of the Access Token provided to the Twilio API was invalid';\n /**\n * AccessTokenHeaderInvalid\n */\n name: string = 'AccessTokenHeaderInvalid';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20102);\n Object.setPrototypeOf(this, AuthorizationErrors.AccessTokenHeaderInvalid.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AccessTokenIssuerInvalid error.\n * Error code `20103`.\n */\n export class AccessTokenIssuerInvalid extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Invalid access token issuer/subject\n */\n description: string = 'Invalid access token issuer/subject';\n /**\n * The issuer or subject of the Access Token provided to the Twilio API was invalid\n */\n explanation: string = 'The issuer or subject of the Access Token provided to the Twilio API was invalid';\n /**\n * AccessTokenIssuerInvalid\n */\n name: string = 'AccessTokenIssuerInvalid';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20103);\n Object.setPrototypeOf(this, AuthorizationErrors.AccessTokenIssuerInvalid.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AccessTokenExpired error.\n * Error code `20104`.\n */\n export class AccessTokenExpired extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Access token expired or expiration date invalid\n */\n description: string = 'Access token expired or expiration date invalid';\n /**\n * The Access Token provided to the Twilio API has expired, the expiration time specified in the token was invalid, or the expiration time specified was too far in the future\n */\n explanation: string = 'The Access Token provided to the Twilio API has expired, the expiration time specified in the token was invalid, or the expiration time specified was too far in the future';\n /**\n * AccessTokenExpired\n */\n name: string = 'AccessTokenExpired';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20104);\n Object.setPrototypeOf(this, AuthorizationErrors.AccessTokenExpired.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AccessTokenNotYetValid error.\n * Error code `20105`.\n */\n export class AccessTokenNotYetValid extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Access token not yet valid\n */\n description: string = 'Access token not yet valid';\n /**\n * The Access Token provided to the Twilio API is not yet valid\n */\n explanation: string = 'The Access Token provided to the Twilio API is not yet valid';\n /**\n * AccessTokenNotYetValid\n */\n name: string = 'AccessTokenNotYetValid';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20105);\n Object.setPrototypeOf(this, AuthorizationErrors.AccessTokenNotYetValid.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AccessTokenGrantsInvalid error.\n * Error code `20106`.\n */\n export class AccessTokenGrantsInvalid extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Invalid access token grants\n */\n description: string = 'Invalid access token grants';\n /**\n * The Access Token signature and issuer were valid, but the grants specified in the token were invalid, unparseable, or did not authorize the action being requested\n */\n explanation: string = 'The Access Token signature and issuer were valid, but the grants specified in the token were invalid, unparseable, or did not authorize the action being requested';\n /**\n * AccessTokenGrantsInvalid\n */\n name: string = 'AccessTokenGrantsInvalid';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20106);\n Object.setPrototypeOf(this, AuthorizationErrors.AccessTokenGrantsInvalid.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AccessTokenSignatureInvalid error.\n * Error code `20107`.\n */\n export class AccessTokenSignatureInvalid extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Invalid access token signature\n */\n description: string = 'Invalid access token signature';\n /**\n * The signature for the Access Token provided was invalid.\n */\n explanation: string = 'The signature for the Access Token provided was invalid.';\n /**\n * AccessTokenSignatureInvalid\n */\n name: string = 'AccessTokenSignatureInvalid';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20107);\n Object.setPrototypeOf(this, AuthorizationErrors.AccessTokenSignatureInvalid.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AuthenticationFailed error.\n * Error code `20151`.\n */\n export class AuthenticationFailed extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Authentication Failed\n */\n description: string = 'Authentication Failed';\n /**\n * The Authentication with the provided JWT failed\n */\n explanation: string = 'The Authentication with the provided JWT failed';\n /**\n * AuthenticationFailed\n */\n name: string = 'AuthenticationFailed';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20151);\n Object.setPrototypeOf(this, AuthorizationErrors.AuthenticationFailed.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.ExpirationTimeExceedsMaxTimeAllowed error.\n * Error code `20157`.\n */\n export class ExpirationTimeExceedsMaxTimeAllowed extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Expiration Time Exceeds Maximum Time Allowed\n */\n description: string = 'Expiration Time Exceeds Maximum Time Allowed';\n /**\n * The expiration time provided when creating the JWT exceeds the maximum duration allowed\n */\n explanation: string = 'The expiration time provided when creating the JWT exceeds the maximum duration allowed';\n /**\n * ExpirationTimeExceedsMaxTimeAllowed\n */\n name: string = 'ExpirationTimeExceedsMaxTimeAllowed';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20157);\n Object.setPrototypeOf(this, AuthorizationErrors.ExpirationTimeExceedsMaxTimeAllowed.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AuthorizationError error.\n * Error code `31201`.\n */\n export class AuthorizationError extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Authorization error\n */\n description: string = 'Authorization error';\n /**\n * The request requires user authentication. The server understood the request, but is refusing to fulfill it.\n */\n explanation: string = 'The request requires user authentication. The server understood the request, but is refusing to fulfill it.';\n /**\n * AuthorizationError\n */\n name: string = 'AuthorizationError';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31201);\n Object.setPrototypeOf(this, AuthorizationErrors.AuthorizationError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.RateExceededError error.\n * Error code `31206`.\n */\n export class RateExceededError extends TwilioError {\n /**\n * Rate limit exceeded.\n */\n causes: string[] = [\n 'Rate limit exceeded.',\n ];\n /**\n * Rate exceeded authorized limit.\n */\n description: string = 'Rate exceeded authorized limit.';\n /**\n * The request performed exceeds the authorized limit.\n */\n explanation: string = 'The request performed exceeds the authorized limit.';\n /**\n * RateExceededError\n */\n name: string = 'RateExceededError';\n /**\n * Ensure message send rate does not exceed authorized limits.\n */\n solutions: string[] = [\n 'Ensure message send rate does not exceed authorized limits.',\n ];\n\n constructor(message: string) {\n super(message, 31206);\n Object.setPrototypeOf(this, AuthorizationErrors.RateExceededError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.CallMessageEventTypeInvalidError error.\n * Error code `31210`.\n */\n export class CallMessageEventTypeInvalidError extends TwilioError {\n /**\n * The Call Message Event Type is invalid and is not understood by Twilio Voice.\n */\n causes: string[] = [\n 'The Call Message Event Type is invalid and is not understood by Twilio Voice.',\n ];\n /**\n * Call Message Event Type is invalid.\n */\n description: string = 'Call Message Event Type is invalid.';\n /**\n * The Call Message Event Type is invalid and is not understood by Twilio Voice.\n */\n explanation: string = 'The Call Message Event Type is invalid and is not understood by Twilio Voice.';\n /**\n * CallMessageEventTypeInvalidError\n */\n name: string = 'CallMessageEventTypeInvalidError';\n /**\n * Ensure the Call Message Event Type is Valid and understood by Twilio Voice and try again.\n */\n solutions: string[] = [\n 'Ensure the Call Message Event Type is Valid and understood by Twilio Voice and try again.',\n ];\n\n constructor(message: string) {\n super(message, 31210);\n Object.setPrototypeOf(this, AuthorizationErrors.CallMessageEventTypeInvalidError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.CallMessageUnexpectedStateError error.\n * Error code `31211`.\n */\n export class CallMessageUnexpectedStateError extends TwilioError {\n /**\n * The Call should be at least in the ringing state to subscribe and send Call Message.\n */\n causes: string[] = [\n 'The Call should be at least in the ringing state to subscribe and send Call Message.',\n ];\n /**\n * Call is not in the expected state.\n */\n description: string = 'Call is not in the expected state.';\n /**\n * The Call should be at least in the ringing state to send Call Message.\n */\n explanation: string = 'The Call should be at least in the ringing state to send Call Message.';\n /**\n * CallMessageUnexpectedStateError\n */\n name: string = 'CallMessageUnexpectedStateError';\n /**\n * Ensure the Call is at least in the ringing state and the subscription is successful and try again.\n */\n solutions: string[] = [\n 'Ensure the Call is at least in the ringing state and the subscription is successful and try again.',\n ];\n\n constructor(message: string) {\n super(message, 31211);\n Object.setPrototypeOf(this, AuthorizationErrors.CallMessageUnexpectedStateError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.PayloadSizeExceededError error.\n * Error code `31212`.\n */\n export class PayloadSizeExceededError extends TwilioError {\n /**\n * The payload size of Call Message Event exceeds the authorized limit.\n */\n causes: string[] = [\n 'The payload size of Call Message Event exceeds the authorized limit.',\n ];\n /**\n * Call Message Event Payload size exceeded authorized limit.\n */\n description: string = 'Call Message Event Payload size exceeded authorized limit.';\n /**\n * The request performed to send a Call Message Event exceeds the payload size authorized limit\n */\n explanation: string = 'The request performed to send a Call Message Event exceeds the payload size authorized limit';\n /**\n * PayloadSizeExceededError\n */\n name: string = 'PayloadSizeExceededError';\n /**\n * Reduce payload size of Call Message Event to be within the authorized limit and try again.\n */\n solutions: string[] = [\n 'Reduce payload size of Call Message Event to be within the authorized limit and try again.',\n ];\n\n constructor(message: string) {\n super(message, 31212);\n Object.setPrototypeOf(this, AuthorizationErrors.PayloadSizeExceededError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * AuthorizationErrors.AccessTokenRejected error.\n * Error code `51007`.\n */\n export class AccessTokenRejected extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Token authentication is rejected by authentication service\n */\n description: string = 'Token authentication is rejected by authentication service';\n /**\n * The authentication service has rejected the provided Access Token. To check whether the Access Token is structurally correct, you can use the tools available at https://jwt.io. For the details of Twilio's specific Access Token implementation including the grant format, check https://www.twilio.com/docs/iam/access-tokens.\n */\n explanation: string = 'The authentication service has rejected the provided Access Token. To check whether the Access Token is structurally correct, you can use the tools available at https://jwt.io. For the details of Twilio\\'s specific Access Token implementation including the grant format, check https://www.twilio.com/docs/iam/access-tokens.';\n /**\n * AccessTokenRejected\n */\n name: string = 'AccessTokenRejected';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 51007);\n Object.setPrototypeOf(this, AuthorizationErrors.AccessTokenRejected.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * Forbidden errors.\n */\nexport namespace ForbiddenErrors {\n /**\n * @public\n * ForbiddenErrors.Forbidden error.\n * Error code `20403`.\n */\n export class Forbidden extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * 403 Forbidden\n */\n description: string = '403 Forbidden';\n /**\n * The account lacks permission to access the Twilio API. Typically this means the account has been suspended or closed. For assistance, please contact support\n */\n explanation: string = 'The account lacks permission to access the Twilio API. Typically this means the account has been suspended or closed. For assistance, please contact support';\n /**\n * Forbidden\n */\n name: string = 'Forbidden';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 20403);\n Object.setPrototypeOf(this, ForbiddenErrors.Forbidden.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * Client errors.\n */\nexport namespace ClientErrors {\n /**\n * @public\n * ClientErrors.BadRequest error.\n * Error code `31400`.\n */\n export class BadRequest extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Bad Request (HTTP/SIP)\n */\n description: string = 'Bad Request (HTTP/SIP)';\n /**\n * The request could not be understood due to malformed syntax.\n */\n explanation: string = 'The request could not be understood due to malformed syntax.';\n /**\n * BadRequest\n */\n name: string = 'BadRequest';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31400);\n Object.setPrototypeOf(this, ClientErrors.BadRequest.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.Forbidden error.\n * Error code `31403`.\n */\n export class Forbidden extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Forbidden (HTTP/SIP)\n */\n description: string = 'Forbidden (HTTP/SIP)';\n /**\n * The server understood the request, but is refusing to fulfill it.\n */\n explanation: string = 'The server understood the request, but is refusing to fulfill it.';\n /**\n * Forbidden\n */\n name: string = 'Forbidden';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31403);\n Object.setPrototypeOf(this, ClientErrors.Forbidden.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.NotFound error.\n * Error code `31404`.\n */\n export class NotFound extends TwilioError {\n /**\n * The outbound call was made to an invalid phone number.\n * The TwiML application sid is missing a Voice URL.\n */\n causes: string[] = [\n 'The outbound call was made to an invalid phone number.',\n 'The TwiML application sid is missing a Voice URL.',\n ];\n /**\n * Not Found (HTTP/SIP)\n */\n description: string = 'Not Found (HTTP/SIP)';\n /**\n * The server has not found anything matching the request.\n */\n explanation: string = 'The server has not found anything matching the request.';\n /**\n * NotFound\n */\n name: string = 'NotFound';\n /**\n * Ensure the phone number dialed is valid.\n * Ensure the TwiML application is configured correctly with a Voice URL link.\n */\n solutions: string[] = [\n 'Ensure the phone number dialed is valid.',\n 'Ensure the TwiML application is configured correctly with a Voice URL link.',\n ];\n\n constructor(message: string) {\n super(message, 31404);\n Object.setPrototypeOf(this, ClientErrors.NotFound.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.RequestTimeout error.\n * Error code `31408`.\n */\n export class RequestTimeout extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Request Timeout (HTTP/SIP)\n */\n description: string = 'Request Timeout (HTTP/SIP)';\n /**\n * A request timeout occurred.\n */\n explanation: string = 'A request timeout occurred.';\n /**\n * RequestTimeout\n */\n name: string = 'RequestTimeout';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31408);\n Object.setPrototypeOf(this, ClientErrors.RequestTimeout.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.Conflict error.\n * Error code `31409`.\n */\n export class Conflict extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Conflict (HTTP)\n */\n description: string = 'Conflict (HTTP)';\n /**\n * The request could not be processed because of a conflict in the current state of the resource. Another request may be in progress.\n */\n explanation: string = 'The request could not be processed because of a conflict in the current state of the resource. Another request may be in progress.';\n /**\n * Conflict\n */\n name: string = 'Conflict';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31409);\n Object.setPrototypeOf(this, ClientErrors.Conflict.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.UpgradeRequired error.\n * Error code `31426`.\n */\n export class UpgradeRequired extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Upgrade Required (HTTP)\n */\n description: string = 'Upgrade Required (HTTP)';\n /**\n * This error is raised when an HTTP 426 response is received. The reason for this is most likely because of an incompatible TLS version. To mitigate this, you may need to upgrade the OS or download a more recent version of the SDK.\n */\n explanation: string = 'This error is raised when an HTTP 426 response is received. The reason for this is most likely because of an incompatible TLS version. To mitigate this, you may need to upgrade the OS or download a more recent version of the SDK.';\n /**\n * UpgradeRequired\n */\n name: string = 'UpgradeRequired';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31426);\n Object.setPrototypeOf(this, ClientErrors.UpgradeRequired.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.TooManyRequests error.\n * Error code `31429`.\n */\n export class TooManyRequests extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Too Many Requests (HTTP)\n */\n description: string = 'Too Many Requests (HTTP)';\n /**\n * Too many requests were sent in a given amount of time.\n */\n explanation: string = 'Too many requests were sent in a given amount of time.';\n /**\n * TooManyRequests\n */\n name: string = 'TooManyRequests';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31429);\n Object.setPrototypeOf(this, ClientErrors.TooManyRequests.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.TemporarilyUnavailable error.\n * Error code `31480`.\n */\n export class TemporarilyUnavailable extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Temporarily Unavailable (SIP)\n */\n description: string = 'Temporarily Unavailable (SIP)';\n /**\n * The callee is currently unavailable.\n */\n explanation: string = 'The callee is currently unavailable.';\n /**\n * TemporarilyUnavailable\n */\n name: string = 'TemporarilyUnavailable';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31480);\n Object.setPrototypeOf(this, ClientErrors.TemporarilyUnavailable.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.CallTransactionDoesNotExist error.\n * Error code `31481`.\n */\n export class CallTransactionDoesNotExist extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Call/Transaction Does Not Exist (SIP)\n */\n description: string = 'Call/Transaction Does Not Exist (SIP)';\n /**\n * The call no longer exists.\n */\n explanation: string = 'The call no longer exists.';\n /**\n * CallTransactionDoesNotExist\n */\n name: string = 'CallTransactionDoesNotExist';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31481);\n Object.setPrototypeOf(this, ClientErrors.CallTransactionDoesNotExist.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.AddressIncomplete error.\n * Error code `31484`.\n */\n export class AddressIncomplete extends TwilioError {\n /**\n * The outbound call was made with a phone number that has an invalid format.\n */\n causes: string[] = [\n 'The outbound call was made with a phone number that has an invalid format.',\n ];\n /**\n * Address Incomplete (SIP)\n */\n description: string = 'Address Incomplete (SIP)';\n /**\n * The provided phone number is malformed.\n */\n explanation: string = 'The provided phone number is malformed.';\n /**\n * AddressIncomplete\n */\n name: string = 'AddressIncomplete';\n /**\n * Ensure the phone number dialed is formatted correctly.\n */\n solutions: string[] = [\n 'Ensure the phone number dialed is formatted correctly.',\n ];\n\n constructor(message: string) {\n super(message, 31484);\n Object.setPrototypeOf(this, ClientErrors.AddressIncomplete.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.BusyHere error.\n * Error code `31486`.\n */\n export class BusyHere extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Busy Here (SIP)\n */\n description: string = 'Busy Here (SIP)';\n /**\n * The callee is busy.\n */\n explanation: string = 'The callee is busy.';\n /**\n * BusyHere\n */\n name: string = 'BusyHere';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31486);\n Object.setPrototypeOf(this, ClientErrors.BusyHere.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ClientErrors.RequestTerminated error.\n * Error code `31487`.\n */\n export class RequestTerminated extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Request Terminated (SIP)\n */\n description: string = 'Request Terminated (SIP)';\n /**\n * The request has terminated as a result of a bye or cancel.\n */\n explanation: string = 'The request has terminated as a result of a bye or cancel.';\n /**\n * RequestTerminated\n */\n name: string = 'RequestTerminated';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31487);\n Object.setPrototypeOf(this, ClientErrors.RequestTerminated.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * Server errors.\n */\nexport namespace ServerErrors {\n /**\n * @public\n * ServerErrors.InternalServerError error.\n * Error code `31500`.\n */\n export class InternalServerError extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Internal Server Error (HTTP/SIP)\n */\n description: string = 'Internal Server Error (HTTP/SIP)';\n /**\n * The server could not fulfill the request due to some unexpected condition.\n */\n explanation: string = 'The server could not fulfill the request due to some unexpected condition.';\n /**\n * InternalServerError\n */\n name: string = 'InternalServerError';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31500);\n Object.setPrototypeOf(this, ServerErrors.InternalServerError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ServerErrors.BadGateway error.\n * Error code `31502`.\n */\n export class BadGateway extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Bad Gateway (HTTP/SIP)\n */\n description: string = 'Bad Gateway (HTTP/SIP)';\n /**\n * The server is acting as a gateway or proxy, and received an invalid response from a downstream server while attempting to fulfill the request.\n */\n explanation: string = 'The server is acting as a gateway or proxy, and received an invalid response from a downstream server while attempting to fulfill the request.';\n /**\n * BadGateway\n */\n name: string = 'BadGateway';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31502);\n Object.setPrototypeOf(this, ServerErrors.BadGateway.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ServerErrors.ServiceUnavailable error.\n * Error code `31503`.\n */\n export class ServiceUnavailable extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Service Unavailable (HTTP/SIP)\n */\n description: string = 'Service Unavailable (HTTP/SIP)';\n /**\n * The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. This error can also be caused by the Application SID provided in the access token pointing to an inaccessible URL.\n */\n explanation: string = 'The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. This error can also be caused by the Application SID provided in the access token pointing to an inaccessible URL.';\n /**\n * ServiceUnavailable\n */\n name: string = 'ServiceUnavailable';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31503);\n Object.setPrototypeOf(this, ServerErrors.ServiceUnavailable.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ServerErrors.GatewayTimeout error.\n * Error code `31504`.\n */\n export class GatewayTimeout extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Gateway Timeout (HTTP/SIP)\n */\n description: string = 'Gateway Timeout (HTTP/SIP)';\n /**\n * The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server.\n */\n explanation: string = 'The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server.';\n /**\n * GatewayTimeout\n */\n name: string = 'GatewayTimeout';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31504);\n Object.setPrototypeOf(this, ServerErrors.GatewayTimeout.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * ServerErrors.DNSResolutionError error.\n * Error code `31530`.\n */\n export class DNSResolutionError extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * DNS Resolution Error (HTTP/SIP)\n */\n description: string = 'DNS Resolution Error (HTTP/SIP)';\n /**\n * Could not connect to the server.\n */\n explanation: string = 'Could not connect to the server.';\n /**\n * DNSResolutionError\n */\n name: string = 'DNSResolutionError';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31530);\n Object.setPrototypeOf(this, ServerErrors.DNSResolutionError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * SIPServer errors.\n */\nexport namespace SIPServerErrors {\n /**\n * @public\n * SIPServerErrors.BusyEverywhere error.\n * Error code `31600`.\n */\n export class BusyEverywhere extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Busy Everywhere (SIP)\n */\n description: string = 'Busy Everywhere (SIP)';\n /**\n * All possible destinations are busy.\n */\n explanation: string = 'All possible destinations are busy.';\n /**\n * BusyEverywhere\n */\n name: string = 'BusyEverywhere';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31600);\n Object.setPrototypeOf(this, SIPServerErrors.BusyEverywhere.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * SIPServerErrors.Decline error.\n * Error code `31603`.\n */\n export class Decline extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Decline (SIP)\n */\n description: string = 'Decline (SIP)';\n /**\n * The callee does not wish to participate in the call.\n */\n explanation: string = 'The callee does not wish to participate in the call.';\n /**\n * Decline\n */\n name: string = 'Decline';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31603);\n Object.setPrototypeOf(this, SIPServerErrors.Decline.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * SIPServerErrors.DoesNotExistAnywhere error.\n * Error code `31604`.\n */\n export class DoesNotExistAnywhere extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Does Not Exist Anywhere (SIP)\n */\n description: string = 'Does Not Exist Anywhere (SIP)';\n /**\n * The requested callee does not exist anywhere.\n */\n explanation: string = 'The requested callee does not exist anywhere.';\n /**\n * DoesNotExistAnywhere\n */\n name: string = 'DoesNotExistAnywhere';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31604);\n Object.setPrototypeOf(this, SIPServerErrors.DoesNotExistAnywhere.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * TwiML errors.\n */\nexport namespace TwiMLErrors {\n /**\n * @public\n * TwiMLErrors.InvalidApplicationSid error.\n * Error code `21218`.\n */\n export class InvalidApplicationSid extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Invalid ApplicationSid\n */\n description: string = 'Invalid ApplicationSid';\n /**\n * You attempted to initiate an outbound phone call with an invalid ApplicationSid. The application may not exist anymore or may not be available within your account\n */\n explanation: string = 'You attempted to initiate an outbound phone call with an invalid ApplicationSid. The application may not exist anymore or may not be available within your account';\n /**\n * InvalidApplicationSid\n */\n name: string = 'InvalidApplicationSid';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 21218);\n Object.setPrototypeOf(this, TwiMLErrors.InvalidApplicationSid.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * General errors.\n */\nexport namespace GeneralErrors {\n /**\n * @public\n * GeneralErrors.ConnectionError error.\n * Error code `31005`.\n */\n export class ConnectionError extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Connection error\n */\n description: string = 'Connection error';\n /**\n * A connection error occurred during the call\n */\n explanation: string = 'A connection error occurred during the call';\n /**\n * ConnectionError\n */\n name: string = 'ConnectionError';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31005);\n Object.setPrototypeOf(this, GeneralErrors.ConnectionError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * GeneralErrors.CallCancelledError error.\n * Error code `31008`.\n */\n export class CallCancelledError extends TwilioError {\n /**\n * The incoming call was cancelled because it was not answered in time or it was accepted/rejected by another application instance registered with the same identity.\n */\n causes: string[] = [\n 'The incoming call was cancelled because it was not answered in time or it was accepted/rejected by another application instance registered with the same identity.',\n ];\n /**\n * Call cancelled\n */\n description: string = 'Call cancelled';\n /**\n * Unable to answer because the call has ended\n */\n explanation: string = 'Unable to answer because the call has ended';\n /**\n * CallCancelledError\n */\n name: string = 'CallCancelledError';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31008);\n Object.setPrototypeOf(this, GeneralErrors.CallCancelledError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * GeneralErrors.TransportError error.\n * Error code `31009`.\n */\n export class TransportError extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Transport error\n */\n description: string = 'Transport error';\n /**\n * No transport available to send or receive messages\n */\n explanation: string = 'No transport available to send or receive messages';\n /**\n * TransportError\n */\n name: string = 'TransportError';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31009);\n Object.setPrototypeOf(this, GeneralErrors.TransportError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * MalformedRequest errors.\n */\nexport namespace MalformedRequestErrors {\n /**\n * @public\n * MalformedRequestErrors.MalformedRequestError error.\n * Error code `31100`.\n */\n export class MalformedRequestError extends TwilioError {\n /**\n * Invalid content or MessageType passed to sendMessage method.\n */\n causes: string[] = [\n 'Invalid content or MessageType passed to sendMessage method.',\n ];\n /**\n * The request had malformed syntax.\n */\n description: string = 'The request had malformed syntax.';\n /**\n * The request could not be understood due to malformed syntax.\n */\n explanation: string = 'The request could not be understood due to malformed syntax.';\n /**\n * MalformedRequestError\n */\n name: string = 'MalformedRequestError';\n /**\n * Ensure content and MessageType passed to sendMessage method are valid.\n */\n solutions: string[] = [\n 'Ensure content and MessageType passed to sendMessage method are valid.',\n ];\n\n constructor(message: string) {\n super(message, 31100);\n Object.setPrototypeOf(this, MalformedRequestErrors.MalformedRequestError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * Registration errors.\n */\nexport namespace RegistrationErrors {\n /**\n * @public\n * RegistrationErrors.RegistrationError error.\n * Error code `31301`.\n */\n export class RegistrationError extends TwilioError {\n /**\n * Not applicable.\n */\n causes: string[] = [];\n /**\n * Registration error\n */\n description: string = 'Registration error';\n /**\n * \n */\n explanation: string = '';\n /**\n * RegistrationError\n */\n name: string = 'RegistrationError';\n /**\n * Not applicable.\n */\n solutions: string[] = [];\n\n constructor(message: string) {\n super(message, 31301);\n Object.setPrototypeOf(this, RegistrationErrors.RegistrationError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * RegistrationErrors.UnsupportedCancelMessageError error.\n * Error code `31302`.\n */\n export class UnsupportedCancelMessageError extends TwilioError {\n /**\n * The identity associated with the Twilio Voice SDK is still registered to receive cancel push notification messages.\n */\n causes: string[] = [\n 'The identity associated with the Twilio Voice SDK is still registered to receive cancel push notification messages.',\n ];\n /**\n * Unsupported Cancel Message Error\n */\n description: string = 'Unsupported Cancel Message Error';\n /**\n * This version of the SDK no longer supports processing cancel push notification messages. You must register via Voice.register(...) on Android or [TwilioVoice registerWithAccessToken:deviceToken:completion:] on iOS with this version of the SDK to stop receiving cancel push notification messages. Cancellations are now handled internally and reported to you on behalf of the SDK.\n */\n explanation: string = 'This version of the SDK no longer supports processing cancel push notification messages. You must register via Voice.register(...) on Android or [TwilioVoice registerWithAccessToken:deviceToken:completion:] on iOS with this version of the SDK to stop receiving cancel push notification messages. Cancellations are now handled internally and reported to you on behalf of the SDK.';\n /**\n * UnsupportedCancelMessageError\n */\n name: string = 'UnsupportedCancelMessageError';\n /**\n * The application must register via Voice.register(...) on Android or [TwilioVoice registerWithAccessToken:deviceToken:completion:] on iOS to stop receiving cancel push notification messages.\n */\n solutions: string[] = [\n 'The application must register via Voice.register(...) on Android or [TwilioVoice registerWithAccessToken:deviceToken:completion:] on iOS to stop receiving cancel push notification messages.',\n ];\n\n constructor(message: string) {\n super(message, 31302);\n Object.setPrototypeOf(this, RegistrationErrors.UnsupportedCancelMessageError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * UserMedia errors.\n */\nexport namespace UserMediaErrors {\n /**\n * @public\n * UserMediaErrors.PermissionDeniedError error.\n * Error code `31401`.\n */\n export class PermissionDeniedError extends TwilioError {\n /**\n * The user denied the getUserMedia request.\n * The browser denied the getUserMedia request.\n * The application has not been configured with the proper permissions.\n */\n causes: string[] = [\n 'The user denied the getUserMedia request.',\n 'The browser denied the getUserMedia request.',\n 'The application has not been configured with the proper permissions.',\n ];\n /**\n * UserMedia Permission Denied Error\n */\n description: string = 'UserMedia Permission Denied Error';\n /**\n * The browser or end-user denied permissions to user media. Therefore we were unable to acquire input audio.\n */\n explanation: string = 'The browser or end-user denied permissions to user media. Therefore we were unable to acquire input audio.';\n /**\n * PermissionDeniedError\n */\n name: string = 'PermissionDeniedError';\n /**\n * The user should accept the request next time prompted. If the browser saved the deny, the user should change that permission in their browser.\n * The user should to verify that the browser has permission to access the microphone at this address.\n * The user should ensure that the proper permissions have been granted in the mobile device OS.\n */\n solutions: string[] = [\n 'The user should accept the request next time prompted. If the browser saved the deny, the user should change that permission in their browser.',\n 'The user should to verify that the browser has permission to access the microphone at this address.',\n 'The user should ensure that the proper permissions have been granted in the mobile device OS.',\n ];\n\n constructor(message: string) {\n super(message, 31401);\n Object.setPrototypeOf(this, UserMediaErrors.PermissionDeniedError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * Signaling errors.\n */\nexport namespace SignalingErrors {\n /**\n * @public\n * SignalingErrors.ConnectionDisconnected error.\n * Error code `53001`.\n */\n export class ConnectionDisconnected extends TwilioError {\n /**\n * The device running your application lost its Internet connection.\n */\n causes: string[] = [\n 'The device running your application lost its Internet connection.',\n ];\n /**\n * Signaling connection disconnected\n */\n description: string = 'Signaling connection disconnected';\n /**\n * Raised whenever the signaling connection is unexpectedly disconnected.\n */\n explanation: string = 'Raised whenever the signaling connection is unexpectedly disconnected.';\n /**\n * ConnectionDisconnected\n */\n name: string = 'ConnectionDisconnected';\n /**\n * Ensure the device running your application has access to a stable Internet connection.\n */\n solutions: string[] = [\n 'Ensure the device running your application has access to a stable Internet connection.',\n ];\n\n constructor(message: string) {\n super(message, 53001);\n Object.setPrototypeOf(this, SignalingErrors.ConnectionDisconnected.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @public\n * Media errors.\n */\nexport namespace MediaErrors {\n /**\n * @public\n * MediaErrors.ClientLocalDescFailed error.\n * Error code `53400`.\n */\n export class ClientLocalDescFailed extends TwilioError {\n /**\n * The Client may not be using a supported WebRTC implementation.\n * The Client may not have the necessary resources to create or apply a new media description.\n */\n causes: string[] = [\n 'The Client may not be using a supported WebRTC implementation.',\n 'The Client may not have the necessary resources to create or apply a new media description.',\n ];\n /**\n * Client is unable to create or apply a local media description\n */\n description: string = 'Client is unable to create or apply a local media description';\n /**\n * Raised whenever a Client is unable to create or apply a local media description.\n */\n explanation: string = 'Raised whenever a Client is unable to create or apply a local media description.';\n /**\n * ClientLocalDescFailed\n */\n name: string = 'ClientLocalDescFailed';\n /**\n * If you are experiencing this error using the JavaScript SDK, ensure you are running it with a supported WebRTC implementation.\n */\n solutions: string[] = [\n 'If you are experiencing this error using the JavaScript SDK, ensure you are running it with a supported WebRTC implementation.',\n ];\n\n constructor(message: string) {\n super(message, 53400);\n Object.setPrototypeOf(this, MediaErrors.ClientLocalDescFailed.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * MediaErrors.ServerLocalDescFailed error.\n * Error code `53401`.\n */\n export class ServerLocalDescFailed extends TwilioError {\n /**\n * A server-side error has occurred.\n */\n causes: string[] = [\n 'A server-side error has occurred.',\n ];\n /**\n * Server is unable to create or apply a local media description\n */\n description: string = 'Server is unable to create or apply a local media description';\n /**\n * Raised whenever the Server is unable to create or apply a local media description.\n */\n explanation: string = 'Raised whenever the Server is unable to create or apply a local media description.';\n /**\n * ServerLocalDescFailed\n */\n name: string = 'ServerLocalDescFailed';\n /**\n * If the problem persists, try connecting to another region.\n */\n solutions: string[] = [\n 'If the problem persists, try connecting to another region.',\n ];\n\n constructor(message: string) {\n super(message, 53401);\n Object.setPrototypeOf(this, MediaErrors.ServerLocalDescFailed.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * MediaErrors.ClientRemoteDescFailed error.\n * Error code `53402`.\n */\n export class ClientRemoteDescFailed extends TwilioError {\n /**\n * The Client may not be using a supported WebRTC implementation.\n * The Client may be connecting peer-to-peer with another Participant that is not using a supported WebRTC implementation.\n * The Client may not have the necessary resources to apply a new media description.\n */\n causes: string[] = [\n 'The Client may not be using a supported WebRTC implementation.',\n 'The Client may be connecting peer-to-peer with another Participant that is not using a supported WebRTC implementation.',\n 'The Client may not have the necessary resources to apply a new media description.',\n ];\n /**\n * Client is unable to apply a remote media description\n */\n description: string = 'Client is unable to apply a remote media description';\n /**\n * Raised whenever the Client receives a remote media description but is unable to apply it.\n */\n explanation: string = 'Raised whenever the Client receives a remote media description but is unable to apply it.';\n /**\n * ClientRemoteDescFailed\n */\n name: string = 'ClientRemoteDescFailed';\n /**\n * If you are experiencing this error using the JavaScript SDK, ensure you are running it with a supported WebRTC implementation.\n */\n solutions: string[] = [\n 'If you are experiencing this error using the JavaScript SDK, ensure you are running it with a supported WebRTC implementation.',\n ];\n\n constructor(message: string) {\n super(message, 53402);\n Object.setPrototypeOf(this, MediaErrors.ClientRemoteDescFailed.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * MediaErrors.ServerRemoteDescFailed error.\n * Error code `53403`.\n */\n export class ServerRemoteDescFailed extends TwilioError {\n /**\n * The Client may not be using a supported WebRTC implementation.\n * The Client may not have the necessary resources to apply a new media description.\n * A Server-side error may have caused the Server to generate an invalid media description.\n */\n causes: string[] = [\n 'The Client may not be using a supported WebRTC implementation.',\n 'The Client may not have the necessary resources to apply a new media description.',\n 'A Server-side error may have caused the Server to generate an invalid media description.',\n ];\n /**\n * Server is unable to apply a remote media description\n */\n description: string = 'Server is unable to apply a remote media description';\n /**\n * Raised whenever the Server receives a remote media description but is unable to apply it.\n */\n explanation: string = 'Raised whenever the Server receives a remote media description but is unable to apply it.';\n /**\n * ServerRemoteDescFailed\n */\n name: string = 'ServerRemoteDescFailed';\n /**\n * If you are experiencing this error using the JavaScript SDK, ensure you are running it with a supported WebRTC implementation.\n * If the problem persists, try connecting to another region.\n */\n solutions: string[] = [\n 'If you are experiencing this error using the JavaScript SDK, ensure you are running it with a supported WebRTC implementation.',\n 'If the problem persists, try connecting to another region.',\n ];\n\n constructor(message: string) {\n super(message, 53403);\n Object.setPrototypeOf(this, MediaErrors.ServerRemoteDescFailed.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * MediaErrors.NoSupportedCodec error.\n * Error code `53404`.\n */\n export class NoSupportedCodec extends TwilioError {\n /**\n * The C++ SDK was built without the recommended set of codecs.\n * The JavaScript SDK is running in a browser that does not implement the recommended set of codecs.\n */\n causes: string[] = [\n 'The C++ SDK was built without the recommended set of codecs.',\n 'The JavaScript SDK is running in a browser that does not implement the recommended set of codecs.',\n ];\n /**\n * No supported codec\n */\n description: string = 'No supported codec';\n /**\n * Raised whenever the intersection of codecs supported by the Client and the Server (or, in peer-to-peer, the Client and another Participant) is empty.\n */\n explanation: string = 'Raised whenever the intersection of codecs supported by the Client and the Server (or, in peer-to-peer, the Client and another Participant) is empty.';\n /**\n * NoSupportedCodec\n */\n name: string = 'NoSupportedCodec';\n /**\n * If you are experiencing this error using the C++ SDK, ensure you build it with the recommended set of codecs.\n * If you are experiencing this error using the JavaScript SDK, ensure you are using a compatible browser.\n */\n solutions: string[] = [\n 'If you are experiencing this error using the C++ SDK, ensure you build it with the recommended set of codecs.',\n 'If you are experiencing this error using the JavaScript SDK, ensure you are using a compatible browser.',\n ];\n\n constructor(message: string) {\n super(message, 53404);\n Object.setPrototypeOf(this, MediaErrors.NoSupportedCodec.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * MediaErrors.ConnectionError error.\n * Error code `53405`.\n */\n export class ConnectionError extends TwilioError {\n /**\n * The Client was unable to establish a media connection.\n * A media connection which was active failed liveliness checks.\n */\n causes: string[] = [\n 'The Client was unable to establish a media connection.',\n 'A media connection which was active failed liveliness checks.',\n ];\n /**\n * Media connection failed\n */\n description: string = 'Media connection failed';\n /**\n * Raised by the Client or Server whenever a media connection fails.\n */\n explanation: string = 'Raised by the Client or Server whenever a media connection fails.';\n /**\n * ConnectionError\n */\n name: string = 'ConnectionError';\n /**\n * If the problem persists, try connecting to another region.\n * Check your Client's network connectivity.\n * If you've provided custom ICE Servers then ensure that the URLs and credentials are valid.\n */\n solutions: string[] = [\n 'If the problem persists, try connecting to another region.',\n 'Check your Client\\'s network connectivity.',\n 'If you\\'ve provided custom ICE Servers then ensure that the URLs and credentials are valid.',\n ];\n\n constructor(message: string) {\n super(message, 53405);\n Object.setPrototypeOf(this, MediaErrors.ConnectionError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n\n /**\n * @public\n * MediaErrors.MediaDtlsTransportFailedError error.\n * Error code `53407`.\n */\n export class MediaDtlsTransportFailedError extends TwilioError {\n /**\n * One or both of the DTLS peers have an invalid certificate.\n * One or both of the DTLS peers have an outdated version of DTLS.\n * One or both of the DTLS peers lost internet connectivity while performing a DTLS handshake.\n */\n causes: string[] = [\n 'One or both of the DTLS peers have an invalid certificate.',\n 'One or both of the DTLS peers have an outdated version of DTLS.',\n 'One or both of the DTLS peers lost internet connectivity while performing a DTLS handshake.',\n ];\n /**\n * The media connection failed due to DTLS handshake failure\n */\n description: string = 'The media connection failed due to DTLS handshake failure';\n /**\n * There was a problem while negotiating with the remote DTLS peer. Therefore the Client will not be able to establish the media connection.\n */\n explanation: string = 'There was a problem while negotiating with the remote DTLS peer. Therefore the Client will not be able to establish the media connection.';\n /**\n * MediaDtlsTransportFailedError\n */\n name: string = 'MediaDtlsTransportFailedError';\n /**\n * Ensure that your certificate is valid.\n * Ensure that you have a stable internet connection.\n * Ensure that the browser or the Mobile SDK supports newer versions of DTLS.\n */\n solutions: string[] = [\n 'Ensure that your certificate is valid.',\n 'Ensure that you have a stable internet connection.',\n 'Ensure that the browser or the Mobile SDK supports newer versions of DTLS.',\n ];\n\n constructor(message: string) {\n super(message, 53407);\n Object.setPrototypeOf(this, MediaErrors.MediaDtlsTransportFailedError.prototype);\n\n const msg: string = typeof message === 'string'\n ? message\n : this.explanation;\n\n this.message = `${this.name} (${this.code}): ${msg}`;\n }\n }\n}\n\n/**\n * @internal\n */\nexport const errorsByCode: ReadonlyMap<number, typeof TwilioError> = new Map([\n [20101, AuthorizationErrors.AccessTokenInvalid],\n [20102, AuthorizationErrors.AccessTokenHeaderInvalid],\n [20103, AuthorizationErrors.AccessTokenIssuerInvalid],\n [20104, AuthorizationErrors.AccessTokenExpired],\n [20105, AuthorizationErrors.AccessTokenNotYetValid],\n [20106, AuthorizationErrors.AccessTokenGrantsInvalid],\n [20107, AuthorizationErrors.AccessTokenSignatureInvalid],\n [20151, AuthorizationErrors.AuthenticationFailed],\n [20157, AuthorizationErrors.ExpirationTimeExceedsMaxTimeAllowed],\n [20403, ForbiddenErrors.Forbidden],\n [21218, TwiMLErrors.InvalidApplicationSid],\n [31005, GeneralErrors.ConnectionError],\n [31008, GeneralErrors.CallCancelledError],\n [31009, GeneralErrors.TransportError],\n [31100, MalformedRequestErrors.MalformedRequestError],\n [31201, AuthorizationErrors.AuthorizationError],\n [31206, AuthorizationErrors.RateExceededError],\n [31210, AuthorizationErrors.CallMessageEventTypeInvalidError],\n [31211, AuthorizationErrors.CallMessageUnexpectedStateError],\n [31212, AuthorizationErrors.PayloadSizeExceededError],\n [31301, RegistrationErrors.RegistrationError],\n [31302, RegistrationErrors.UnsupportedCancelMessageError],\n [31400, ClientErrors.BadRequest],\n [31401, UserMediaErrors.PermissionDeniedError],\n [31403, ClientErrors.Forbidden],\n [31404, ClientErrors.NotFound],\n [31408, ClientErrors.RequestTimeout],\n [31409, ClientErrors.Conflict],\n [31426, ClientErrors.UpgradeRequired],\n [31429, ClientErrors.TooManyRequests],\n [31480, ClientErrors.TemporarilyUnavailable],\n [31481, ClientErrors.CallTransactionDoesNotExist],\n [31484, ClientErrors.AddressIncomplete],\n [31486, ClientErrors.BusyHere],\n [31487, ClientErrors.RequestTerminated],\n [31500, ServerErrors.InternalServerError],\n [31502, ServerErrors.BadGateway],\n [31503, ServerErrors.ServiceUnavailable],\n [31504, ServerErrors.GatewayTimeout],\n [31530, ServerErrors.DNSResolutionError],\n [31600, SIPServerErrors.BusyEverywhere],\n [31603, SIPServerErrors.Decline],\n [31604, SIPServerErrors.DoesNotExistAnywhere],\n [51007, AuthorizationErrors.AccessTokenRejected],\n [53001, SignalingErrors.ConnectionDisconnected],\n [53400, MediaErrors.ClientLocalDescFailed],\n [53401, MediaErrors.ServerLocalDescFailed],\n [53402, MediaErrors.ClientRemoteDescFailed],\n [53403, MediaErrors.ServerRemoteDescFailed],\n [53404, MediaErrors.NoSupportedCodec],\n [53405, MediaErrors.ConnectionError],\n [53407, MediaErrors.MediaDtlsTransportFailedError],\n]);\n\nObject.freeze(errorsByCode);\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { InvalidArgumentError } from './InvalidArgumentError';
|
|
2
|
+
export { InvalidStateError } from './InvalidStateError';
|
|
3
|
+
export { UnsupportedPlatformError } from './UnsupportedPlatformError';
|
|
4
|
+
export { TwilioError } from './TwilioError';
|
|
5
|
+
export { AuthorizationErrors, ClientErrors, ForbiddenErrors, GeneralErrors, MalformedRequestErrors, MediaErrors, RegistrationErrors, ServerErrors, SignalingErrors, SIPServerErrors, TwiMLErrors, UserMediaErrors } from './generated';
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":["InvalidArgumentError","InvalidStateError","UnsupportedPlatformError","TwilioError","AuthorizationErrors","ClientErrors","ForbiddenErrors","GeneralErrors","MalformedRequestErrors","MediaErrors","RegistrationErrors","ServerErrors","SignalingErrors","SIPServerErrors","TwiMLErrors","UserMediaErrors"],"mappings":"AAAA,SAASA,oBAAT,QAAqC,wBAArC;AACA,SAASC,iBAAT,QAAkC,qBAAlC;AACA,SAASC,wBAAT,QAAyC,4BAAzC;AACA,SAASC,WAAT,QAA4B,eAA5B;AACA,SACEC,mBADF,EAEEC,YAFF,EAGEC,eAHF,EAIEC,aAJF,EAKEC,sBALF,EAMEC,WANF,EAOEC,kBAPF,EAQEC,YARF,EASEC,eATF,EAUEC,eAVF,EAWEC,WAXF,EAYEC,eAZF,QAaO,aAbP","sourcesContent":["export { InvalidArgumentError } from './InvalidArgumentError';\nexport { InvalidStateError } from './InvalidStateError';\nexport { UnsupportedPlatformError } from './UnsupportedPlatformError';\nexport { TwilioError } from './TwilioError';\nexport {\n AuthorizationErrors,\n ClientErrors,\n ForbiddenErrors,\n GeneralErrors,\n MalformedRequestErrors,\n MediaErrors,\n RegistrationErrors,\n ServerErrors,\n SignalingErrors,\n SIPServerErrors,\n TwiMLErrors,\n UserMediaErrors,\n} from './generated';\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { errorsByCode } from './generated';
|
|
2
|
+
import { TwilioError } from './TwilioError';
|
|
3
|
+
import { InvalidArgumentError } from './InvalidArgumentError';
|
|
4
|
+
/**
|
|
5
|
+
* Uses the generated error-code map to create the appropriate error.
|
|
6
|
+
* If the code is "unexpected" such that there is no constructor for that
|
|
7
|
+
* specific code, this function will default to a generic {@link TwilioError}.
|
|
8
|
+
*
|
|
9
|
+
* @param message an error message
|
|
10
|
+
* @param code a Twilio error code, for example `31209`
|
|
11
|
+
*
|
|
12
|
+
* @returns a {@link TwilioError} or appropriate sub-class
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
export function constructTwilioError(message, code) {
|
|
16
|
+
if (typeof message !== 'string') {
|
|
17
|
+
throw new InvalidArgumentError('The "message" argument is not of type "string".');
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (typeof code !== 'number') {
|
|
21
|
+
throw new InvalidArgumentError('The "code" argument is not of type "number".');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const ErrorClass = errorsByCode.get(code);
|
|
25
|
+
return typeof ErrorClass !== 'undefined' ? new ErrorClass(message) : new TwilioError(message, code);
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=utility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["utility.ts"],"names":["errorsByCode","TwilioError","InvalidArgumentError","constructTwilioError","message","code","ErrorClass","get"],"mappings":"AAAA,SAASA,YAAT,QAA6B,aAA7B;AACA,SAASC,WAAT,QAA4B,eAA5B;AACA,SAASC,oBAAT,QAAqC,wBAArC;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,SAASC,oBAAT,CACLC,OADK,EAELC,IAFK,EAGQ;AACb,MAAI,OAAOD,OAAP,KAAmB,QAAvB,EAAiC;AAC/B,UAAM,IAAIF,oBAAJ,CACJ,iDADI,CAAN;AAGD;;AAED,MAAI,OAAOG,IAAP,KAAgB,QAApB,EAA8B;AAC5B,UAAM,IAAIH,oBAAJ,CACJ,8CADI,CAAN;AAGD;;AAED,QAAMI,UAAU,GAAGN,YAAY,CAACO,GAAb,CAAiBF,IAAjB,CAAnB;AAEA,SAAO,OAAOC,UAAP,KAAsB,WAAtB,GACH,IAAIA,UAAJ,CAAeF,OAAf,CADG,GAEH,IAAIH,WAAJ,CAAgBG,OAAhB,EAAyBC,IAAzB,CAFJ;AAGD","sourcesContent":["import { errorsByCode } from './generated';\nimport { TwilioError } from './TwilioError';\nimport { InvalidArgumentError } from './InvalidArgumentError';\n\n/**\n * Uses the generated error-code map to create the appropriate error.\n * If the code is \"unexpected\" such that there is no constructor for that\n * specific code, this function will default to a generic {@link TwilioError}.\n *\n * @param message an error message\n * @param code a Twilio error code, for example `31209`\n *\n * @returns a {@link TwilioError} or appropriate sub-class\n */\nexport function constructTwilioError(\n message: string,\n code: number\n): TwilioError {\n if (typeof message !== 'string') {\n throw new InvalidArgumentError(\n 'The \"message\" argument is not of type \"string\".'\n );\n }\n\n if (typeof code !== 'number') {\n throw new InvalidArgumentError(\n 'The \"code\" argument is not of type \"number\".'\n );\n }\n\n const ErrorClass = errorsByCode.get(code);\n\n return typeof ErrorClass !== 'undefined'\n ? new ErrorClass(message)\n : new TwilioError(message, code);\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Copyright © 2022 Twilio, Inc. All rights reserved. Licensed under the Twilio
|
|
2
|
+
// license.
|
|
3
|
+
// See LICENSE in the project root for license information.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Provides access to Twilio Programmable Voice for React Native applications
|
|
7
|
+
* running on iOS and Android devices.
|
|
8
|
+
*
|
|
9
|
+
* @packageDocumentation
|
|
10
|
+
*/
|
|
11
|
+
export { Voice } from './Voice';
|
|
12
|
+
export { AudioDevice } from './AudioDevice';
|
|
13
|
+
export { Call } from './Call';
|
|
14
|
+
export { CallInvite } from './CallInvite';
|
|
15
|
+
export { CallMessage } from './CallMessage/CallMessage';
|
|
16
|
+
export { IncomingCallMessage } from './CallMessage/IncomingCallMessage';
|
|
17
|
+
export { OutgoingCallMessage } from './CallMessage/OutgoingCallMessage';
|
|
18
|
+
export { CustomParameters } from './type/common';
|
|
19
|
+
export { CallKit } from './type/CallKit';
|
|
20
|
+
export { RTCStats } from './type/RTCStats';
|
|
21
|
+
import * as TwilioErrors from './error';
|
|
22
|
+
export { TwilioErrors };
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["index.tsx"],"names":["Voice","AudioDevice","Call","CallInvite","CallMessage","IncomingCallMessage","OutgoingCallMessage","CustomParameters","CallKit","RTCStats","TwilioErrors"],"mappings":"AAAA;AACA;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,KAAT,QAAsB,SAAtB;AACA,SAASC,WAAT,QAA4B,eAA5B;AACA,SAASC,IAAT,QAAqB,QAArB;AACA,SAASC,UAAT,QAA2B,cAA3B;AACA,SAASC,WAAT,QAA4B,2BAA5B;AACA,SAASC,mBAAT,QAAoC,mCAApC;AACA,SAASC,mBAAT,QAAoC,mCAApC;AACA,SAASC,gBAAT,QAAiC,eAAjC;AACA,SAASC,OAAT,QAAwB,gBAAxB;AACA,SAASC,QAAT,QAAyB,iBAAzB;AAEA,OAAO,KAAKC,YAAZ,MAA8B,SAA9B;AACA,SAASA,YAAT","sourcesContent":["// Copyright © 2022 Twilio, Inc. All rights reserved. Licensed under the Twilio\n// license.\n\n// See LICENSE in the project root for license information.\n\n/**\n * Provides access to Twilio Programmable Voice for React Native applications\n * running on iOS and Android devices.\n *\n * @packageDocumentation\n */\nexport { Voice } from './Voice';\nexport { AudioDevice } from './AudioDevice';\nexport { Call } from './Call';\nexport { CallInvite } from './CallInvite';\nexport { CallMessage } from './CallMessage/CallMessage';\nexport { IncomingCallMessage } from './CallMessage/IncomingCallMessage';\nexport { OutgoingCallMessage } from './CallMessage/OutgoingCallMessage';\nexport { CustomParameters } from './type/common';\nexport { CallKit } from './type/CallKit';\nexport { RTCStats } from './type/RTCStats';\n\nimport * as TwilioErrors from './error';\nexport { TwilioErrors };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* CallKit related types.
|
|
4
|
+
*/
|
|
5
|
+
export let CallKit;
|
|
6
|
+
|
|
7
|
+
(function (_CallKit) {
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
* iOS CallKit configuration options.
|
|
11
|
+
*/
|
|
12
|
+
let HandleType;
|
|
13
|
+
|
|
14
|
+
(function (HandleType) {
|
|
15
|
+
HandleType[HandleType["Generic"] = 0] = "Generic";
|
|
16
|
+
HandleType[HandleType["PhoneNumber"] = 1] = "PhoneNumber";
|
|
17
|
+
HandleType[HandleType["EmailAddress"] = 2] = "EmailAddress";
|
|
18
|
+
})(HandleType || (HandleType = {}));
|
|
19
|
+
|
|
20
|
+
_CallKit.HandleType = HandleType;
|
|
21
|
+
})(CallKit || (CallKit = {}));
|
|
22
|
+
//# sourceMappingURL=CallKit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["CallKit.ts"],"names":["HandleType","CallKit"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;;AACE;AACF;AACA;AACA;MAsCcA,U;;aAAAA,U;AAAAA,IAAAA,U,CAAAA,U;AAAAA,IAAAA,U,CAAAA,U;AAAAA,IAAAA,U,CAAAA,U;KAAAA,U,KAAAA,U;;;GA1CGC,O,KAAAA,O","sourcesContent":["/**\n * @public\n * CallKit related types.\n */\nexport namespace CallKit {\n /**\n * @public\n * iOS CallKit configuration options.\n */\n export type ConfigurationOptions = {\n /**\n * Filename of a 80x80 PNG image that will show in the system call UI as the app icon.\n */\n callKitIconTemplateImageData: string;\n /**\n * Include call history in system recents (`true` by default).\n *\n * @remarks\n * Only supported on iOS 11 and newer versions.\n */\n callKitIncludesCallsInRecents: boolean;\n /**\n * Maximum number of call groups (`2` by default).\n */\n callKitMaximumCallGroups: number;\n /**\n * Maximum number of calls per group (`5` by default).\n */\n callKitMaximumCallsPerCallGroup: number;\n /**\n * Filename of the incoming call ringing tone.\n */\n callKitRingtoneSound: string;\n /**\n * Supported handle types.\n *\n * @remarks\n * See {@link CallKit.HandleType}.\n */\n callKitSupportedHandleTypes: HandleType[];\n };\n\n /**\n * @public\n * Enumeration of all supported handle types by iOS CallKit.\n */\n export enum HandleType {\n /**\n * Generic handle.\n */\n Generic = 0,\n /**\n * Phone number handle.\n */\n PhoneNumber = 1,\n /**\n * Email address handle.\n */\n EmailAddress = 2,\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types related to WebRTC stats.
|
|
3
|
+
*
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export let RTCStats;
|
|
7
|
+
|
|
8
|
+
(function (_RTCStats) {
|
|
9
|
+
let IceCandidatePairState;
|
|
10
|
+
|
|
11
|
+
(function (IceCandidatePairState) {
|
|
12
|
+
IceCandidatePairState["STATE_FAILED"] = "STATE_FAILED";
|
|
13
|
+
IceCandidatePairState["STATE_FROZEN"] = "STATE_FROZEN";
|
|
14
|
+
IceCandidatePairState["STATE_IN_PROGRESS"] = "STATE_IN_PROGRESS";
|
|
15
|
+
IceCandidatePairState["STATE_SUCCEEDED"] = "STATE_SUCCEEDED";
|
|
16
|
+
IceCandidatePairState["STATE_WAITING"] = "STATE_WAITING";
|
|
17
|
+
})(IceCandidatePairState || (IceCandidatePairState = {}));
|
|
18
|
+
|
|
19
|
+
_RTCStats.IceCandidatePairState = IceCandidatePairState;
|
|
20
|
+
})(RTCStats || (RTCStats = {}));
|
|
21
|
+
//# sourceMappingURL=RTCStats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["RTCStats.ts"],"names":["IceCandidatePairState","RTCStats"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;;MACcA,qB;;aAAAA,qB;AAAAA,IAAAA,qB;AAAAA,IAAAA,qB;AAAAA,IAAAA,qB;AAAAA,IAAAA,qB;AAAAA,IAAAA,qB;KAAAA,qB,KAAAA,qB;;;GADGC,Q,KAAAA,Q","sourcesContent":["/**\n * Types related to WebRTC stats.\n *\n * @public\n */\nexport namespace RTCStats {\n export enum IceCandidatePairState {\n STATE_FAILED = 'STATE_FAILED',\n STATE_FROZEN = 'STATE_FROZEN',\n STATE_IN_PROGRESS = 'STATE_IN_PROGRESS',\n STATE_SUCCEEDED = 'STATE_SUCCEEDED',\n STATE_WAITING = 'STATE_WAITING',\n }\n\n export interface IceCandidatePairStats {\n activeCandidatePair: boolean;\n availableIncomingBitrate: number;\n availableOutgoingBitrate: number;\n bytesReceived: number;\n bytesSent: number;\n consentRequestsReceived: number;\n consentRequestsSent: number;\n consentResponsesReceived: number;\n consentResponsesSent: number;\n currentRoundTripTime: number;\n localCandidateId: string;\n localCandidateIp: string;\n nominated: boolean;\n priority: number;\n readable: boolean;\n relayProtocol: string;\n remoteCandidateId: string;\n remoteCandidateIp: string;\n requestsReceieved: number;\n requestsSent: number;\n responsesRecieved: number;\n responsesSent: number;\n retransmissionsReceived: number;\n retransmissionsSent: number;\n state: IceCandidatePairState;\n totalRoundTripTime: number;\n transportId: string;\n writeable: boolean;\n }\n\n export interface IceCandidateStats {\n candidateType: string;\n deleted: boolean;\n ip: string;\n isRemote: boolean;\n port: number;\n priority: number;\n protocol: string;\n transportId: string;\n url: string;\n }\n\n export interface BaseTrackStats {\n codec: string;\n packetsLost: number;\n ssrc: string;\n timestamp: number;\n trackId: string;\n }\n\n export interface LocalTrackStats extends BaseTrackStats {\n bytesSent: number;\n packetsSent: number;\n roundTripTime: number;\n }\n\n export interface LocalAudioTrackStats extends LocalTrackStats {\n audioLevel: number;\n jitter: number;\n }\n\n export interface RemoteTrackStats extends BaseTrackStats {\n bytesRecieved: number;\n packetsReceived: number;\n }\n\n export interface RemoteAudioTrackStats extends RemoteTrackStats {\n audioLevel: number;\n jitter: number;\n mos: number;\n }\n\n /**\n * WebRTC stats report. Contains diagnostics information about\n * `RTCPeerConnection`s and summarizes data for an ongoing call.\n */\n export interface StatsReport {\n iceCandidatePairStats: IceCandidatePairStats[];\n iceCandidateStats: IceCandidateStats[];\n localAudioTrackStats: LocalAudioTrackStats[];\n peerConnectionId: string;\n remoteAudioTrackStats: RemoteAudioTrackStats[];\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright © 2022 Twilio, Inc. All rights reserved. Licensed under the Twilio
|
|
3
|
+
* license.
|
|
4
|
+
*
|
|
5
|
+
* See LICENSE in the project root for license information.
|
|
6
|
+
*/
|
|
7
|
+
import type { NativeAudioDeviceInfo } from './type/AudioDevice';
|
|
8
|
+
import type { Uuid } from './type/common';
|
|
9
|
+
/**
|
|
10
|
+
* Describes audio devices as reported by the native layer and allows the
|
|
11
|
+
* native selection of the described audio device.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* To fetch a list of available audio devices and the currently selected audio
|
|
15
|
+
* device, see {@link (Voice:class).getAudioDevices}.
|
|
16
|
+
*
|
|
17
|
+
* - See also the {@link (AudioDevice:namespace) | AudioDevice namespace} for
|
|
18
|
+
* types used by this class.
|
|
19
|
+
*
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class AudioDevice {
|
|
23
|
+
/**
|
|
24
|
+
* The native-UUID of this object. This is generated by the native layer and
|
|
25
|
+
* is used to associate functionality between the JS and native layers.
|
|
26
|
+
*
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
uuid: Uuid;
|
|
30
|
+
/**
|
|
31
|
+
* The type of the audio device.
|
|
32
|
+
*/
|
|
33
|
+
type: AudioDevice.Type;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the audio device.
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
/**
|
|
39
|
+
* Audio device class constructor.
|
|
40
|
+
* @param audioDeviceInformation - A record describing an audio device.
|
|
41
|
+
*
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
constructor({ uuid, type, name }: NativeAudioDeviceInfo);
|
|
45
|
+
/**
|
|
46
|
+
* Calling this method will select this audio device as the active audio
|
|
47
|
+
* device.
|
|
48
|
+
* @returns
|
|
49
|
+
* A `Promise` that
|
|
50
|
+
* - Resolves with `void` when the audio device has been successfully
|
|
51
|
+
* selected as the active audio device.
|
|
52
|
+
* - Rejects if the audio device cannot be selected.
|
|
53
|
+
*/
|
|
54
|
+
select(): Promise<void>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Contains interfaces and enumerations associated with audio devices.
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* - See also the {@link (AudioDevice:class) | AudioDevice class}.
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare namespace AudioDevice {
|
|
65
|
+
/**
|
|
66
|
+
* Audio device type enumeration. Describes all possible audio device types as
|
|
67
|
+
* reportable by the native layer.
|
|
68
|
+
*/
|
|
69
|
+
enum Type {
|
|
70
|
+
Earpiece = "earpiece",
|
|
71
|
+
Speaker = "speaker",
|
|
72
|
+
Bluetooth = "bluetooth"
|
|
73
|
+
}
|
|
74
|
+
}
|