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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93f72d289553ee06f2eeed03379838f0f7bf0aaf
|
|
4
|
+
data.tar.gz: b1e45d1f753beb689ca6c7ca49ad10679e29fac5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 590d26035fb79b388d13488a9c6afedbb0c6150e455a89b94e8ac66a096bcf39bdcdb9a72c07430f0471f61e80b2c6b0143b54c316d47935a115652a19caa264
|
|
7
|
+
data.tar.gz: e48cea4a7378ef1e6d491ebd0ade12778db8ee494ea5751f135f67b35134f015a2519fe53f8bb77c2fd4624e61c232dd52d96ac3636ac7d7095068eaddc678ce
|
data/CHANGES.md
CHANGED
|
@@ -1,6 +1,211 @@
|
|
|
1
1
|
twilio-ruby changelog
|
|
2
2
|
=====================
|
|
3
3
|
|
|
4
|
+
[2023-12-01] Version 6.8.3
|
|
5
|
+
--------------------------
|
|
6
|
+
**Verify**
|
|
7
|
+
- Add `VerifyEventSubscriptionEnabled` parameter to service create and update endpoints.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
[2023-11-17] Version 6.8.2
|
|
11
|
+
--------------------------
|
|
12
|
+
**Library - Chore**
|
|
13
|
+
- [PR #687](https://github.com/twilio/twilio-ruby/pull/687): remove more oauth refrences. Thanks to [@KobeBrooks](https://github.com/KobeBrooks)!
|
|
14
|
+
|
|
15
|
+
**Api**
|
|
16
|
+
- Update documentation to reflect RiskCheck GA
|
|
17
|
+
|
|
18
|
+
**Messaging**
|
|
19
|
+
- Add tollfree edit_allowed and edit_reason fields
|
|
20
|
+
- Update Phone Number, Short Code, Alpha Sender, US A2P and Channel Sender documentation
|
|
21
|
+
|
|
22
|
+
**Taskrouter**
|
|
23
|
+
- Add container attribute to task_queue_bulk_real_time_statistics endpoint
|
|
24
|
+
|
|
25
|
+
**Trusthub**
|
|
26
|
+
- Rename did to tollfree_phone_number in compliance_tollfree_inquiry.json
|
|
27
|
+
- Add new optional field notification_email to compliance_tollfree_inquiry.json
|
|
28
|
+
|
|
29
|
+
**Verify**
|
|
30
|
+
- Add `Tags` optional parameter on Verification creation.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
[2023-11-06] Version 6.8.1
|
|
34
|
+
--------------------------
|
|
35
|
+
**Flex**
|
|
36
|
+
- Adding `provisioning_status` for Email Manager
|
|
37
|
+
|
|
38
|
+
**Intelligence**
|
|
39
|
+
- Add text-generation operator (for example conversation summary) results to existing OperatorResults collection.
|
|
40
|
+
|
|
41
|
+
**Messaging**
|
|
42
|
+
- Add DELETE support to Tollfree Verification resource
|
|
43
|
+
|
|
44
|
+
**Serverless**
|
|
45
|
+
- Add node18 as a valid Build runtime
|
|
46
|
+
|
|
47
|
+
**Verify**
|
|
48
|
+
- Update Verify TOTP maturity to GA.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
[2023-10-19] Version 6.8.0
|
|
52
|
+
--------------------------
|
|
53
|
+
**Library - Chore**
|
|
54
|
+
- [PR #682](https://github.com/twilio/twilio-ruby/pull/682): Removing Test Related To Deprecated Endpoint - OAuth. Thanks to [@KobeBrooks](https://github.com/KobeBrooks)!
|
|
55
|
+
|
|
56
|
+
**Library - Fix**
|
|
57
|
+
- [PR #680](https://github.com/twilio/twilio-ruby/pull/680): update validate ssl method with new endpoint. Thanks to [@AsabuHere](https://github.com/AsabuHere)!
|
|
58
|
+
|
|
59
|
+
**Accounts**
|
|
60
|
+
- Updated Safelist metadata to correct the docs.
|
|
61
|
+
- Add Global SafeList API changes
|
|
62
|
+
|
|
63
|
+
**Api**
|
|
64
|
+
- Added optional parameter `CallToken` for create participant api
|
|
65
|
+
|
|
66
|
+
**Flex**
|
|
67
|
+
- Adding `offline_config` to Flex Configuration
|
|
68
|
+
|
|
69
|
+
**Intelligence**
|
|
70
|
+
- Deleted `redacted` parameter from fetching transcript in v2 **(breaking change)**
|
|
71
|
+
|
|
72
|
+
**Lookups**
|
|
73
|
+
- Add new `phone_number_quality_score` package to the lookup response
|
|
74
|
+
- Remove `disposable_phone_number_risk` package **(breaking change)**
|
|
75
|
+
|
|
76
|
+
**Messaging**
|
|
77
|
+
- Update US App To Person documentation with current `message_samples` requirements
|
|
78
|
+
|
|
79
|
+
**Taskrouter**
|
|
80
|
+
- Remove beta_feature check on task_queue_bulk_real_time_statistics endpoint
|
|
81
|
+
- Add `virtual_start_time` property to tasks
|
|
82
|
+
- Updating `task_queue_data` format from `map` to `array` in the response of bulk get endpoint of TaskQueue Real Time Statistics API **(breaking change)**
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
[2023-10-05] Version 6.7.1
|
|
86
|
+
--------------------------
|
|
87
|
+
**Library - Chore**
|
|
88
|
+
- [PR #678](https://github.com/twilio/twilio-ruby/pull/678): twilio help changes. Thanks to [@kridai](https://github.com/kridai)!
|
|
89
|
+
|
|
90
|
+
**Lookups**
|
|
91
|
+
- Add test api support for Lookup v2
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
[2023-09-21] Version 6.7.0
|
|
95
|
+
--------------------------
|
|
96
|
+
**Conversations**
|
|
97
|
+
- Enable conversation email bindings, email address configurations and email message subjects
|
|
98
|
+
|
|
99
|
+
**Flex**
|
|
100
|
+
- Adding `console_errors_included` to Flex Configuration field `debugger_integrations`
|
|
101
|
+
- Introducing new channel status as `inactive` in modify channel endpoint for leave functionality **(breaking change)**
|
|
102
|
+
- Adding `citrix_voice_vdi` to Flex Configuration
|
|
103
|
+
|
|
104
|
+
**Taskrouter**
|
|
105
|
+
- Add Update Queues, Workers, Workflow Real Time Statistics API to flex-rt-data-api-v2 endpoint
|
|
106
|
+
- Add Update Workspace Real Time Statistics API to flex-rt-data-api-v2 endpoint
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
[2023-09-07] Version 6.6.0
|
|
110
|
+
--------------------------
|
|
111
|
+
**Api**
|
|
112
|
+
- Make message tagging parameters public **(breaking change)**
|
|
113
|
+
|
|
114
|
+
**Flex**
|
|
115
|
+
- Adding `agent_conv_end_methods` to Flex Configuration
|
|
116
|
+
|
|
117
|
+
**Messaging**
|
|
118
|
+
- Mark Mesasging Services fallback_to_long_code feature obsolete
|
|
119
|
+
|
|
120
|
+
**Numbers**
|
|
121
|
+
- Add Create Port In request api
|
|
122
|
+
- Renaming sid for bulk_hosting_sid and remove account_sid response field in numbers/v2/BulkHostedNumberOrders **(breaking change)**
|
|
123
|
+
|
|
124
|
+
**Pricing**
|
|
125
|
+
- gate resources behind a beta_feature
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
[2023-08-24] Version 6.5.0
|
|
129
|
+
--------------------------
|
|
130
|
+
**Api**
|
|
131
|
+
- Add new property `RiskCheck` for SMS pumping protection feature only (public beta to be available soon): Include this parameter with a value of `disable` to skip any kind of risk check on the respective message request
|
|
132
|
+
|
|
133
|
+
**Flex**
|
|
134
|
+
- Changing `sid<UO>` path param to `sid<UT>` in interaction channel participant update endpoint **(breaking change)**
|
|
135
|
+
|
|
136
|
+
**Messaging**
|
|
137
|
+
- Add Channel Sender api
|
|
138
|
+
- Fixing country code docs and removing Zipwhip references
|
|
139
|
+
|
|
140
|
+
**Numbers**
|
|
141
|
+
- Request status changed in numbers/v2/BulkHostedNumberOrders **(breaking change)**
|
|
142
|
+
- Add bulk hosting orders API under version `/v2
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
[2023-08-10] Version 6.4.0
|
|
146
|
+
--------------------------
|
|
147
|
+
**Library - Fix**
|
|
148
|
+
- [PR #673](https://github.com/twilio/twilio-ruby/pull/673): remove ruby version. Thanks to [@kridai](https://github.com/kridai)!
|
|
149
|
+
- [PR #672](https://github.com/twilio/twilio-ruby/pull/672): revert setting ruby version. Thanks to [@kridai](https://github.com/kridai)!
|
|
150
|
+
- [PR #671](https://github.com/twilio/twilio-ruby/pull/671): fix the headers issue. Thanks to [@kridai](https://github.com/kridai)!
|
|
151
|
+
|
|
152
|
+
**Insights**
|
|
153
|
+
- Normalize annotations parameters in list summary api to be prefixed
|
|
154
|
+
|
|
155
|
+
**Numbers**
|
|
156
|
+
- Change Bulk_hosted_sid from BHR to BH prefix in HNO and dependent under version `/v2` API's. **(breaking change)**
|
|
157
|
+
- Added parameter target_account_sid to portability and account_sid to response body
|
|
158
|
+
|
|
159
|
+
**Verify**
|
|
160
|
+
- Remove beta feature flag to list attempts API.
|
|
161
|
+
- Remove beta feature flag to verifications summary attempts API.
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
[2023-07-27] Version 6.3.1
|
|
165
|
+
--------------------------
|
|
166
|
+
**Api**
|
|
167
|
+
- Added `voice-intelligence`, `voice-intelligence-transcription` and `voice-intelligence-operators` to `usage_record` API.
|
|
168
|
+
- Added `tts-google` to `usage_record` API.
|
|
169
|
+
|
|
170
|
+
**Lookups**
|
|
171
|
+
- Add new `disposable_phone_number_risk` package to the lookup response
|
|
172
|
+
|
|
173
|
+
**Verify**
|
|
174
|
+
- Documentation of list attempts API was improved by correcting `date_created_after` and `date_created_before` expected date format.
|
|
175
|
+
- Documentation was improved by correcting `date_created_after` and `date_created_before` expected date format parameter on attempts summary API.
|
|
176
|
+
- Documentation was improved by adding `WHATSAPP` as optional valid parameter on attempts summary API.
|
|
177
|
+
|
|
178
|
+
**Twiml**
|
|
179
|
+
- Added support for he-il inside of ssm_lang.json that was missing
|
|
180
|
+
- Added support for he-il language in say.json that was missing
|
|
181
|
+
- Add `statusCallback` and `statusCallbackMethod` attributes to `<Siprec>`.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
[2023-07-13] Version 6.3.0
|
|
185
|
+
--------------------------
|
|
186
|
+
**Library - Chore**
|
|
187
|
+
- [PR #668](https://github.com/twilio/twilio-ruby/pull/668): remove cacert. Thanks to [@sbansla](https://github.com/sbansla)!
|
|
188
|
+
|
|
189
|
+
**Flex**
|
|
190
|
+
- Adding `interaction_context_sid` as optional parameter in Interactions API
|
|
191
|
+
|
|
192
|
+
**Messaging**
|
|
193
|
+
- Making visiblity public for tollfree_verification API
|
|
194
|
+
|
|
195
|
+
**Numbers**
|
|
196
|
+
- Remove Sms capability property from HNO creation under version `/v2` of HNO API. **(breaking change)**
|
|
197
|
+
- Update required properties in LOA creation under version `/v2` of Authorization document API. **(breaking change)**
|
|
198
|
+
|
|
199
|
+
**Taskrouter**
|
|
200
|
+
- Add api to fetch task queue statistics for multiple TaskQueues
|
|
201
|
+
|
|
202
|
+
**Verify**
|
|
203
|
+
- Add `RiskCheck` optional parameter on Verification creation.
|
|
204
|
+
|
|
205
|
+
**Twiml**
|
|
206
|
+
- Add Google Voices and languages
|
|
207
|
+
|
|
208
|
+
|
|
4
209
|
[2023-06-28] Version 6.2.0
|
|
5
210
|
--------------------------
|
|
6
211
|
**Library - Fix**
|
data/CONTRIBUTING.md
CHANGED
|
@@ -22,7 +22,7 @@ it can be.
|
|
|
22
22
|
|
|
23
23
|
If you have questions about how to use `twilio-ruby`, please see our
|
|
24
24
|
[docs](./README.md), and if you don't find the answer there, please contact
|
|
25
|
-
[
|
|
25
|
+
[Twilio Support](https://www.twilio.com/help/contact) with any issues you have.
|
|
26
26
|
|
|
27
27
|
## <a name="issue"></a> Found an Issue?
|
|
28
28
|
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (C) 2023, Twilio, Inc. <
|
|
3
|
+
Copyright (C) 2023, Twilio, Inc. <https://www.twilio.com/help/contact>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
data/README.md
CHANGED
|
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
|
|
|
39
39
|
To install using [Bundler][bundler] grab the latest stable version:
|
|
40
40
|
|
|
41
41
|
```ruby
|
|
42
|
-
gem 'twilio-ruby', '~> 6.
|
|
42
|
+
gem 'twilio-ruby', '~> 6.8.3'
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
gem install twilio-ruby -v 6.
|
|
48
|
+
gem install twilio-ruby -v 6.8.3
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
To build and install the development branch yourself from the latest source:
|
|
@@ -27,10 +27,9 @@ module Twilio
|
|
|
27
27
|
##
|
|
28
28
|
# Makes a request to the Twilio API using the configured http client
|
|
29
29
|
# Authentication information is automatically added if none is provided
|
|
30
|
-
# rubocop:disable Lint/ShadowedArgument
|
|
31
30
|
def request(host, port, method, uri, params = {}, data = {}, headers = {}, auth = nil, timeout = nil) # rubocop:disable Metrics/MethodLength
|
|
32
31
|
auth ||= @auth
|
|
33
|
-
headers = generate_headers(method)
|
|
32
|
+
headers = generate_headers(method, headers)
|
|
34
33
|
uri = build_uri(uri)
|
|
35
34
|
|
|
36
35
|
if @logger
|
|
@@ -68,7 +67,6 @@ module Twilio
|
|
|
68
67
|
|
|
69
68
|
response
|
|
70
69
|
end
|
|
71
|
-
# rubocop:enable Lint/ShadowedArgument
|
|
72
70
|
|
|
73
71
|
##
|
|
74
72
|
# Build the final request uri
|
|
@@ -97,17 +95,16 @@ module Twilio
|
|
|
97
95
|
end
|
|
98
96
|
|
|
99
97
|
##
|
|
100
|
-
# Validate the
|
|
98
|
+
# Validate the SSL certificates for the Twilio API
|
|
101
99
|
def validate_ssl_certificate
|
|
102
|
-
response = request('
|
|
100
|
+
response = request('tls-test.twilio.com', '443', 'GET', 'https://tls-test.twilio.com')
|
|
103
101
|
return unless response.status_code < 200 || response.status_code >= 300
|
|
104
102
|
|
|
105
103
|
raise RestError.new 'Unexpected response from certificate endpoint', response
|
|
106
104
|
end
|
|
107
105
|
|
|
108
|
-
def generate_headers(method)
|
|
106
|
+
def generate_headers(method, headers)
|
|
109
107
|
ruby_config = RbConfig::CONFIG
|
|
110
|
-
headers = {}
|
|
111
108
|
headers['User-Agent'] =
|
|
112
109
|
"twilio-ruby/#{Twilio::VERSION} (#{ruby_config['host_os']} #{ruby_config['host_cpu']}) Ruby/#{RUBY_VERSION}"
|
|
113
110
|
headers['Accept-Charset'] = 'utf-8'
|
|
@@ -118,7 +118,6 @@ module Twilio
|
|
|
118
118
|
# @return [Page] Page of PublicKeyInstance
|
|
119
119
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
120
120
|
params = Twilio::Values.of({
|
|
121
|
-
|
|
122
121
|
'PageToken' => page_token,
|
|
123
122
|
'Page' => page_number,
|
|
124
123
|
'PageSize' => page_size,
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
##
|
|
2
|
+
# This code was generated by
|
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
+
#
|
|
7
|
+
# Twilio - Accounts
|
|
8
|
+
# This is the public Twilio REST API.
|
|
9
|
+
#
|
|
10
|
+
# NOTE: This class is auto generated by OpenAPI Generator.
|
|
11
|
+
# https://openapi-generator.tech
|
|
12
|
+
# Do not edit the class manually.
|
|
13
|
+
#
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
module Twilio
|
|
17
|
+
module REST
|
|
18
|
+
class Accounts < AccountsBase
|
|
19
|
+
class V1 < Version
|
|
20
|
+
class SafelistList < ListResource
|
|
21
|
+
##
|
|
22
|
+
# Initialize the SafelistList
|
|
23
|
+
# @param [Version] version Version that contains the resource
|
|
24
|
+
# @return [SafelistList] SafelistList
|
|
25
|
+
def initialize(version)
|
|
26
|
+
super(version)
|
|
27
|
+
# Path Solution
|
|
28
|
+
@solution = { }
|
|
29
|
+
@uri = "/SafeList/Numbers"
|
|
30
|
+
|
|
31
|
+
end
|
|
32
|
+
##
|
|
33
|
+
# Create the SafelistInstance
|
|
34
|
+
# @param [String] phone_number The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
|
|
35
|
+
# @return [SafelistInstance] Created SafelistInstance
|
|
36
|
+
def create(
|
|
37
|
+
phone_number: nil
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
data = Twilio::Values.of({
|
|
41
|
+
'PhoneNumber' => phone_number,
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
payload = @version.create('POST', @uri, data: data)
|
|
45
|
+
SafelistInstance.new(
|
|
46
|
+
@version,
|
|
47
|
+
payload,
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
##
|
|
52
|
+
# Delete the SafelistInstance
|
|
53
|
+
# @param [String] phone_number The phone number to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
|
|
54
|
+
# @return [Boolean] True if delete succeeds, false otherwise
|
|
55
|
+
def delete(
|
|
56
|
+
phone_number: :unset
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
params = Twilio::Values.of({
|
|
60
|
+
'PhoneNumber' => phone_number,
|
|
61
|
+
})
|
|
62
|
+
@version.delete('DELETE', @uri, params: params)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
##
|
|
66
|
+
# Fetch the SafelistInstance
|
|
67
|
+
# @param [String] phone_number The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
|
|
68
|
+
# @return [SafelistInstance] Fetched SafelistInstance
|
|
69
|
+
def fetch(
|
|
70
|
+
phone_number: :unset
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
params = Twilio::Values.of({
|
|
74
|
+
'PhoneNumber' => phone_number,
|
|
75
|
+
})
|
|
76
|
+
payload = @version.fetch('GET', @uri, params: params)
|
|
77
|
+
SafelistInstance.new(
|
|
78
|
+
@version,
|
|
79
|
+
payload,
|
|
80
|
+
)
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
# Provide a user friendly representation
|
|
87
|
+
def to_s
|
|
88
|
+
'#<Twilio.Accounts.V1.SafelistList>'
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
class SafelistPage < Page
|
|
93
|
+
##
|
|
94
|
+
# Initialize the SafelistPage
|
|
95
|
+
# @param [Version] version Version that contains the resource
|
|
96
|
+
# @param [Response] response Response from the API
|
|
97
|
+
# @param [Hash] solution Path solution for the resource
|
|
98
|
+
# @return [SafelistPage] SafelistPage
|
|
99
|
+
def initialize(version, response, solution)
|
|
100
|
+
super(version, response)
|
|
101
|
+
|
|
102
|
+
# Path Solution
|
|
103
|
+
@solution = solution
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
##
|
|
107
|
+
# Build an instance of SafelistInstance
|
|
108
|
+
# @param [Hash] payload Payload response from the API
|
|
109
|
+
# @return [SafelistInstance] SafelistInstance
|
|
110
|
+
def get_instance(payload)
|
|
111
|
+
SafelistInstance.new(@version, payload)
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
##
|
|
115
|
+
# Provide a user friendly representation
|
|
116
|
+
def to_s
|
|
117
|
+
'<Twilio.Accounts.V1.SafelistPage>'
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
class SafelistInstance < InstanceResource
|
|
121
|
+
##
|
|
122
|
+
# Initialize the SafelistInstance
|
|
123
|
+
# @param [Version] version Version that contains the resource
|
|
124
|
+
# @param [Hash] payload payload that contains response from Twilio
|
|
125
|
+
# @param [String] account_sid The SID of the
|
|
126
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this Safelist
|
|
127
|
+
# resource.
|
|
128
|
+
# @param [String] sid The SID of the Call resource to fetch.
|
|
129
|
+
# @return [SafelistInstance] SafelistInstance
|
|
130
|
+
def initialize(version, payload )
|
|
131
|
+
super(version)
|
|
132
|
+
|
|
133
|
+
# Marshaled Properties
|
|
134
|
+
@properties = {
|
|
135
|
+
'sid' => payload['sid'],
|
|
136
|
+
'phone_number' => payload['phone_number'],
|
|
137
|
+
}
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
##
|
|
142
|
+
# @return [String] The unique string that we created to identify the SafeList resource.
|
|
143
|
+
def sid
|
|
144
|
+
@properties['sid']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
##
|
|
148
|
+
# @return [String] The phone number in SafeList.
|
|
149
|
+
def phone_number
|
|
150
|
+
@properties['phone_number']
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
##
|
|
154
|
+
# Provide a user friendly representation
|
|
155
|
+
def to_s
|
|
156
|
+
"<Twilio.Accounts.V1.SafelistInstance>"
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
##
|
|
160
|
+
# Provide a detailed, user friendly representation
|
|
161
|
+
def inspect
|
|
162
|
+
"<Twilio.Accounts.V1.SafelistInstance>"
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
end
|
|
@@ -23,6 +23,7 @@ module Twilio
|
|
|
23
23
|
@version = 'v1'
|
|
24
24
|
@auth_token_promotion = nil
|
|
25
25
|
@credentials = nil
|
|
26
|
+
@safelist = nil
|
|
26
27
|
@secondary_auth_token = nil
|
|
27
28
|
end
|
|
28
29
|
|
|
@@ -37,6 +38,11 @@ module Twilio
|
|
|
37
38
|
@credentials ||= CredentialList.new self
|
|
38
39
|
end
|
|
39
40
|
##
|
|
41
|
+
# @return [Twilio::REST::Accounts::V1::SafelistList]
|
|
42
|
+
def safelist
|
|
43
|
+
@safelist ||= SafelistList.new self
|
|
44
|
+
end
|
|
45
|
+
##
|
|
40
46
|
# @return [Twilio::REST::Accounts::V1::secondaryAuthTokenContext]
|
|
41
47
|
def secondary_auth_token
|
|
42
48
|
@secondary_auth_token ||= SecondaryAuthTokenContext.new self
|
|
@@ -94,7 +94,6 @@ module Twilio
|
|
|
94
94
|
# @return [Page] Page of DependentPhoneNumberInstance
|
|
95
95
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
96
96
|
params = Twilio::Values.of({
|
|
97
|
-
|
|
98
97
|
'PageToken' => page_token,
|
|
99
98
|
'Page' => page_number,
|
|
100
99
|
'PageSize' => page_size,
|
|
@@ -155,13 +155,9 @@ module Twilio
|
|
|
155
155
|
# @return [Page] Page of AddressInstance
|
|
156
156
|
def page(customer_name: :unset, friendly_name: :unset, iso_country: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
157
157
|
params = Twilio::Values.of({
|
|
158
|
-
|
|
159
158
|
'CustomerName' => customer_name,
|
|
160
|
-
|
|
161
159
|
'FriendlyName' => friendly_name,
|
|
162
|
-
|
|
163
160
|
'IsoCountry' => iso_country,
|
|
164
|
-
|
|
165
161
|
'PageToken' => page_token,
|
|
166
162
|
'Page' => page_number,
|
|
167
163
|
'PageSize' => page_size,
|
|
@@ -285,7 +281,7 @@ module Twilio
|
|
|
285
281
|
def dependent_phone_numbers
|
|
286
282
|
unless @dependent_phone_numbers
|
|
287
283
|
@dependent_phone_numbers = DependentPhoneNumberList.new(
|
|
288
|
-
@version, account_sid: @solution[:account_sid],
|
|
284
|
+
@version, account_sid: @solution[:account_sid], address_sid: @solution[:sid], )
|
|
289
285
|
end
|
|
290
286
|
@dependent_phone_numbers
|
|
291
287
|
end
|
|
@@ -163,9 +163,7 @@ module Twilio
|
|
|
163
163
|
# @return [Page] Page of ApplicationInstance
|
|
164
164
|
def page(friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
165
165
|
params = Twilio::Values.of({
|
|
166
|
-
|
|
167
166
|
'FriendlyName' => friendly_name,
|
|
168
|
-
|
|
169
167
|
'PageToken' => page_token,
|
|
170
168
|
'Page' => page_number,
|
|
171
169
|
'PageSize' => page_size,
|
|
@@ -184,43 +184,24 @@ module Twilio
|
|
|
184
184
|
# @return [Page] Page of LocalInstance
|
|
185
185
|
def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
186
186
|
params = Twilio::Values.of({
|
|
187
|
-
|
|
188
187
|
'AreaCode' => area_code,
|
|
189
|
-
|
|
190
188
|
'Contains' => contains,
|
|
191
|
-
|
|
192
189
|
'SmsEnabled' => sms_enabled,
|
|
193
|
-
|
|
194
190
|
'MmsEnabled' => mms_enabled,
|
|
195
|
-
|
|
196
191
|
'VoiceEnabled' => voice_enabled,
|
|
197
|
-
|
|
198
192
|
'ExcludeAllAddressRequired' => exclude_all_address_required,
|
|
199
|
-
|
|
200
193
|
'ExcludeLocalAddressRequired' => exclude_local_address_required,
|
|
201
|
-
|
|
202
194
|
'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
|
|
203
|
-
|
|
204
195
|
'Beta' => beta,
|
|
205
|
-
|
|
206
196
|
'NearNumber' => near_number,
|
|
207
|
-
|
|
208
197
|
'NearLatLong' => near_lat_long,
|
|
209
|
-
|
|
210
198
|
'Distance' => distance,
|
|
211
|
-
|
|
212
199
|
'InPostalCode' => in_postal_code,
|
|
213
|
-
|
|
214
200
|
'InRegion' => in_region,
|
|
215
|
-
|
|
216
201
|
'InRateCenter' => in_rate_center,
|
|
217
|
-
|
|
218
202
|
'InLata' => in_lata,
|
|
219
|
-
|
|
220
203
|
'InLocality' => in_locality,
|
|
221
|
-
|
|
222
204
|
'FaxEnabled' => fax_enabled,
|
|
223
|
-
|
|
224
205
|
'PageToken' => page_token,
|
|
225
206
|
'Page' => page_number,
|
|
226
207
|
'PageSize' => page_size,
|
data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb
CHANGED
|
@@ -184,43 +184,24 @@ module Twilio
|
|
|
184
184
|
# @return [Page] Page of MachineToMachineInstance
|
|
185
185
|
def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
186
186
|
params = Twilio::Values.of({
|
|
187
|
-
|
|
188
187
|
'AreaCode' => area_code,
|
|
189
|
-
|
|
190
188
|
'Contains' => contains,
|
|
191
|
-
|
|
192
189
|
'SmsEnabled' => sms_enabled,
|
|
193
|
-
|
|
194
190
|
'MmsEnabled' => mms_enabled,
|
|
195
|
-
|
|
196
191
|
'VoiceEnabled' => voice_enabled,
|
|
197
|
-
|
|
198
192
|
'ExcludeAllAddressRequired' => exclude_all_address_required,
|
|
199
|
-
|
|
200
193
|
'ExcludeLocalAddressRequired' => exclude_local_address_required,
|
|
201
|
-
|
|
202
194
|
'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
|
|
203
|
-
|
|
204
195
|
'Beta' => beta,
|
|
205
|
-
|
|
206
196
|
'NearNumber' => near_number,
|
|
207
|
-
|
|
208
197
|
'NearLatLong' => near_lat_long,
|
|
209
|
-
|
|
210
198
|
'Distance' => distance,
|
|
211
|
-
|
|
212
199
|
'InPostalCode' => in_postal_code,
|
|
213
|
-
|
|
214
200
|
'InRegion' => in_region,
|
|
215
|
-
|
|
216
201
|
'InRateCenter' => in_rate_center,
|
|
217
|
-
|
|
218
202
|
'InLata' => in_lata,
|
|
219
|
-
|
|
220
203
|
'InLocality' => in_locality,
|
|
221
|
-
|
|
222
204
|
'FaxEnabled' => fax_enabled,
|
|
223
|
-
|
|
224
205
|
'PageToken' => page_token,
|
|
225
206
|
'Page' => page_number,
|
|
226
207
|
'PageSize' => page_size,
|