twilio 3.77.3 → 3.80.0

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.
Files changed (40) hide show
  1. package/README.md +6 -2
  2. package/lib/base/RequestClient.d.ts +15 -5
  3. package/lib/base/RequestClient.js +36 -7
  4. package/lib/rest/Insights.d.ts +0 -2
  5. package/lib/rest/Insights.js +0 -8
  6. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +1 -1
  7. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +1 -1
  8. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +1 -1
  9. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +1 -1
  10. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +1 -1
  11. package/lib/rest/api/v2010/account/usage/record/today.d.ts +1 -1
  12. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +1 -1
  13. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +1 -1
  14. package/lib/rest/api/v2010/account/usage/record.d.ts +1 -1
  15. package/lib/rest/api/v2010/account/usage/trigger.d.ts +1 -1
  16. package/lib/rest/conversations/v1/conversation/participant.js +4 -2
  17. package/lib/rest/conversations/v1/service/conversation/participant.js +4 -2
  18. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +12 -4
  19. package/lib/rest/flexApi/v1/interaction/interactionChannel.js +12 -3
  20. package/lib/rest/insights/V1.d.ts +0 -3
  21. package/lib/rest/insights/V1.js +0 -11
  22. package/lib/rest/insights/v1/{annotation.d.ts → call/annotation.d.ts} +29 -17
  23. package/lib/rest/insights/v1/{annotation.js → call/annotation.js} +72 -55
  24. package/lib/rest/insights/v1/call/summary.d.ts +2 -0
  25. package/lib/rest/insights/v1/call/summary.js +2 -0
  26. package/lib/rest/insights/v1/call.d.ts +7 -16
  27. package/lib/rest/insights/v1/call.js +28 -16
  28. package/lib/rest/lookups/v2/phoneNumber.d.ts +0 -2
  29. package/lib/rest/lookups/v2/phoneNumber.js +0 -3
  30. package/lib/rest/media/v1/mediaRecording.d.ts +0 -2
  31. package/lib/rest/media/v1/mediaRecording.js +0 -2
  32. package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +246 -0
  33. package/lib/rest/supersim/v1/sim/simIpAddress.js +448 -0
  34. package/lib/rest/supersim/v1/sim.d.ts +7 -0
  35. package/lib/rest/supersim/v1/sim.js +28 -0
  36. package/lib/rest/verify/v2/service/verificationCheck.d.ts +10 -2
  37. package/lib/rest/verify/v2/service/verificationCheck.js +9 -7
  38. package/lib/twiml/VoiceResponse.d.ts +2 -0
  39. package/lib/twiml/VoiceResponse.js +1 -0
  40. package/package.json +1 -1
@@ -18,7 +18,7 @@ import { TodayListInstance } from './record/today';
18
18
  import { YearlyListInstance } from './record/yearly';
19
19
  import { YesterdayListInstance } from './record/yesterday';
20
20
 
21
- type RecordCategory = 'a2p-registration-fees'|'agent-conference'|'answering-machine-detection'|'authy-authentications'|'authy-calls-outbound'|'authy-monthly-fees'|'authy-phone-intelligence'|'authy-phone-verifications'|'authy-sms-outbound'|'call-progess-events'|'calleridlookups'|'calls'|'calls-client'|'calls-globalconference'|'calls-inbound'|'calls-inbound-local'|'calls-inbound-mobile'|'calls-inbound-tollfree'|'calls-outbound'|'calls-pay-verb-transactions'|'calls-recordings'|'calls-sip'|'calls-sip-inbound'|'calls-sip-outbound'|'calls-transfers'|'carrier-lookups'|'conversations'|'conversations-api-requests'|'conversations-conversation-events'|'conversations-endpoint-connectivity'|'conversations-events'|'conversations-participant-events'|'conversations-participants'|'cps'|'flex-usage'|'fraud-lookups'|'group-rooms'|'group-rooms-data-track'|'group-rooms-encrypted-media-recorded'|'group-rooms-media-downloaded'|'group-rooms-media-recorded'|'group-rooms-media-routed'|'group-rooms-media-stored'|'group-rooms-participant-minutes'|'group-rooms-recorded-minutes'|'imp-v1-usage'|'lookups'|'marketplace'|'marketplace-algorithmia-named-entity-recognition'|'marketplace-cadence-transcription'|'marketplace-cadence-translation'|'marketplace-capio-speech-to-text'|'marketplace-convriza-ababa'|'marketplace-deepgram-phrase-detector'|'marketplace-digital-segment-business-info'|'marketplace-facebook-offline-conversions'|'marketplace-google-speech-to-text'|'marketplace-ibm-watson-message-insights'|'marketplace-ibm-watson-message-sentiment'|'marketplace-ibm-watson-recording-analysis'|'marketplace-ibm-watson-tone-analyzer'|'marketplace-icehook-systems-scout'|'marketplace-infogroup-dataaxle-bizinfo'|'marketplace-keen-io-contact-center-analytics'|'marketplace-marchex-cleancall'|'marketplace-marchex-sentiment-analysis-for-sms'|'marketplace-marketplace-nextcaller-social-id'|'marketplace-mobile-commons-opt-out-classifier'|'marketplace-nexiwave-voicemail-to-text'|'marketplace-nextcaller-advanced-caller-identification'|'marketplace-nomorobo-spam-score'|'marketplace-payfone-tcpa-compliance'|'marketplace-remeeting-automatic-speech-recognition'|'marketplace-tcpa-defense-solutions-blacklist-feed'|'marketplace-telo-opencnam'|'marketplace-truecnam-true-spam'|'marketplace-twilio-caller-name-lookup-us'|'marketplace-twilio-carrier-information-lookup'|'marketplace-voicebase-pci'|'marketplace-voicebase-transcription'|'marketplace-voicebase-transcription-custom-vocabulary'|'marketplace-whitepages-pro-caller-identification'|'marketplace-whitepages-pro-phone-intelligence'|'marketplace-whitepages-pro-phone-reputation'|'marketplace-wolfarm-spoken-results'|'marketplace-wolfram-short-answer'|'marketplace-ytica-contact-center-reporting-analytics'|'mediastorage'|'mms'|'mms-inbound'|'mms-inbound-longcode'|'mms-inbound-shortcode'|'mms-messages-carrierfees'|'mms-outbound'|'mms-outbound-longcode'|'mms-outbound-shortcode'|'monitor-reads'|'monitor-storage'|'monitor-writes'|'notify'|'notify-actions-attempts'|'notify-channels'|'number-format-lookups'|'pchat'|'pchat-users'|'peer-to-peer-rooms-participant-minutes'|'pfax'|'pfax-minutes'|'pfax-minutes-inbound'|'pfax-minutes-outbound'|'pfax-pages'|'phonenumbers'|'phonenumbers-cps'|'phonenumbers-emergency'|'phonenumbers-local'|'phonenumbers-mobile'|'phonenumbers-setups'|'phonenumbers-tollfree'|'premiumsupport'|'proxy'|'proxy-active-sessions'|'pstnconnectivity'|'pv'|'pv-composition-media-downloaded'|'pv-composition-media-encrypted'|'pv-composition-media-stored'|'pv-composition-minutes'|'pv-recording-compositions'|'pv-room-participants'|'pv-room-participants-au1'|'pv-room-participants-br1'|'pv-room-participants-ie1'|'pv-room-participants-jp1'|'pv-room-participants-sg1'|'pv-room-participants-us1'|'pv-room-participants-us2'|'pv-rooms'|'pv-sip-endpoint-registrations'|'recordings'|'recordingstorage'|'rooms-group-bandwidth'|'rooms-group-minutes'|'rooms-peer-to-peer-minutes'|'shortcodes'|'shortcodes-customerowned'|'shortcodes-mms-enablement'|'shortcodes-mps'|'shortcodes-random'|'shortcodes-uk'|'shortcodes-vanity'|'small-group-rooms'|'small-group-rooms-data-track'|'small-group-rooms-participant-minutes'|'sms'|'sms-inbound'|'sms-inbound-longcode'|'sms-inbound-shortcode'|'sms-messages-carrierfees'|'sms-messages-features'|'sms-messages-features-senderid'|'sms-outbound'|'sms-outbound-content-inspection'|'sms-outbound-longcode'|'sms-outbound-shortcode'|'speech-recognition'|'studio-engagements'|'sync'|'sync-actions'|'sync-endpoint-hours'|'sync-endpoint-hours-above-daily-cap'|'taskrouter-tasks'|'totalprice'|'transcriptions'|'trunking-cps'|'trunking-emergency-calls'|'trunking-origination'|'trunking-origination-local'|'trunking-origination-mobile'|'trunking-origination-tollfree'|'trunking-recordings'|'trunking-secure'|'trunking-termination'|'turnmegabytes'|'turnmegabytes-australia'|'turnmegabytes-brasil'|'turnmegabytes-germany'|'turnmegabytes-india'|'turnmegabytes-ireland'|'turnmegabytes-japan'|'turnmegabytes-singapore'|'turnmegabytes-useast'|'turnmegabytes-uswest'|'twilio-interconnect'|'verify-push'|'verify-totp'|'verify-whatsapp-conversations-business-initiated'|'video-recordings'|'voice-insights'|'voice-insights-client-insights-on-demand-minute'|'voice-insights-ptsn-insights-on-demand-minute'|'voice-insights-sip-interface-insights-on-demand-minute'|'voice-insights-sip-trunking-insights-on-demand-minute'|'wireless'|'wireless-orders'|'wireless-orders-artwork'|'wireless-orders-bulk'|'wireless-orders-esim'|'wireless-orders-starter'|'wireless-usage'|'wireless-usage-commands'|'wireless-usage-commands-africa'|'wireless-usage-commands-asia'|'wireless-usage-commands-centralandsouthamerica'|'wireless-usage-commands-europe'|'wireless-usage-commands-home'|'wireless-usage-commands-northamerica'|'wireless-usage-commands-oceania'|'wireless-usage-commands-roaming'|'wireless-usage-data'|'wireless-usage-data-africa'|'wireless-usage-data-asia'|'wireless-usage-data-centralandsouthamerica'|'wireless-usage-data-custom-additionalmb'|'wireless-usage-data-custom-first5mb'|'wireless-usage-data-domestic-roaming'|'wireless-usage-data-europe'|'wireless-usage-data-individual-additionalgb'|'wireless-usage-data-individual-firstgb'|'wireless-usage-data-international-roaming-canada'|'wireless-usage-data-international-roaming-india'|'wireless-usage-data-international-roaming-mexico'|'wireless-usage-data-northamerica'|'wireless-usage-data-oceania'|'wireless-usage-data-pooled'|'wireless-usage-data-pooled-downlink'|'wireless-usage-data-pooled-uplink'|'wireless-usage-mrc'|'wireless-usage-mrc-custom'|'wireless-usage-mrc-individual'|'wireless-usage-mrc-pooled'|'wireless-usage-mrc-suspended'|'wireless-usage-sms'|'wireless-usage-voice';
21
+ type RecordCategory = 'a2p-registration-fees'|'agent-conference'|'amazon-polly'|'answering-machine-detection'|'authy-authentications'|'authy-calls-outbound'|'authy-monthly-fees'|'authy-phone-intelligence'|'authy-phone-verifications'|'authy-sms-outbound'|'call-progess-events'|'calleridlookups'|'calls'|'calls-client'|'calls-globalconference'|'calls-inbound'|'calls-inbound-local'|'calls-inbound-mobile'|'calls-inbound-tollfree'|'calls-outbound'|'calls-pay-verb-transactions'|'calls-recordings'|'calls-sip'|'calls-sip-inbound'|'calls-sip-outbound'|'calls-transfers'|'carrier-lookups'|'conversations'|'conversations-api-requests'|'conversations-conversation-events'|'conversations-endpoint-connectivity'|'conversations-events'|'conversations-participant-events'|'conversations-participants'|'cps'|'flex-usage'|'fraud-lookups'|'group-rooms'|'group-rooms-data-track'|'group-rooms-encrypted-media-recorded'|'group-rooms-media-downloaded'|'group-rooms-media-recorded'|'group-rooms-media-routed'|'group-rooms-media-stored'|'group-rooms-participant-minutes'|'group-rooms-recorded-minutes'|'imp-v1-usage'|'lookups'|'marketplace'|'marketplace-algorithmia-named-entity-recognition'|'marketplace-cadence-transcription'|'marketplace-cadence-translation'|'marketplace-capio-speech-to-text'|'marketplace-convriza-ababa'|'marketplace-deepgram-phrase-detector'|'marketplace-digital-segment-business-info'|'marketplace-facebook-offline-conversions'|'marketplace-google-speech-to-text'|'marketplace-ibm-watson-message-insights'|'marketplace-ibm-watson-message-sentiment'|'marketplace-ibm-watson-recording-analysis'|'marketplace-ibm-watson-tone-analyzer'|'marketplace-icehook-systems-scout'|'marketplace-infogroup-dataaxle-bizinfo'|'marketplace-keen-io-contact-center-analytics'|'marketplace-marchex-cleancall'|'marketplace-marchex-sentiment-analysis-for-sms'|'marketplace-marketplace-nextcaller-social-id'|'marketplace-mobile-commons-opt-out-classifier'|'marketplace-nexiwave-voicemail-to-text'|'marketplace-nextcaller-advanced-caller-identification'|'marketplace-nomorobo-spam-score'|'marketplace-payfone-tcpa-compliance'|'marketplace-remeeting-automatic-speech-recognition'|'marketplace-tcpa-defense-solutions-blacklist-feed'|'marketplace-telo-opencnam'|'marketplace-truecnam-true-spam'|'marketplace-twilio-caller-name-lookup-us'|'marketplace-twilio-carrier-information-lookup'|'marketplace-voicebase-pci'|'marketplace-voicebase-transcription'|'marketplace-voicebase-transcription-custom-vocabulary'|'marketplace-whitepages-pro-caller-identification'|'marketplace-whitepages-pro-phone-intelligence'|'marketplace-whitepages-pro-phone-reputation'|'marketplace-wolfarm-spoken-results'|'marketplace-wolfram-short-answer'|'marketplace-ytica-contact-center-reporting-analytics'|'mediastorage'|'mms'|'mms-inbound'|'mms-inbound-longcode'|'mms-inbound-shortcode'|'mms-messages-carrierfees'|'mms-outbound'|'mms-outbound-longcode'|'mms-outbound-shortcode'|'monitor-reads'|'monitor-storage'|'monitor-writes'|'notify'|'notify-actions-attempts'|'notify-channels'|'number-format-lookups'|'pchat'|'pchat-users'|'peer-to-peer-rooms-participant-minutes'|'pfax'|'pfax-minutes'|'pfax-minutes-inbound'|'pfax-minutes-outbound'|'pfax-pages'|'phonenumbers'|'phonenumbers-cps'|'phonenumbers-emergency'|'phonenumbers-local'|'phonenumbers-mobile'|'phonenumbers-setups'|'phonenumbers-tollfree'|'premiumsupport'|'proxy'|'proxy-active-sessions'|'pstnconnectivity'|'pv'|'pv-composition-media-downloaded'|'pv-composition-media-encrypted'|'pv-composition-media-stored'|'pv-composition-minutes'|'pv-recording-compositions'|'pv-room-participants'|'pv-room-participants-au1'|'pv-room-participants-br1'|'pv-room-participants-ie1'|'pv-room-participants-jp1'|'pv-room-participants-sg1'|'pv-room-participants-us1'|'pv-room-participants-us2'|'pv-rooms'|'pv-sip-endpoint-registrations'|'recordings'|'recordingstorage'|'rooms-group-bandwidth'|'rooms-group-minutes'|'rooms-peer-to-peer-minutes'|'shortcodes'|'shortcodes-customerowned'|'shortcodes-mms-enablement'|'shortcodes-mps'|'shortcodes-random'|'shortcodes-uk'|'shortcodes-vanity'|'small-group-rooms'|'small-group-rooms-data-track'|'small-group-rooms-participant-minutes'|'sms'|'sms-inbound'|'sms-inbound-longcode'|'sms-inbound-shortcode'|'sms-messages-carrierfees'|'sms-messages-features'|'sms-messages-features-senderid'|'sms-outbound'|'sms-outbound-content-inspection'|'sms-outbound-longcode'|'sms-outbound-shortcode'|'speech-recognition'|'studio-engagements'|'sync'|'sync-actions'|'sync-endpoint-hours'|'sync-endpoint-hours-above-daily-cap'|'taskrouter-tasks'|'totalprice'|'transcriptions'|'trunking-cps'|'trunking-emergency-calls'|'trunking-origination'|'trunking-origination-local'|'trunking-origination-mobile'|'trunking-origination-tollfree'|'trunking-recordings'|'trunking-secure'|'trunking-termination'|'turnmegabytes'|'turnmegabytes-australia'|'turnmegabytes-brasil'|'turnmegabytes-germany'|'turnmegabytes-india'|'turnmegabytes-ireland'|'turnmegabytes-japan'|'turnmegabytes-singapore'|'turnmegabytes-useast'|'turnmegabytes-uswest'|'twilio-interconnect'|'verify-push'|'verify-totp'|'verify-whatsapp-conversations-business-initiated'|'video-recordings'|'voice-insights'|'voice-insights-client-insights-on-demand-minute'|'voice-insights-ptsn-insights-on-demand-minute'|'voice-insights-sip-interface-insights-on-demand-minute'|'voice-insights-sip-trunking-insights-on-demand-minute'|'wireless'|'wireless-orders'|'wireless-orders-artwork'|'wireless-orders-bulk'|'wireless-orders-esim'|'wireless-orders-starter'|'wireless-usage'|'wireless-usage-commands'|'wireless-usage-commands-africa'|'wireless-usage-commands-asia'|'wireless-usage-commands-centralandsouthamerica'|'wireless-usage-commands-europe'|'wireless-usage-commands-home'|'wireless-usage-commands-northamerica'|'wireless-usage-commands-oceania'|'wireless-usage-commands-roaming'|'wireless-usage-data'|'wireless-usage-data-africa'|'wireless-usage-data-asia'|'wireless-usage-data-centralandsouthamerica'|'wireless-usage-data-custom-additionalmb'|'wireless-usage-data-custom-first5mb'|'wireless-usage-data-domestic-roaming'|'wireless-usage-data-europe'|'wireless-usage-data-individual-additionalgb'|'wireless-usage-data-individual-firstgb'|'wireless-usage-data-international-roaming-canada'|'wireless-usage-data-international-roaming-india'|'wireless-usage-data-international-roaming-mexico'|'wireless-usage-data-northamerica'|'wireless-usage-data-oceania'|'wireless-usage-data-pooled'|'wireless-usage-data-pooled-downlink'|'wireless-usage-data-pooled-uplink'|'wireless-usage-mrc'|'wireless-usage-mrc-custom'|'wireless-usage-mrc-individual'|'wireless-usage-mrc-pooled'|'wireless-usage-mrc-suspended'|'wireless-usage-sms'|'wireless-usage-voice';
22
22
 
23
23
  /**
24
24
  * Initialize the RecordList
@@ -14,7 +14,7 @@ type TriggerRecurring = 'daily'|'monthly'|'yearly'|'alltime';
14
14
 
15
15
  type TriggerTriggerField = 'count'|'usage'|'price';
16
16
 
17
- type TriggerUsageCategory = 'a2p-registration-fees'|'agent-conference'|'answering-machine-detection'|'authy-authentications'|'authy-calls-outbound'|'authy-monthly-fees'|'authy-phone-intelligence'|'authy-phone-verifications'|'authy-sms-outbound'|'call-progess-events'|'calleridlookups'|'calls'|'calls-client'|'calls-globalconference'|'calls-inbound'|'calls-inbound-local'|'calls-inbound-mobile'|'calls-inbound-tollfree'|'calls-outbound'|'calls-pay-verb-transactions'|'calls-recordings'|'calls-sip'|'calls-sip-inbound'|'calls-sip-outbound'|'calls-transfers'|'carrier-lookups'|'conversations'|'conversations-api-requests'|'conversations-conversation-events'|'conversations-endpoint-connectivity'|'conversations-events'|'conversations-participant-events'|'conversations-participants'|'cps'|'flex-usage'|'fraud-lookups'|'group-rooms'|'group-rooms-data-track'|'group-rooms-encrypted-media-recorded'|'group-rooms-media-downloaded'|'group-rooms-media-recorded'|'group-rooms-media-routed'|'group-rooms-media-stored'|'group-rooms-participant-minutes'|'group-rooms-recorded-minutes'|'imp-v1-usage'|'lookups'|'marketplace'|'marketplace-algorithmia-named-entity-recognition'|'marketplace-cadence-transcription'|'marketplace-cadence-translation'|'marketplace-capio-speech-to-text'|'marketplace-convriza-ababa'|'marketplace-deepgram-phrase-detector'|'marketplace-digital-segment-business-info'|'marketplace-facebook-offline-conversions'|'marketplace-google-speech-to-text'|'marketplace-ibm-watson-message-insights'|'marketplace-ibm-watson-message-sentiment'|'marketplace-ibm-watson-recording-analysis'|'marketplace-ibm-watson-tone-analyzer'|'marketplace-icehook-systems-scout'|'marketplace-infogroup-dataaxle-bizinfo'|'marketplace-keen-io-contact-center-analytics'|'marketplace-marchex-cleancall'|'marketplace-marchex-sentiment-analysis-for-sms'|'marketplace-marketplace-nextcaller-social-id'|'marketplace-mobile-commons-opt-out-classifier'|'marketplace-nexiwave-voicemail-to-text'|'marketplace-nextcaller-advanced-caller-identification'|'marketplace-nomorobo-spam-score'|'marketplace-payfone-tcpa-compliance'|'marketplace-remeeting-automatic-speech-recognition'|'marketplace-tcpa-defense-solutions-blacklist-feed'|'marketplace-telo-opencnam'|'marketplace-truecnam-true-spam'|'marketplace-twilio-caller-name-lookup-us'|'marketplace-twilio-carrier-information-lookup'|'marketplace-voicebase-pci'|'marketplace-voicebase-transcription'|'marketplace-voicebase-transcription-custom-vocabulary'|'marketplace-whitepages-pro-caller-identification'|'marketplace-whitepages-pro-phone-intelligence'|'marketplace-whitepages-pro-phone-reputation'|'marketplace-wolfarm-spoken-results'|'marketplace-wolfram-short-answer'|'marketplace-ytica-contact-center-reporting-analytics'|'mediastorage'|'mms'|'mms-inbound'|'mms-inbound-longcode'|'mms-inbound-shortcode'|'mms-messages-carrierfees'|'mms-outbound'|'mms-outbound-longcode'|'mms-outbound-shortcode'|'monitor-reads'|'monitor-storage'|'monitor-writes'|'notify'|'notify-actions-attempts'|'notify-channels'|'number-format-lookups'|'pchat'|'pchat-users'|'peer-to-peer-rooms-participant-minutes'|'pfax'|'pfax-minutes'|'pfax-minutes-inbound'|'pfax-minutes-outbound'|'pfax-pages'|'phonenumbers'|'phonenumbers-cps'|'phonenumbers-emergency'|'phonenumbers-local'|'phonenumbers-mobile'|'phonenumbers-setups'|'phonenumbers-tollfree'|'premiumsupport'|'proxy'|'proxy-active-sessions'|'pstnconnectivity'|'pv'|'pv-composition-media-downloaded'|'pv-composition-media-encrypted'|'pv-composition-media-stored'|'pv-composition-minutes'|'pv-recording-compositions'|'pv-room-participants'|'pv-room-participants-au1'|'pv-room-participants-br1'|'pv-room-participants-ie1'|'pv-room-participants-jp1'|'pv-room-participants-sg1'|'pv-room-participants-us1'|'pv-room-participants-us2'|'pv-rooms'|'pv-sip-endpoint-registrations'|'recordings'|'recordingstorage'|'rooms-group-bandwidth'|'rooms-group-minutes'|'rooms-peer-to-peer-minutes'|'shortcodes'|'shortcodes-customerowned'|'shortcodes-mms-enablement'|'shortcodes-mps'|'shortcodes-random'|'shortcodes-uk'|'shortcodes-vanity'|'small-group-rooms'|'small-group-rooms-data-track'|'small-group-rooms-participant-minutes'|'sms'|'sms-inbound'|'sms-inbound-longcode'|'sms-inbound-shortcode'|'sms-messages-carrierfees'|'sms-messages-features'|'sms-messages-features-senderid'|'sms-outbound'|'sms-outbound-content-inspection'|'sms-outbound-longcode'|'sms-outbound-shortcode'|'speech-recognition'|'studio-engagements'|'sync'|'sync-actions'|'sync-endpoint-hours'|'sync-endpoint-hours-above-daily-cap'|'taskrouter-tasks'|'totalprice'|'transcriptions'|'trunking-cps'|'trunking-emergency-calls'|'trunking-origination'|'trunking-origination-local'|'trunking-origination-mobile'|'trunking-origination-tollfree'|'trunking-recordings'|'trunking-secure'|'trunking-termination'|'turnmegabytes'|'turnmegabytes-australia'|'turnmegabytes-brasil'|'turnmegabytes-germany'|'turnmegabytes-india'|'turnmegabytes-ireland'|'turnmegabytes-japan'|'turnmegabytes-singapore'|'turnmegabytes-useast'|'turnmegabytes-uswest'|'twilio-interconnect'|'verify-push'|'verify-totp'|'verify-whatsapp-conversations-business-initiated'|'video-recordings'|'voice-insights'|'voice-insights-client-insights-on-demand-minute'|'voice-insights-ptsn-insights-on-demand-minute'|'voice-insights-sip-interface-insights-on-demand-minute'|'voice-insights-sip-trunking-insights-on-demand-minute'|'wireless'|'wireless-orders'|'wireless-orders-artwork'|'wireless-orders-bulk'|'wireless-orders-esim'|'wireless-orders-starter'|'wireless-usage'|'wireless-usage-commands'|'wireless-usage-commands-africa'|'wireless-usage-commands-asia'|'wireless-usage-commands-centralandsouthamerica'|'wireless-usage-commands-europe'|'wireless-usage-commands-home'|'wireless-usage-commands-northamerica'|'wireless-usage-commands-oceania'|'wireless-usage-commands-roaming'|'wireless-usage-data'|'wireless-usage-data-africa'|'wireless-usage-data-asia'|'wireless-usage-data-centralandsouthamerica'|'wireless-usage-data-custom-additionalmb'|'wireless-usage-data-custom-first5mb'|'wireless-usage-data-domestic-roaming'|'wireless-usage-data-europe'|'wireless-usage-data-individual-additionalgb'|'wireless-usage-data-individual-firstgb'|'wireless-usage-data-international-roaming-canada'|'wireless-usage-data-international-roaming-india'|'wireless-usage-data-international-roaming-mexico'|'wireless-usage-data-northamerica'|'wireless-usage-data-oceania'|'wireless-usage-data-pooled'|'wireless-usage-data-pooled-downlink'|'wireless-usage-data-pooled-uplink'|'wireless-usage-mrc'|'wireless-usage-mrc-custom'|'wireless-usage-mrc-individual'|'wireless-usage-mrc-pooled'|'wireless-usage-mrc-suspended'|'wireless-usage-sms'|'wireless-usage-voice';
17
+ type TriggerUsageCategory = 'a2p-registration-fees'|'agent-conference'|'amazon-polly'|'answering-machine-detection'|'authy-authentications'|'authy-calls-outbound'|'authy-monthly-fees'|'authy-phone-intelligence'|'authy-phone-verifications'|'authy-sms-outbound'|'call-progess-events'|'calleridlookups'|'calls'|'calls-client'|'calls-globalconference'|'calls-inbound'|'calls-inbound-local'|'calls-inbound-mobile'|'calls-inbound-tollfree'|'calls-outbound'|'calls-pay-verb-transactions'|'calls-recordings'|'calls-sip'|'calls-sip-inbound'|'calls-sip-outbound'|'calls-transfers'|'carrier-lookups'|'conversations'|'conversations-api-requests'|'conversations-conversation-events'|'conversations-endpoint-connectivity'|'conversations-events'|'conversations-participant-events'|'conversations-participants'|'cps'|'flex-usage'|'fraud-lookups'|'group-rooms'|'group-rooms-data-track'|'group-rooms-encrypted-media-recorded'|'group-rooms-media-downloaded'|'group-rooms-media-recorded'|'group-rooms-media-routed'|'group-rooms-media-stored'|'group-rooms-participant-minutes'|'group-rooms-recorded-minutes'|'imp-v1-usage'|'lookups'|'marketplace'|'marketplace-algorithmia-named-entity-recognition'|'marketplace-cadence-transcription'|'marketplace-cadence-translation'|'marketplace-capio-speech-to-text'|'marketplace-convriza-ababa'|'marketplace-deepgram-phrase-detector'|'marketplace-digital-segment-business-info'|'marketplace-facebook-offline-conversions'|'marketplace-google-speech-to-text'|'marketplace-ibm-watson-message-insights'|'marketplace-ibm-watson-message-sentiment'|'marketplace-ibm-watson-recording-analysis'|'marketplace-ibm-watson-tone-analyzer'|'marketplace-icehook-systems-scout'|'marketplace-infogroup-dataaxle-bizinfo'|'marketplace-keen-io-contact-center-analytics'|'marketplace-marchex-cleancall'|'marketplace-marchex-sentiment-analysis-for-sms'|'marketplace-marketplace-nextcaller-social-id'|'marketplace-mobile-commons-opt-out-classifier'|'marketplace-nexiwave-voicemail-to-text'|'marketplace-nextcaller-advanced-caller-identification'|'marketplace-nomorobo-spam-score'|'marketplace-payfone-tcpa-compliance'|'marketplace-remeeting-automatic-speech-recognition'|'marketplace-tcpa-defense-solutions-blacklist-feed'|'marketplace-telo-opencnam'|'marketplace-truecnam-true-spam'|'marketplace-twilio-caller-name-lookup-us'|'marketplace-twilio-carrier-information-lookup'|'marketplace-voicebase-pci'|'marketplace-voicebase-transcription'|'marketplace-voicebase-transcription-custom-vocabulary'|'marketplace-whitepages-pro-caller-identification'|'marketplace-whitepages-pro-phone-intelligence'|'marketplace-whitepages-pro-phone-reputation'|'marketplace-wolfarm-spoken-results'|'marketplace-wolfram-short-answer'|'marketplace-ytica-contact-center-reporting-analytics'|'mediastorage'|'mms'|'mms-inbound'|'mms-inbound-longcode'|'mms-inbound-shortcode'|'mms-messages-carrierfees'|'mms-outbound'|'mms-outbound-longcode'|'mms-outbound-shortcode'|'monitor-reads'|'monitor-storage'|'monitor-writes'|'notify'|'notify-actions-attempts'|'notify-channels'|'number-format-lookups'|'pchat'|'pchat-users'|'peer-to-peer-rooms-participant-minutes'|'pfax'|'pfax-minutes'|'pfax-minutes-inbound'|'pfax-minutes-outbound'|'pfax-pages'|'phonenumbers'|'phonenumbers-cps'|'phonenumbers-emergency'|'phonenumbers-local'|'phonenumbers-mobile'|'phonenumbers-setups'|'phonenumbers-tollfree'|'premiumsupport'|'proxy'|'proxy-active-sessions'|'pstnconnectivity'|'pv'|'pv-composition-media-downloaded'|'pv-composition-media-encrypted'|'pv-composition-media-stored'|'pv-composition-minutes'|'pv-recording-compositions'|'pv-room-participants'|'pv-room-participants-au1'|'pv-room-participants-br1'|'pv-room-participants-ie1'|'pv-room-participants-jp1'|'pv-room-participants-sg1'|'pv-room-participants-us1'|'pv-room-participants-us2'|'pv-rooms'|'pv-sip-endpoint-registrations'|'recordings'|'recordingstorage'|'rooms-group-bandwidth'|'rooms-group-minutes'|'rooms-peer-to-peer-minutes'|'shortcodes'|'shortcodes-customerowned'|'shortcodes-mms-enablement'|'shortcodes-mps'|'shortcodes-random'|'shortcodes-uk'|'shortcodes-vanity'|'small-group-rooms'|'small-group-rooms-data-track'|'small-group-rooms-participant-minutes'|'sms'|'sms-inbound'|'sms-inbound-longcode'|'sms-inbound-shortcode'|'sms-messages-carrierfees'|'sms-messages-features'|'sms-messages-features-senderid'|'sms-outbound'|'sms-outbound-content-inspection'|'sms-outbound-longcode'|'sms-outbound-shortcode'|'speech-recognition'|'studio-engagements'|'sync'|'sync-actions'|'sync-endpoint-hours'|'sync-endpoint-hours-above-daily-cap'|'taskrouter-tasks'|'totalprice'|'transcriptions'|'trunking-cps'|'trunking-emergency-calls'|'trunking-origination'|'trunking-origination-local'|'trunking-origination-mobile'|'trunking-origination-tollfree'|'trunking-recordings'|'trunking-secure'|'trunking-termination'|'turnmegabytes'|'turnmegabytes-australia'|'turnmegabytes-brasil'|'turnmegabytes-germany'|'turnmegabytes-india'|'turnmegabytes-ireland'|'turnmegabytes-japan'|'turnmegabytes-singapore'|'turnmegabytes-useast'|'turnmegabytes-uswest'|'twilio-interconnect'|'verify-push'|'verify-totp'|'verify-whatsapp-conversations-business-initiated'|'video-recordings'|'voice-insights'|'voice-insights-client-insights-on-demand-minute'|'voice-insights-ptsn-insights-on-demand-minute'|'voice-insights-sip-interface-insights-on-demand-minute'|'voice-insights-sip-trunking-insights-on-demand-minute'|'wireless'|'wireless-orders'|'wireless-orders-artwork'|'wireless-orders-bulk'|'wireless-orders-esim'|'wireless-orders-starter'|'wireless-usage'|'wireless-usage-commands'|'wireless-usage-commands-africa'|'wireless-usage-commands-asia'|'wireless-usage-commands-centralandsouthamerica'|'wireless-usage-commands-europe'|'wireless-usage-commands-home'|'wireless-usage-commands-northamerica'|'wireless-usage-commands-oceania'|'wireless-usage-commands-roaming'|'wireless-usage-data'|'wireless-usage-data-africa'|'wireless-usage-data-asia'|'wireless-usage-data-centralandsouthamerica'|'wireless-usage-data-custom-additionalmb'|'wireless-usage-data-custom-first5mb'|'wireless-usage-data-domestic-roaming'|'wireless-usage-data-europe'|'wireless-usage-data-individual-additionalgb'|'wireless-usage-data-individual-firstgb'|'wireless-usage-data-international-roaming-canada'|'wireless-usage-data-international-roaming-india'|'wireless-usage-data-international-roaming-mexico'|'wireless-usage-data-northamerica'|'wireless-usage-data-oceania'|'wireless-usage-data-pooled'|'wireless-usage-data-pooled-downlink'|'wireless-usage-data-pooled-uplink'|'wireless-usage-mrc'|'wireless-usage-mrc-custom'|'wireless-usage-mrc-individual'|'wireless-usage-mrc-pooled'|'wireless-usage-mrc-suspended'|'wireless-usage-sms'|'wireless-usage-voice';
18
18
 
19
19
  /**
20
20
  * Initialize the TriggerList
@@ -505,7 +505,8 @@ ParticipantPage.prototype[util.inspect.custom] = function inspect(depth,
505
505
  * @param {ParticipantPayload} payload - The instance payload
506
506
  * @param {sid} conversationSid -
507
507
  * The unique ID of the Conversation for this participant.
508
- * @param {sid} sid - A 34 character string that uniquely identifies this resource.
508
+ * @param {sid_like} sid -
509
+ * A 34 character string that uniquely identifies this resource.
509
510
  */
510
511
  /* jshint ignore:end */
511
512
  ParticipantInstance = function ParticipantInstance(version, payload,
@@ -651,7 +652,8 @@ ParticipantInstance.prototype[util.inspect.custom] = function inspect(depth,
651
652
  * @param {V1} version - Version of the resource
652
653
  * @param {sid_like} conversationSid -
653
654
  * The unique ID of the Conversation for this participant.
654
- * @param {sid} sid - A 34 character string that uniquely identifies this resource.
655
+ * @param {sid_like} sid -
656
+ * A 34 character string that uniquely identifies this resource.
655
657
  */
656
658
  /* jshint ignore:end */
657
659
  ParticipantContext = function ParticipantContext(version, conversationSid, sid)
@@ -527,7 +527,8 @@ ParticipantPage.prototype[util.inspect.custom] = function inspect(depth,
527
527
  * The SID of the Conversation Service that the resource is associated with.
528
528
  * @param {sid} conversationSid -
529
529
  * The unique ID of the Conversation for this participant.
530
- * @param {sid} sid - A 34 character string that uniquely identifies this resource.
530
+ * @param {sid_like} sid -
531
+ * A 34 character string that uniquely identifies this resource.
531
532
  */
532
533
  /* jshint ignore:end */
533
534
  ParticipantInstance = function ParticipantInstance(version, payload,
@@ -682,7 +683,8 @@ ParticipantInstance.prototype[util.inspect.custom] = function inspect(depth,
682
683
  * The SID of the Conversation Service that the resource is associated with.
683
684
  * @param {sid_like} conversationSid -
684
685
  * The unique ID of the Conversation for this participant.
685
- * @param {sid} sid - A 34 character string that uniquely identifies this resource.
686
+ * @param {sid_like} sid -
687
+ * A 34 character string that uniquely identifies this resource.
686
688
  */
687
689
  /* jshint ignore:end */
688
690
  ParticipantContext = function ParticipantContext(version, chatServiceSid,
@@ -14,15 +14,17 @@ import { InteractionChannelParticipantList } from './interactionChannel/interact
14
14
  import { InteractionChannelParticipantListInstance } from './interactionChannel/interactionChannelParticipant';
15
15
  import { SerializableClass } from '../../../../interfaces';
16
16
 
17
+ type InteractionChannelChannelStatus = 'setup'|'active'|'failed'|'closed';
18
+
17
19
  type InteractionChannelStatus = 'close'|'closed'|'wrapup';
18
20
 
19
- type InteractionChannelType = 'voice'|'sms'|'email'|'web'|'whatsapp'|'chat';
21
+ type InteractionChannelType = 'voice'|'sms'|'email'|'web'|'whatsapp'|'chat'|'messenger'|'gbm';
20
22
 
21
23
  /**
22
24
  * Initialize the InteractionChannelList
23
25
  *
24
26
  * @param version - Version of the resource
25
- * @param interactionSid - The unique string that identifies the resource
27
+ * @param interactionSid - The unique string that identifies the resource.
26
28
  */
27
29
  declare function InteractionChannelList(version: V1, interactionSid: string): InteractionChannelListInstance;
28
30
 
@@ -213,9 +215,12 @@ interface InteractionChannelPayload extends InteractionChannelResource, Page.Twi
213
215
  }
214
216
 
215
217
  interface InteractionChannelResource {
218
+ error_code: number;
219
+ error_message: string;
216
220
  interaction_sid: string;
217
221
  links: string;
218
222
  sid: string;
223
+ status: InteractionChannelChannelStatus;
219
224
  type: InteractionChannelType;
220
225
  url: string;
221
226
  }
@@ -263,12 +268,14 @@ declare class InteractionChannelInstance extends SerializableClass {
263
268
  *
264
269
  * @param version - Version of the resource
265
270
  * @param payload - The instance payload
266
- * @param interactionSid - The unique string that identifies the resource
271
+ * @param interactionSid - The unique string that identifies the resource.
267
272
  * @param sid - The unique string that identifies the resource
268
273
  */
269
274
  constructor(version: V1, payload: InteractionChannelPayload, interactionSid: string, sid: string);
270
275
 
271
276
  private _proxy: InteractionChannelContext;
277
+ errorCode: number;
278
+ errorMessage: string;
272
279
  /**
273
280
  * fetch a InteractionChannelInstance
274
281
  *
@@ -286,6 +293,7 @@ declare class InteractionChannelInstance extends SerializableClass {
286
293
  */
287
294
  participants(): InteractionChannelParticipantListInstance;
288
295
  sid: string;
296
+ status: InteractionChannelChannelStatus;
289
297
  /**
290
298
  * Provide a user-friendly representation
291
299
  */
@@ -324,4 +332,4 @@ declare class InteractionChannelPage extends Page<V1, InteractionChannelPayload,
324
332
  toJSON(): any;
325
333
  }
326
334
 
327
- export { InteractionChannelContext, InteractionChannelInstance, InteractionChannelInstanceUpdateOptions, InteractionChannelList, InteractionChannelListInstance, InteractionChannelListInstanceEachOptions, InteractionChannelListInstanceOptions, InteractionChannelListInstancePageOptions, InteractionChannelPage, InteractionChannelPayload, InteractionChannelResource, InteractionChannelSolution, InteractionChannelStatus, InteractionChannelType }
335
+ export { InteractionChannelChannelStatus, InteractionChannelContext, InteractionChannelInstance, InteractionChannelInstanceUpdateOptions, InteractionChannelList, InteractionChannelListInstance, InteractionChannelListInstanceEachOptions, InteractionChannelListInstanceOptions, InteractionChannelListInstancePageOptions, InteractionChannelPage, InteractionChannelPayload, InteractionChannelResource, InteractionChannelSolution, InteractionChannelStatus, InteractionChannelType }
@@ -17,6 +17,8 @@ var InteractionChannelInviteList = require(
17
17
  var InteractionChannelParticipantList = require(
18
18
  './interactionChannel/interactionChannelParticipant').InteractionChannelParticipantList;
19
19
  var Page = require('../../../../base/Page'); /* jshint ignore:line */
20
+ var deserialize = require(
21
+ '../../../../base/deserialize'); /* jshint ignore:line */
20
22
  var serialize = require('../../../../base/serialize'); /* jshint ignore:line */
21
23
  var values = require('../../../../base/values'); /* jshint ignore:line */
22
24
 
@@ -32,7 +34,7 @@ var InteractionChannelContext;
32
34
  * @constructor Twilio.FlexApi.V1.InteractionContext.InteractionChannelList
33
35
  *
34
36
  * @param {Twilio.FlexApi.V1} version - Version of the resource
35
- * @param {string} interactionSid - The unique string that identifies the resource
37
+ * @param {string} interactionSid - The unique string that identifies the resource.
36
38
  */
37
39
  /* jshint ignore:end */
38
40
  InteractionChannelList = function InteractionChannelList(version,
@@ -413,14 +415,18 @@ InteractionChannelPage.prototype[util.inspect.custom] = function inspect(depth,
413
415
  *
414
416
  * @property {string} sid - The unique string that identifies the resource
415
417
  * @property {string} interactionSid -
416
- * The unique string that identifies the resource
418
+ * The unique string that identifies the resource.
417
419
  * @property {interaction_channel.type} type - The Interaction Channel's type.
420
+ * @property {interaction_channel.channel_status} status -
421
+ * The status of this channel.
422
+ * @property {number} errorCode - The Twilio error code for a failed channel.
423
+ * @property {string} errorMessage - The error message for a failed channel.
418
424
  * @property {string} url - The url
419
425
  * @property {string} links - The links
420
426
  *
421
427
  * @param {V1} version - Version of the resource
422
428
  * @param {InteractionChannelPayload} payload - The instance payload
423
- * @param {sid} interactionSid - The unique string that identifies the resource
429
+ * @param {sid} interactionSid - The unique string that identifies the resource.
424
430
  * @param {sid} sid - The unique string that identifies the resource
425
431
  */
426
432
  /* jshint ignore:end */
@@ -432,6 +438,9 @@ InteractionChannelInstance = function InteractionChannelInstance(version,
432
438
  this.sid = payload.sid; // jshint ignore:line
433
439
  this.interactionSid = payload.interaction_sid; // jshint ignore:line
434
440
  this.type = payload.type; // jshint ignore:line
441
+ this.status = payload.status; // jshint ignore:line
442
+ this.errorCode = deserialize.integer(payload.error_code); // jshint ignore:line
443
+ this.errorMessage = payload.error_message; // jshint ignore:line
435
444
  this.url = payload.url; // jshint ignore:line
436
445
  this.links = payload.links; // jshint ignore:line
437
446
 
@@ -7,8 +7,6 @@
7
7
 
8
8
  import Insights = require('../Insights');
9
9
  import Version = require('../../base/Version');
10
- import { AnnotationList } from './v1/annotation';
11
- import { AnnotationListInstance } from './v1/annotation';
12
10
  import { CallList } from './v1/call';
13
11
  import { CallListInstance } from './v1/call';
14
12
  import { CallSummariesList } from './v1/callSummaries';
@@ -29,7 +27,6 @@ declare class V1 extends Version {
29
27
  */
30
28
  constructor(domain: Insights);
31
29
 
32
- readonly annotation: AnnotationListInstance;
33
30
  readonly callSummaries: CallSummariesListInstance;
34
31
  readonly calls: CallListInstance;
35
32
  readonly conferences: ConferenceListInstance;
@@ -10,7 +10,6 @@
10
10
  /* jshint ignore:end */
11
11
 
12
12
  var _ = require('lodash'); /* jshint ignore:line */
13
- var AnnotationList = require('./v1/annotation').AnnotationList;
14
13
  var CallList = require('./v1/call').CallList;
15
14
  var CallSummariesList = require('./v1/callSummaries').CallSummariesList;
16
15
  var ConferenceList = require('./v1/conference').ConferenceList;
@@ -26,7 +25,6 @@ var Version = require('../../base/Version'); /* jshint ignore:line */
26
25
  * @constructor Twilio.Insights.V1
27
26
  *
28
27
  * @property {Twilio.Insights.V1.SettingList} settings - settings resource
29
- * @property {Twilio.Insights.V1.AnnotationList} annotation - annotation resource
30
28
  * @property {Twilio.Insights.V1.CallList} calls - calls resource
31
29
  * @property {Twilio.Insights.V1.CallSummariesList} callSummaries -
32
30
  * callSummaries resource
@@ -41,7 +39,6 @@ function V1(domain) {
41
39
 
42
40
  // Resources
43
41
  this._settings = undefined;
44
- this._annotation = undefined;
45
42
  this._calls = undefined;
46
43
  this._callSummaries = undefined;
47
44
  this._conferences = undefined;
@@ -59,14 +56,6 @@ Object.defineProperty(V1.prototype,
59
56
  }
60
57
  });
61
58
 
62
- Object.defineProperty(V1.prototype,
63
- 'annotation', {
64
- get: function() {
65
- this._annotation = this._annotation || new AnnotationList(this);
66
- return this._annotation;
67
- }
68
- });
69
-
70
59
  Object.defineProperty(V1.prototype,
71
60
  'calls', {
72
61
  get: function() {
@@ -5,10 +5,10 @@
5
5
  * / /
6
6
  */
7
7
 
8
- import Page = require('../../../base/Page');
9
- import Response = require('../../../http/response');
10
- import V1 = require('../V1');
11
- import { SerializableClass } from '../../../interfaces';
8
+ import Page = require('../../../../base/Page');
9
+ import Response = require('../../../../http/response');
10
+ import V1 = require('../../V1');
11
+ import { SerializableClass } from '../../../../interfaces';
12
12
 
13
13
  type AnnotationAnsweredBy = 'unknown_answered_by'|'human'|'machine';
14
14
 
@@ -19,20 +19,24 @@ type AnnotationQualityIssues = 'unknown_quality_issue'|'no_quality_issue'|'low_v
19
19
  /**
20
20
  * Initialize the AnnotationList
21
21
  *
22
+ * PLEASE NOTE that this class contains beta products that are subject to change.
23
+ * Use them with caution.
24
+ *
22
25
  * @param version - Version of the resource
26
+ * @param callSid - Call SID.
23
27
  */
24
- declare function AnnotationList(version: V1): AnnotationListInstance;
28
+ declare function AnnotationList(version: V1, callSid: string): AnnotationListInstance;
25
29
 
26
30
  /**
27
31
  * Options to pass to update
28
32
  *
29
- * @property answeredBy - The answered_by
30
- * @property callScore - The call_score
31
- * @property comment - The comment
32
- * @property connectivityIssue - The connectivity_issue
33
- * @property incident - The incident
34
- * @property qualityIssues - The quality_issues
35
- * @property spam - The spam
33
+ * @property answeredBy - Indicates the answering entity as determined by Answering Machine Detection.
34
+ * @property callScore - Call Score
35
+ * @property comment - User comments
36
+ * @property connectivityIssue - Indicates if the call had any connectivity issue
37
+ * @property incident - Call tag for incidents or support ticket
38
+ * @property qualityIssues - Indicates if the call had audio quality issues.
39
+ * @property spam - Call spam indicator
36
40
  */
37
41
  interface AnnotationInstanceUpdateOptions {
38
42
  answeredBy?: AnnotationAnsweredBy;
@@ -51,10 +55,8 @@ interface AnnotationListInstance {
51
55
  (sid: string): AnnotationContext;
52
56
  /**
53
57
  * Constructs a annotation
54
- *
55
- * @param callSid - The call_sid
56
58
  */
57
- get(callSid: string): AnnotationContext;
59
+ get(): AnnotationContext;
58
60
  /**
59
61
  * Provide a user-friendly representation
60
62
  */
@@ -78,6 +80,7 @@ interface AnnotationResource {
78
80
  }
79
81
 
80
82
  interface AnnotationSolution {
83
+ callSid?: string;
81
84
  }
82
85
 
83
86
 
@@ -85,8 +88,11 @@ declare class AnnotationContext {
85
88
  /**
86
89
  * Initialize the AnnotationContext
87
90
  *
91
+ * PLEASE NOTE that this class contains beta products that are subject to change.
92
+ * Use them with caution.
93
+ *
88
94
  * @param version - Version of the resource
89
- * @param callSid - The call_sid
95
+ * @param callSid - Call SID.
90
96
  */
91
97
  constructor(version: V1, callSid: string);
92
98
 
@@ -120,9 +126,12 @@ declare class AnnotationInstance extends SerializableClass {
120
126
  /**
121
127
  * Initialize the AnnotationContext
122
128
  *
129
+ * PLEASE NOTE that this class contains beta products that are subject to change.
130
+ * Use them with caution.
131
+ *
123
132
  * @param version - Version of the resource
124
133
  * @param payload - The instance payload
125
- * @param callSid - The call_sid
134
+ * @param callSid - Call SID.
126
135
  */
127
136
  constructor(version: V1, payload: AnnotationPayload, callSid: string);
128
137
 
@@ -167,6 +176,9 @@ declare class AnnotationPage extends Page<V1, AnnotationPayload, AnnotationResou
167
176
  /**
168
177
  * Initialize the AnnotationPage
169
178
  *
179
+ * PLEASE NOTE that this class contains beta products that are subject to change.
180
+ * Use them with caution.
181
+ *
170
182
  * @param version - Version of the resource
171
183
  * @param response - Response from the API
172
184
  * @param solution - Path solution