File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @zendesk/zaf-toolbox" ,
3- "version" : " 0.4.0 " ,
3+ "version" : " 0.4.1 " ,
44 "description" : " A toolbox for ZAF application built with 🩷 by Zendesk Labs" ,
55 "main" : " lib/src/index.js" ,
66 "types" : " lib/src/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -432,7 +432,8 @@ export type IIntegration =
432432 | IIntegrationIos
433433 | IIntegrationMessageBirds
434434 | IIntegrationMessenger
435- | IIntegrationTwilio
435+ | IIntegrationTwilioTalk
436+ | IIntegrationSuncoTwilio
436437 | IIntegrationTwitter
437438 | IIntegrationWeb
438439 | IIntegrationWhatsApp
@@ -551,15 +552,26 @@ export interface IIntegrationMessenger extends IIntegrationBase {
551552export interface IIntegrationTwilio extends IIntegrationBase {
552553 type : UserChannelTypes . Twilio ;
553554 phoneNumber : string ;
554- isTalk ?: boolean ;
555+ /**
556+ * Extra boolean to check if it's Talk or Sunco
557+ */
558+ isTalk : boolean ;
555559}
556560
557561export interface IIntegrationTwilioTalk extends IIntegrationTwilio {
562+ /**
563+ * Talk Twilio integration as true
564+ */
565+ isTalk : true ;
558566 sms : boolean ;
559567 mms : boolean ;
560568}
561569
562570export interface IIntegrationSuncoTwilio extends IIntegrationTwilio {
571+ /**
572+ * Talk Twilio integration as false
573+ */
574+ isTalk : false ;
563575 /**
564576 * Twilio Account SID.
565577 */
You can’t perform that action at this time.
0 commit comments