twilio-ruby 6.2.0 → 6.8.3
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.
- checksums.yaml +4 -4
- data/CHANGES.md +205 -0
- data/CONTRIBUTING.md +1 -1
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/lib/twilio-ruby/base/client_base.rb +4 -7
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +0 -1
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +0 -1
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +169 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +0 -2
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -8
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -19
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -6
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -11
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +55 -58
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +0 -3
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -9
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +0 -3
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account.rb +0 -3
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +0 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +0 -5
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +0 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -3
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +0 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +0 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +4 -5
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -6
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -3
- data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
- data/lib/twilio-ruby/rest/client.rb +1 -6
- data/lib/twilio-ruby/rest/content/v1/content.rb +1 -2
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -2
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -2
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -8
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +0 -3
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +12 -12
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +19 -20
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -11
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +0 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +0 -2
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/sink.rb +0 -3
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +21 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +0 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +1 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -4
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -7
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +11 -1
- data/lib/twilio-ruby/rest/{oauth/v1/oauth.rb → flex_api/v1/provisioning_status.rb} +39 -37
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1.rb +6 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +1 -1
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +0 -2
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +0 -3
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +33 -51
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +0 -4
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +0 -11
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +3 -4
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +4 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +12 -7
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +3 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +5 -25
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +4 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +7 -10
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +1 -6
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +2 -5
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +329 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +4 -5
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +78 -52
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +777 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +8 -3
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +0 -4
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +0 -7
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -5
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +1 -1
- data/lib/twilio-ruby/rest/notify/v1/service.rb +4 -6
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +22 -4
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +7 -12
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -6
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +249 -0
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +7 -20
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +19 -31
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +0 -4
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +14 -14
- data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +0 -1
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +0 -1
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -9
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -7
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -9
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -3
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -3
- data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +0 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +0 -4
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +0 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -3
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +0 -1
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -5
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -1
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -6
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -3
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +0 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -2
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -2
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -4
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -4
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -8
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -8
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +0 -3
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +0 -9
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -2
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -2
- data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +0 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +0 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +0 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +26 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +0 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +0 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +232 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +154 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +0 -3
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +0 -4
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +0 -3
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +0 -4
- data/lib/twilio-ruby/rest/trusthub/v1.rb +21 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -5
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -4
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -5
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -2
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -1
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service.rb +19 -4
- data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +7 -16
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/composition.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/recording.rb +1 -7
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +0 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +0 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -8
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/room.rb +2 -7
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +4 -11
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +5 -10
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -8
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -4
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -7
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +13 -19
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +2 -6
- data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +9 -11
- data/conf/cacert.pem +0 -3376
- data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +0 -171
- data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +0 -262
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -179
- data/lib/twilio-ruby/rest/oauth/v1/user_info.rb +0 -213
- data/lib/twilio-ruby/rest/oauth/v1.rb +0 -64
- data/lib/twilio-ruby/rest/oauth.rb +0 -33
- data/lib/twilio-ruby/rest/oauth_base.rb +0 -38
|
@@ -103,11 +103,8 @@ module Twilio
|
|
|
103
103
|
# @return [Page] Page of MetricInstance
|
|
104
104
|
def page(edge: :unset, direction: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
105
105
|
params = Twilio::Values.of({
|
|
106
|
-
|
|
107
106
|
'Edge' => edge,
|
|
108
|
-
|
|
109
107
|
'Direction' => direction,
|
|
110
|
-
|
|
111
108
|
'PageToken' => page_token,
|
|
112
109
|
'Page' => page_number,
|
|
113
110
|
'PageSize' => page_size,
|
|
@@ -53,10 +53,11 @@ module Twilio
|
|
|
53
53
|
# @param [String] subaccount A unique SID identifier of a Subaccount.
|
|
54
54
|
# @param [Boolean] abnormal_session A boolean flag indicating an abnormal session where the last SIP response was not 200 OK.
|
|
55
55
|
# @param [AnsweredBy] answered_by An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`.
|
|
56
|
-
# @param [String]
|
|
57
|
-
# @param [String]
|
|
58
|
-
# @param [
|
|
59
|
-
# @param [
|
|
56
|
+
# @param [String] answered_by_annotation Either machine or human.
|
|
57
|
+
# @param [String] connectivity_issue_annotation A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
|
|
58
|
+
# @param [String] quality_issue_annotation A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
|
|
59
|
+
# @param [Boolean] spam_annotation A boolean flag indicating spam calls.
|
|
60
|
+
# @param [String] call_score_annotation A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
|
|
60
61
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
61
62
|
# guarantees to never return more than limit. Default is no limit
|
|
62
63
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -64,7 +65,7 @@ module Twilio
|
|
|
64
65
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
65
66
|
# efficient page size, i.e. min(limit, 1000)
|
|
66
67
|
# @return [Array] Array of up to limit results
|
|
67
|
-
def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset,
|
|
68
|
+
def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, limit: nil, page_size: nil)
|
|
68
69
|
self.stream(
|
|
69
70
|
from: from,
|
|
70
71
|
to: to,
|
|
@@ -85,10 +86,11 @@ module Twilio
|
|
|
85
86
|
subaccount: subaccount,
|
|
86
87
|
abnormal_session: abnormal_session,
|
|
87
88
|
answered_by: answered_by,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
answered_by_annotation: answered_by_annotation,
|
|
90
|
+
connectivity_issue_annotation: connectivity_issue_annotation,
|
|
91
|
+
quality_issue_annotation: quality_issue_annotation,
|
|
92
|
+
spam_annotation: spam_annotation,
|
|
93
|
+
call_score_annotation: call_score_annotation,
|
|
92
94
|
limit: limit,
|
|
93
95
|
page_size: page_size
|
|
94
96
|
).entries
|
|
@@ -117,10 +119,11 @@ module Twilio
|
|
|
117
119
|
# @param [String] subaccount A unique SID identifier of a Subaccount.
|
|
118
120
|
# @param [Boolean] abnormal_session A boolean flag indicating an abnormal session where the last SIP response was not 200 OK.
|
|
119
121
|
# @param [AnsweredBy] answered_by An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`.
|
|
120
|
-
# @param [String]
|
|
121
|
-
# @param [String]
|
|
122
|
-
# @param [
|
|
123
|
-
# @param [
|
|
122
|
+
# @param [String] answered_by_annotation Either machine or human.
|
|
123
|
+
# @param [String] connectivity_issue_annotation A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
|
|
124
|
+
# @param [String] quality_issue_annotation A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
|
|
125
|
+
# @param [Boolean] spam_annotation A boolean flag indicating spam calls.
|
|
126
|
+
# @param [String] call_score_annotation A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
|
|
124
127
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
125
128
|
# guarantees to never return more than limit. Default is no limit
|
|
126
129
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -128,7 +131,7 @@ module Twilio
|
|
|
128
131
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
129
132
|
# efficient page size, i.e. min(limit, 1000)
|
|
130
133
|
# @return [Enumerable] Enumerable that will yield up to limit results
|
|
131
|
-
def stream(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset,
|
|
134
|
+
def stream(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, limit: nil, page_size: nil)
|
|
132
135
|
limits = @version.read_limits(limit, page_size)
|
|
133
136
|
|
|
134
137
|
page = self.page(
|
|
@@ -151,10 +154,11 @@ module Twilio
|
|
|
151
154
|
subaccount: subaccount,
|
|
152
155
|
abnormal_session: abnormal_session,
|
|
153
156
|
answered_by: answered_by,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
answered_by_annotation: answered_by_annotation,
|
|
158
|
+
connectivity_issue_annotation: connectivity_issue_annotation,
|
|
159
|
+
quality_issue_annotation: quality_issue_annotation,
|
|
160
|
+
spam_annotation: spam_annotation,
|
|
161
|
+
call_score_annotation: call_score_annotation,
|
|
158
162
|
page_size: limits[:page_size], )
|
|
159
163
|
|
|
160
164
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
@@ -196,63 +200,41 @@ module Twilio
|
|
|
196
200
|
# @param [String] subaccount A unique SID identifier of a Subaccount.
|
|
197
201
|
# @param [Boolean] abnormal_session A boolean flag indicating an abnormal session where the last SIP response was not 200 OK.
|
|
198
202
|
# @param [AnsweredBy] answered_by An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`.
|
|
199
|
-
# @param [String]
|
|
200
|
-
# @param [String]
|
|
201
|
-
# @param [
|
|
202
|
-
# @param [
|
|
203
|
+
# @param [String] answered_by_annotation Either machine or human.
|
|
204
|
+
# @param [String] connectivity_issue_annotation A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`.
|
|
205
|
+
# @param [String] quality_issue_annotation A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`.
|
|
206
|
+
# @param [Boolean] spam_annotation A boolean flag indicating spam calls.
|
|
207
|
+
# @param [String] call_score_annotation A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
|
|
203
208
|
# @param [String] page_token PageToken provided by the API
|
|
204
209
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
205
210
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
206
211
|
# @return [Page] Page of CallSummariesInstance
|
|
207
|
-
def page(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset,
|
|
212
|
+
def page(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, branded: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
208
213
|
params = Twilio::Values.of({
|
|
209
|
-
|
|
210
214
|
'From' => from,
|
|
211
|
-
|
|
212
215
|
'To' => to,
|
|
213
|
-
|
|
214
216
|
'FromCarrier' => from_carrier,
|
|
215
|
-
|
|
216
217
|
'ToCarrier' => to_carrier,
|
|
217
|
-
|
|
218
218
|
'FromCountryCode' => from_country_code,
|
|
219
|
-
|
|
220
219
|
'ToCountryCode' => to_country_code,
|
|
221
|
-
|
|
222
220
|
'Branded' => branded,
|
|
223
|
-
|
|
224
221
|
'VerifiedCaller' => verified_caller,
|
|
225
|
-
|
|
226
222
|
'HasTag' => has_tag,
|
|
227
|
-
|
|
228
223
|
'StartTime' => start_time,
|
|
229
|
-
|
|
230
224
|
'EndTime' => end_time,
|
|
231
|
-
|
|
232
225
|
'CallType' => call_type,
|
|
233
|
-
|
|
234
226
|
'CallState' => call_state,
|
|
235
|
-
|
|
236
227
|
'Direction' => direction,
|
|
237
|
-
|
|
238
228
|
'ProcessingState' => processing_state,
|
|
239
|
-
|
|
240
229
|
'SortBy' => sort_by,
|
|
241
|
-
|
|
242
230
|
'Subaccount' => subaccount,
|
|
243
|
-
|
|
244
231
|
'AbnormalSession' => abnormal_session,
|
|
245
|
-
|
|
246
232
|
'AnsweredBy' => answered_by,
|
|
247
|
-
|
|
248
|
-
'
|
|
249
|
-
|
|
250
|
-
'
|
|
251
|
-
|
|
252
|
-
'Spam' => spam,
|
|
253
|
-
|
|
254
|
-
'CallScore' => call_score,
|
|
255
|
-
|
|
233
|
+
'AnsweredByAnnotation' => answered_by_annotation,
|
|
234
|
+
'ConnectivityIssueAnnotation' => connectivity_issue_annotation,
|
|
235
|
+
'QualityIssueAnnotation' => quality_issue_annotation,
|
|
236
|
+
'SpamAnnotation' => spam_annotation,
|
|
237
|
+
'CallScoreAnnotation' => call_score_annotation,
|
|
256
238
|
'PageToken' => page_token,
|
|
257
239
|
'Page' => page_number,
|
|
258
240
|
'PageSize' => page_size,
|
|
@@ -108,13 +108,9 @@ module Twilio
|
|
|
108
108
|
# @return [Page] Page of ConferenceParticipantInstance
|
|
109
109
|
def page(participant_sid: :unset, label: :unset, events: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
110
110
|
params = Twilio::Values.of({
|
|
111
|
-
|
|
112
111
|
'ParticipantSid' => participant_sid,
|
|
113
|
-
|
|
114
112
|
'Label' => label,
|
|
115
|
-
|
|
116
113
|
'Events' => events,
|
|
117
|
-
|
|
118
114
|
'PageToken' => page_token,
|
|
119
115
|
'Page' => page_number,
|
|
120
116
|
'PageSize' => page_size,
|
|
@@ -141,27 +141,16 @@ module Twilio
|
|
|
141
141
|
# @return [Page] Page of ConferenceInstance
|
|
142
142
|
def page(conference_sid: :unset, friendly_name: :unset, status: :unset, created_after: :unset, created_before: :unset, mixer_region: :unset, tags: :unset, subaccount: :unset, detected_issues: :unset, end_reason: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
143
143
|
params = Twilio::Values.of({
|
|
144
|
-
|
|
145
144
|
'ConferenceSid' => conference_sid,
|
|
146
|
-
|
|
147
145
|
'FriendlyName' => friendly_name,
|
|
148
|
-
|
|
149
146
|
'Status' => status,
|
|
150
|
-
|
|
151
147
|
'CreatedAfter' => created_after,
|
|
152
|
-
|
|
153
148
|
'CreatedBefore' => created_before,
|
|
154
|
-
|
|
155
149
|
'MixerRegion' => mixer_region,
|
|
156
|
-
|
|
157
150
|
'Tags' => tags,
|
|
158
|
-
|
|
159
151
|
'Subaccount' => subaccount,
|
|
160
|
-
|
|
161
152
|
'DetectedIssues' => detected_issues,
|
|
162
|
-
|
|
163
153
|
'EndReason' => end_reason,
|
|
164
|
-
|
|
165
154
|
'PageToken' => page_token,
|
|
166
155
|
'Page' => page_number,
|
|
167
156
|
'PageSize' => page_size,
|
|
@@ -93,7 +93,6 @@ module Twilio
|
|
|
93
93
|
# @return [Page] Page of ParticipantInstance
|
|
94
94
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
95
95
|
params = Twilio::Values.of({
|
|
96
|
-
|
|
97
96
|
'PageToken' => page_token,
|
|
98
97
|
'Page' => page_number,
|
|
99
98
|
'PageSize' => page_size,
|
|
@@ -307,7 +306,7 @@ module Twilio
|
|
|
307
306
|
end
|
|
308
307
|
|
|
309
308
|
##
|
|
310
|
-
# @return [String] Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/
|
|
309
|
+
# @return [String] Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#end_reason).
|
|
311
310
|
def end_reason
|
|
312
311
|
@properties['end_reason']
|
|
313
312
|
end
|
|
@@ -331,7 +330,7 @@ module Twilio
|
|
|
331
330
|
end
|
|
332
331
|
|
|
333
332
|
##
|
|
334
|
-
# @return [Hash] Object containing information about the participant's data from the room. See [below](https://www.twilio.com/docs/video/
|
|
333
|
+
# @return [Hash] Object containing information about the participant's data from the room. See [below](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#properties) for more information.
|
|
335
334
|
def properties
|
|
336
335
|
@properties['properties']
|
|
337
336
|
end
|
|
@@ -343,7 +342,7 @@ module Twilio
|
|
|
343
342
|
end
|
|
344
343
|
|
|
345
344
|
##
|
|
346
|
-
# @return [Hash] Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/
|
|
345
|
+
# @return [Hash] Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#publisher_info) for more information.
|
|
347
346
|
def publisher_info
|
|
348
347
|
@properties['publisher_info']
|
|
349
348
|
end
|
|
@@ -117,16 +117,12 @@ module Twilio
|
|
|
117
117
|
def page(room_type: :unset, codec: :unset, room_name: :unset, created_after: :unset, created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
118
118
|
params = Twilio::Values.of({
|
|
119
119
|
|
|
120
|
-
'RoomType' => Twilio.serialize_list(room_type),
|
|
121
|
-
|
|
122
|
-
'Codec' => Twilio.serialize_list(codec),
|
|
120
|
+
'RoomType' => Twilio.serialize_list(room_type) { |e| e },
|
|
123
121
|
|
|
122
|
+
'Codec' => Twilio.serialize_list(codec) { |e| e },
|
|
124
123
|
'RoomName' => room_name,
|
|
125
|
-
|
|
126
124
|
'CreatedAfter' => Twilio.serialize_iso8601_datetime(created_after),
|
|
127
|
-
|
|
128
125
|
'CreatedBefore' => Twilio.serialize_iso8601_datetime(created_before),
|
|
129
|
-
|
|
130
126
|
'PageToken' => page_token,
|
|
131
127
|
'Page' => page_number,
|
|
132
128
|
'PageSize' => page_size,
|
|
@@ -33,7 +33,7 @@ module Twilio
|
|
|
33
33
|
# Create the ServiceInstance
|
|
34
34
|
# @param [String] unique_name Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
|
|
35
35
|
# @param [Boolean] auto_transcribe Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
|
|
36
|
-
# @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine
|
|
36
|
+
# @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
|
|
37
37
|
# @param [String] friendly_name A human readable description of this resource, up to 64 characters.
|
|
38
38
|
# @param [String] language_code The default language code of the audio.
|
|
39
39
|
# @param [Boolean] auto_redaction Instructs the Speech Recognition service to automatically redact PII from all transcripts made on this service.
|
|
@@ -134,7 +134,6 @@ module Twilio
|
|
|
134
134
|
# @return [Page] Page of ServiceInstance
|
|
135
135
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
136
136
|
params = Twilio::Values.of({
|
|
137
|
-
|
|
138
137
|
'PageToken' => page_token,
|
|
139
138
|
'Page' => page_number,
|
|
140
139
|
'PageSize' => page_size,
|
|
@@ -208,7 +207,7 @@ module Twilio
|
|
|
208
207
|
##
|
|
209
208
|
# Update the ServiceInstance
|
|
210
209
|
# @param [Boolean] auto_transcribe Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
|
|
211
|
-
# @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine
|
|
210
|
+
# @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
|
|
212
211
|
# @param [String] friendly_name A human readable description of this resource, up to 64 characters.
|
|
213
212
|
# @param [String] language_code The default language code of the audio.
|
|
214
213
|
# @param [String] unique_name Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
|
|
@@ -369,7 +368,7 @@ module Twilio
|
|
|
369
368
|
end
|
|
370
369
|
|
|
371
370
|
##
|
|
372
|
-
# @return [Boolean] Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine
|
|
371
|
+
# @return [Boolean] Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
|
|
373
372
|
def data_logging
|
|
374
373
|
@properties['data_logging']
|
|
375
374
|
end
|
|
@@ -453,7 +452,7 @@ module Twilio
|
|
|
453
452
|
##
|
|
454
453
|
# Update the ServiceInstance
|
|
455
454
|
# @param [Boolean] auto_transcribe Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
|
|
456
|
-
# @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine
|
|
455
|
+
# @param [Boolean] data_logging Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
|
|
457
456
|
# @param [String] friendly_name A human readable description of this resource, up to 64 characters.
|
|
458
457
|
# @param [String] language_code The default language code of the audio.
|
|
459
458
|
# @param [String] unique_name Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
|
|
@@ -60,7 +60,7 @@ module Twilio
|
|
|
60
60
|
end
|
|
61
61
|
##
|
|
62
62
|
# Fetch the MediaInstance
|
|
63
|
-
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Media.
|
|
63
|
+
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Media. If redaction is enabled, the default is `true` to access redacted media.
|
|
64
64
|
# @return [MediaInstance] Fetched MediaInstance
|
|
65
65
|
def fetch(
|
|
66
66
|
redacted: :unset
|
|
@@ -191,7 +191,7 @@ module Twilio
|
|
|
191
191
|
|
|
192
192
|
##
|
|
193
193
|
# Fetch the MediaInstance
|
|
194
|
-
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Media.
|
|
194
|
+
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Media. If redaction is enabled, the default is `true` to access redacted media.
|
|
195
195
|
# @return [MediaInstance] Fetched MediaInstance
|
|
196
196
|
def fetch(
|
|
197
197
|
redacted: :unset
|
|
@@ -36,7 +36,7 @@ module Twilio
|
|
|
36
36
|
# Lists OperatorResultInstance records from the API as a list.
|
|
37
37
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
38
38
|
# memory before returning.
|
|
39
|
-
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator.
|
|
39
|
+
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
|
|
40
40
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
41
41
|
# guarantees to never return more than limit. Default is no limit
|
|
42
42
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -56,7 +56,7 @@ module Twilio
|
|
|
56
56
|
# Streams Instance records from the API as an Enumerable.
|
|
57
57
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
58
58
|
# is reached.
|
|
59
|
-
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator.
|
|
59
|
+
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
|
|
60
60
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
61
61
|
# guarantees to never return more than limit. Default is no limit
|
|
62
62
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -91,16 +91,14 @@ module Twilio
|
|
|
91
91
|
##
|
|
92
92
|
# Retrieve a single page of OperatorResultInstance records from the API.
|
|
93
93
|
# Request is executed immediately.
|
|
94
|
-
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator.
|
|
94
|
+
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
|
|
95
95
|
# @param [String] page_token PageToken provided by the API
|
|
96
96
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
97
97
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
98
98
|
# @return [Page] Page of OperatorResultInstance
|
|
99
99
|
def page(redacted: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
100
100
|
params = Twilio::Values.of({
|
|
101
|
-
|
|
102
101
|
'Redacted' => redacted,
|
|
103
|
-
|
|
104
102
|
'PageToken' => page_token,
|
|
105
103
|
'Page' => page_number,
|
|
106
104
|
'PageSize' => page_size,
|
|
@@ -153,7 +151,7 @@ module Twilio
|
|
|
153
151
|
end
|
|
154
152
|
##
|
|
155
153
|
# Fetch the OperatorResultInstance
|
|
156
|
-
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator.
|
|
154
|
+
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
|
|
157
155
|
# @return [OperatorResultInstance] Fetched OperatorResultInstance
|
|
158
156
|
def fetch(
|
|
159
157
|
redacted: :unset
|
|
@@ -242,6 +240,7 @@ module Twilio
|
|
|
242
240
|
'predicted_probability' => payload['predicted_probability'],
|
|
243
241
|
'label_probabilities' => payload['label_probabilities'],
|
|
244
242
|
'extract_results' => payload['extract_results'],
|
|
243
|
+
'text_generation_results' => payload['text_generation_results'],
|
|
245
244
|
'transcript_sid' => payload['transcript_sid'],
|
|
246
245
|
'url' => payload['url'],
|
|
247
246
|
}
|
|
@@ -334,6 +333,12 @@ module Twilio
|
|
|
334
333
|
@properties['extract_results']
|
|
335
334
|
end
|
|
336
335
|
|
|
336
|
+
##
|
|
337
|
+
# @return [Hash] Output of a text generation operator for example Conversation Sumamary.
|
|
338
|
+
def text_generation_results
|
|
339
|
+
@properties['text_generation_results']
|
|
340
|
+
end
|
|
341
|
+
|
|
337
342
|
##
|
|
338
343
|
# @return [String] A 34 character string that uniquely identifies this Transcript.
|
|
339
344
|
def transcript_sid
|
|
@@ -348,7 +353,7 @@ module Twilio
|
|
|
348
353
|
|
|
349
354
|
##
|
|
350
355
|
# Fetch the OperatorResultInstance
|
|
351
|
-
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator.
|
|
356
|
+
# @param [Boolean] redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
|
|
352
357
|
# @return [OperatorResultInstance] Fetched OperatorResultInstance
|
|
353
358
|
def fetch(
|
|
354
359
|
redacted: :unset
|
|
@@ -36,7 +36,7 @@ module Twilio
|
|
|
36
36
|
# Lists SentenceInstance records from the API as a list.
|
|
37
37
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
38
38
|
# memory before returning.
|
|
39
|
-
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences.
|
|
39
|
+
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. If redaction is enabled, the default is `true` to access redacted sentences.
|
|
40
40
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
41
41
|
# guarantees to never return more than limit. Default is no limit
|
|
42
42
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -56,7 +56,7 @@ module Twilio
|
|
|
56
56
|
# Streams Instance records from the API as an Enumerable.
|
|
57
57
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
58
58
|
# is reached.
|
|
59
|
-
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences.
|
|
59
|
+
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. If redaction is enabled, the default is `true` to access redacted sentences.
|
|
60
60
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
61
61
|
# guarantees to never return more than limit. Default is no limit
|
|
62
62
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -91,16 +91,14 @@ module Twilio
|
|
|
91
91
|
##
|
|
92
92
|
# Retrieve a single page of SentenceInstance records from the API.
|
|
93
93
|
# Request is executed immediately.
|
|
94
|
-
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences.
|
|
94
|
+
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Sentences. If redaction is enabled, the default is `true` to access redacted sentences.
|
|
95
95
|
# @param [String] page_token PageToken provided by the API
|
|
96
96
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
97
97
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
98
98
|
# @return [Page] Page of SentenceInstance
|
|
99
99
|
def page(redacted: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
100
100
|
params = Twilio::Values.of({
|
|
101
|
-
|
|
102
101
|
'Redacted' => redacted,
|
|
103
|
-
|
|
104
102
|
'PageToken' => page_token,
|
|
105
103
|
'Page' => page_number,
|
|
106
104
|
'PageSize' => page_size,
|
|
@@ -159,23 +159,14 @@ module Twilio
|
|
|
159
159
|
# @return [Page] Page of TranscriptInstance
|
|
160
160
|
def page(service_sid: :unset, before_start_time: :unset, after_start_time: :unset, before_date_created: :unset, after_date_created: :unset, status: :unset, language_code: :unset, source_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
161
161
|
params = Twilio::Values.of({
|
|
162
|
-
|
|
163
162
|
'ServiceSid' => service_sid,
|
|
164
|
-
|
|
165
163
|
'BeforeStartTime' => before_start_time,
|
|
166
|
-
|
|
167
164
|
'AfterStartTime' => after_start_time,
|
|
168
|
-
|
|
169
165
|
'BeforeDateCreated' => before_date_created,
|
|
170
|
-
|
|
171
166
|
'AfterDateCreated' => after_date_created,
|
|
172
|
-
|
|
173
167
|
'Status' => status,
|
|
174
|
-
|
|
175
168
|
'LanguageCode' => language_code,
|
|
176
|
-
|
|
177
169
|
'SourceSid' => source_sid,
|
|
178
|
-
|
|
179
170
|
'PageToken' => page_token,
|
|
180
171
|
'Page' => page_number,
|
|
181
172
|
'PageSize' => page_size,
|
|
@@ -238,16 +229,10 @@ module Twilio
|
|
|
238
229
|
|
|
239
230
|
##
|
|
240
231
|
# Fetch the TranscriptInstance
|
|
241
|
-
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Transcript. The default is `true` to access redacted Transcript.
|
|
242
232
|
# @return [TranscriptInstance] Fetched TranscriptInstance
|
|
243
|
-
def fetch
|
|
244
|
-
redacted: :unset
|
|
245
|
-
)
|
|
233
|
+
def fetch
|
|
246
234
|
|
|
247
|
-
|
|
248
|
-
'Redacted' => redacted,
|
|
249
|
-
})
|
|
250
|
-
payload = @version.fetch('GET', @uri, params: params)
|
|
235
|
+
payload = @version.fetch('GET', @uri)
|
|
251
236
|
TranscriptInstance.new(
|
|
252
237
|
@version,
|
|
253
238
|
payload,
|
|
@@ -430,7 +415,7 @@ module Twilio
|
|
|
430
415
|
end
|
|
431
416
|
|
|
432
417
|
##
|
|
433
|
-
# @return [Boolean] Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine
|
|
418
|
+
# @return [Boolean] Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
|
|
434
419
|
def data_logging
|
|
435
420
|
@properties['data_logging']
|
|
436
421
|
end
|
|
@@ -487,15 +472,10 @@ module Twilio
|
|
|
487
472
|
|
|
488
473
|
##
|
|
489
474
|
# Fetch the TranscriptInstance
|
|
490
|
-
# @param [Boolean] redacted Grant access to PII Redacted/Unredacted Transcript. The default is `true` to access redacted Transcript.
|
|
491
475
|
# @return [TranscriptInstance] Fetched TranscriptInstance
|
|
492
|
-
def fetch
|
|
493
|
-
redacted: :unset
|
|
494
|
-
)
|
|
476
|
+
def fetch
|
|
495
477
|
|
|
496
|
-
context.fetch
|
|
497
|
-
redacted: redacted,
|
|
498
|
-
)
|
|
478
|
+
context.fetch
|
|
499
479
|
end
|
|
500
480
|
|
|
501
481
|
##
|
|
@@ -128,7 +128,6 @@ module Twilio
|
|
|
128
128
|
# @return [Page] Page of CredentialInstance
|
|
129
129
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
130
130
|
params = Twilio::Values.of({
|
|
131
|
-
|
|
132
131
|
'PageToken' => page_token,
|
|
133
132
|
'Page' => page_number,
|
|
134
133
|
'PageSize' => page_size,
|
|
@@ -124,8 +124,7 @@ module Twilio
|
|
|
124
124
|
def page(identity: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
125
125
|
params = Twilio::Values.of({
|
|
126
126
|
|
|
127
|
-
'Identity' => Twilio.serialize_list(identity),
|
|
128
|
-
|
|
127
|
+
'Identity' => Twilio.serialize_list(identity) { |e| e },
|
|
129
128
|
'PageToken' => page_token,
|
|
130
129
|
'Page' => page_number,
|
|
131
130
|
'PageSize' => page_size,
|
|
@@ -124,8 +124,7 @@ module Twilio
|
|
|
124
124
|
def page(identity: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
125
125
|
params = Twilio::Values.of({
|
|
126
126
|
|
|
127
|
-
'Identity' => Twilio.serialize_list(identity),
|
|
128
|
-
|
|
127
|
+
'Identity' => Twilio.serialize_list(identity) { |e| e },
|
|
129
128
|
'PageToken' => page_token,
|
|
130
129
|
'Page' => page_number,
|
|
131
130
|
'PageSize' => page_size,
|
|
@@ -126,9 +126,7 @@ module Twilio
|
|
|
126
126
|
# @return [Page] Page of MessageInstance
|
|
127
127
|
def page(order: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
128
128
|
params = Twilio::Values.of({
|
|
129
|
-
|
|
130
129
|
'Order' => order,
|
|
131
|
-
|
|
132
130
|
'PageToken' => page_token,
|
|
133
131
|
'Page' => page_number,
|
|
134
132
|
'PageSize' => page_size,
|
|
@@ -128,8 +128,7 @@ module Twilio
|
|
|
128
128
|
def page(type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
129
129
|
params = Twilio::Values.of({
|
|
130
130
|
|
|
131
|
-
'Type' => Twilio.serialize_list(type),
|
|
132
|
-
|
|
131
|
+
'Type' => Twilio.serialize_list(type) { |e| e },
|
|
133
132
|
'PageToken' => page_token,
|
|
134
133
|
'Page' => page_number,
|
|
135
134
|
'PageSize' => page_size,
|
|
@@ -244,7 +243,7 @@ module Twilio
|
|
|
244
243
|
|
|
245
244
|
unless @members
|
|
246
245
|
@members = MemberList.new(
|
|
247
|
-
@version, service_sid: @solution[:service_sid],
|
|
246
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
248
247
|
end
|
|
249
248
|
|
|
250
249
|
@members
|
|
@@ -263,7 +262,7 @@ module Twilio
|
|
|
263
262
|
|
|
264
263
|
unless @messages
|
|
265
264
|
@messages = MessageList.new(
|
|
266
|
-
@version, service_sid: @solution[:service_sid],
|
|
265
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
267
266
|
end
|
|
268
267
|
|
|
269
268
|
@messages
|
|
@@ -282,7 +281,7 @@ module Twilio
|
|
|
282
281
|
|
|
283
282
|
unless @invites
|
|
284
283
|
@invites = InviteList.new(
|
|
285
|
-
@version, service_sid: @solution[:service_sid],
|
|
284
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
286
285
|
end
|
|
287
286
|
|
|
288
287
|
@invites
|