twilio-ruby 6.3.0 → 6.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +20 -0
- data/README.md +2 -2
- 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/api/v2010/account/address/dependent_phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +0 -4
- 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 +0 -1
- 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 +0 -11
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +0 -9
- 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 +0 -1
- 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 +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +50 -56
- 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 +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +0 -7
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +1 -2
- 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 +0 -1
- 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 +1 -2
- 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 +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/client.rb +1 -1
- data/lib/twilio-ruby/rest/content/v1/content.rb +0 -1
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +0 -1
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +0 -2
- 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 +0 -4
- 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/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +0 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +0 -4
- 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 +0 -1
- 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/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 +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -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 +0 -24
- 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 +0 -1
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +0 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +0 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +0 -9
- 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 +1 -2
- 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 +0 -1
- 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 +1 -2
- 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 +0 -1
- 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 +0 -3
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +0 -5
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +0 -3
- 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/service/alpha_sender.rb +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +0 -3
- 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 +0 -1
- 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.rb +0 -2
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +4 -9
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +0 -3
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +5 -11
- 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 +0 -12
- 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/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 +0 -6
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +0 -3
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +0 -6
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +0 -3
- 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 +0 -3
- 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 +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +0 -5
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +0 -1
- 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 +1 -10
- 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 +0 -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 +0 -9
- 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/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/verify/v2/service/entity/challenge.rb +0 -4
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +6 -15
- 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 +0 -5
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/room.rb +0 -5
- 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 +0 -7
- 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 +0 -5
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +0 -1
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +0 -1
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +0 -4
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +0 -6
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +0 -4
- data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +2 -2
@@ -200,15 +200,10 @@ module Twilio
|
|
200
200
|
# @return [Page] Page of TollFreeInstance
|
201
201
|
def page(beta: :unset, friendly_name: :unset, phone_number: :unset, origin: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
202
202
|
params = Twilio::Values.of({
|
203
|
-
|
204
203
|
'Beta' => beta,
|
205
|
-
|
206
204
|
'FriendlyName' => friendly_name,
|
207
|
-
|
208
205
|
'PhoneNumber' => phone_number,
|
209
|
-
|
210
206
|
'Origin' => origin,
|
211
|
-
|
212
207
|
'PageToken' => page_token,
|
213
208
|
'Page' => page_number,
|
214
209
|
'PageSize' => page_size,
|
@@ -205,15 +205,10 @@ module Twilio
|
|
205
205
|
# @return [Page] Page of IncomingPhoneNumberInstance
|
206
206
|
def page(beta: :unset, friendly_name: :unset, phone_number: :unset, origin: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
207
207
|
params = Twilio::Values.of({
|
208
|
-
|
209
208
|
'Beta' => beta,
|
210
|
-
|
211
209
|
'FriendlyName' => friendly_name,
|
212
|
-
|
213
210
|
'PhoneNumber' => phone_number,
|
214
|
-
|
215
211
|
'Origin' => origin,
|
216
|
-
|
217
212
|
'PageToken' => page_token,
|
218
213
|
'Page' => page_number,
|
219
214
|
'PageSize' => page_size,
|
@@ -37,9 +37,9 @@ module Twilio
|
|
37
37
|
# Lists MediaInstance records from the API as a list.
|
38
38
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
39
39
|
# memory before returning.
|
40
|
-
# @param [Time] date_created Only include
|
41
|
-
# @param [Time] date_created_before Only include
|
42
|
-
# @param [Time] date_created_after Only include
|
40
|
+
# @param [Time] date_created Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
41
|
+
# @param [Time] date_created_before Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
42
|
+
# @param [Time] date_created_after Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
43
43
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
44
44
|
# guarantees to never return more than limit. Default is no limit
|
45
45
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -61,9 +61,9 @@ module Twilio
|
|
61
61
|
# Streams Instance records from the API as an Enumerable.
|
62
62
|
# This operation lazily loads records as efficiently as possible until the limit
|
63
63
|
# is reached.
|
64
|
-
# @param [Time] date_created Only include
|
65
|
-
# @param [Time] date_created_before Only include
|
66
|
-
# @param [Time] date_created_after Only include
|
64
|
+
# @param [Time] date_created Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
65
|
+
# @param [Time] date_created_before Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
66
|
+
# @param [Time] date_created_after Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
67
67
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
68
68
|
# guarantees to never return more than limit. Default is no limit
|
69
69
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -100,22 +100,18 @@ module Twilio
|
|
100
100
|
##
|
101
101
|
# Retrieve a single page of MediaInstance records from the API.
|
102
102
|
# Request is executed immediately.
|
103
|
-
# @param [Time] date_created Only include
|
104
|
-
# @param [Time] date_created_before Only include
|
105
|
-
# @param [Time] date_created_after Only include
|
103
|
+
# @param [Time] date_created Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
104
|
+
# @param [Time] date_created_before Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
105
|
+
# @param [Time] date_created_after Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
|
106
106
|
# @param [String] page_token PageToken provided by the API
|
107
107
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
108
108
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
109
109
|
# @return [Page] Page of MediaInstance
|
110
110
|
def page(date_created: :unset, date_created_before: :unset, date_created_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
111
111
|
params = Twilio::Values.of({
|
112
|
-
|
113
112
|
'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
|
114
|
-
|
115
113
|
'DateCreated<' => Twilio.serialize_iso8601_datetime(date_created_before),
|
116
|
-
|
117
114
|
'DateCreated>' => Twilio.serialize_iso8601_datetime(date_created_after),
|
118
|
-
|
119
115
|
'PageToken' => page_token,
|
120
116
|
'Page' => page_number,
|
121
117
|
'PageSize' => page_size,
|
@@ -152,9 +148,9 @@ module Twilio
|
|
152
148
|
##
|
153
149
|
# Initialize the MediaContext
|
154
150
|
# @param [Version] version Version that contains the resource
|
155
|
-
# @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account)
|
156
|
-
# @param [String] message_sid The SID of the Message resource that
|
157
|
-
# @param [String] sid The Twilio-provided string that uniquely identifies the Media resource to fetch
|
151
|
+
# @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with the Media resource.
|
152
|
+
# @param [String] message_sid The SID of the Message resource that is associated with the Media resource.
|
153
|
+
# @param [String] sid The Twilio-provided string that uniquely identifies the Media resource to fetch.
|
158
154
|
# @return [MediaContext] MediaContext
|
159
155
|
def initialize(version, account_sid, message_sid, sid)
|
160
156
|
super(version)
|
@@ -273,43 +269,43 @@ module Twilio
|
|
273
269
|
end
|
274
270
|
|
275
271
|
##
|
276
|
-
# @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account)
|
272
|
+
# @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this Media resource.
|
277
273
|
def account_sid
|
278
274
|
@properties['account_sid']
|
279
275
|
end
|
280
276
|
|
281
277
|
##
|
282
|
-
# @return [String] The default [
|
278
|
+
# @return [String] The default [MIME type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`.
|
283
279
|
def content_type
|
284
280
|
@properties['content_type']
|
285
281
|
end
|
286
282
|
|
287
283
|
##
|
288
|
-
# @return [Time] The date and time in GMT
|
284
|
+
# @return [Time] The date and time in GMT when this Media resource was created, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
289
285
|
def date_created
|
290
286
|
@properties['date_created']
|
291
287
|
end
|
292
288
|
|
293
289
|
##
|
294
|
-
# @return [Time] The date and time in GMT
|
290
|
+
# @return [Time] The date and time in GMT when this Media resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
295
291
|
def date_updated
|
296
292
|
@properties['date_updated']
|
297
293
|
end
|
298
294
|
|
299
295
|
##
|
300
|
-
# @return [String] The SID of the resource that
|
296
|
+
# @return [String] The SID of the Message resource that is associated with this Media resource.
|
301
297
|
def parent_sid
|
302
298
|
@properties['parent_sid']
|
303
299
|
end
|
304
300
|
|
305
301
|
##
|
306
|
-
# @return [String] The unique string that
|
302
|
+
# @return [String] The unique string that identifies this Media resource.
|
307
303
|
def sid
|
308
304
|
@properties['sid']
|
309
305
|
end
|
310
306
|
|
311
307
|
##
|
312
|
-
# @return [String] The URI of this resource, relative to `https://api.twilio.com`.
|
308
|
+
# @return [String] The URI of this Media resource, relative to `https://api.twilio.com`.
|
313
309
|
def uri
|
314
310
|
@properties['uri']
|
315
311
|
end
|
@@ -33,28 +33,28 @@ module Twilio
|
|
33
33
|
end
|
34
34
|
##
|
35
35
|
# Create the MessageInstance
|
36
|
-
# @param [String] to The
|
37
|
-
# @param [String] status_callback The URL
|
38
|
-
# @param [String] application_sid The SID of the
|
39
|
-
# @param [Float] max_price The maximum
|
40
|
-
# @param [Boolean] provide_feedback
|
41
|
-
# @param [String] attempt Total number of attempts made (
|
42
|
-
# @param [String] validity_period
|
36
|
+
# @param [String] to The recipient's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses), e.g. `whatsapp:+15552229999`.
|
37
|
+
# @param [String] status_callback The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/sms/services/api).
|
38
|
+
# @param [String] application_sid The SID of the associated [TwiML Application](https://www.twilio.com/docs/usage/api/applications). If this parameter is provided, the `status_callback` parameter of this request is ignored; [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url) are sent to the TwiML App's `message_status_callback` URL.
|
39
|
+
# @param [Float] max_price The maximum price in US dollars that you are willing to pay for this Message's delivery. The value can have up to four decimal places. When the `max_price` parameter is provided, the cost of a message is checked before it is sent. If the cost exceeds `max_price`, the message is not sent and the Message `status` is `failed`.
|
40
|
+
# @param [Boolean] provide_feedback Boolean indicating whether or not you intend to provide delivery confirmation feedback to Twilio (used in conjunction with the [Message Feedback subresource](https://www.twilio.com/docs/sms/api/message-feedback-resource)). Default value is `false`.
|
41
|
+
# @param [String] attempt Total number of attempts made (including this request) to send the message regardless of the provider used
|
42
|
+
# @param [String] validity_period The maximum length in seconds that the Message can remain in Twilio's outgoing message queue. If a queued Message exceeds the `validity_period`, the Message is not sent. Accepted values are integers from `1` to `14400`. Default value is `14400`. A `validity_period` greater than `5` is recommended. [Learn more about the validity period](https://www.twilio.com/blog/take-more-control-of-outbound-messages-using-validity-period-html)
|
43
43
|
# @param [Boolean] force_delivery Reserved
|
44
44
|
# @param [ContentRetention] content_retention
|
45
45
|
# @param [AddressRetention] address_retention
|
46
46
|
# @param [Boolean] smart_encoded Whether to detect Unicode characters that have a similar GSM-7 character and replace them. Can be: `true` or `false`.
|
47
|
-
# @param [Array[String]] persistent_action Rich actions for
|
48
|
-
# @param [Boolean] shorten_urls
|
47
|
+
# @param [Array[String]] persistent_action Rich actions for non-SMS/MMS channels. Used for [sending location in WhatsApp messages](https://www.twilio.com/docs/whatsapp/message-features#location-messages-with-whatsapp).
|
48
|
+
# @param [Boolean] shorten_urls For Messaging Services with [Link Shortening configured](https://www.twilio.com/docs/messaging/features/how-to-configure-link-shortening) only: A Boolean indicating whether or not Twilio should shorten links in the `body` of the Message. Default value is `false`. If `true`, the `messaging_service_sid` parameter must also be provided.
|
49
49
|
# @param [ScheduleType] schedule_type
|
50
50
|
# @param [Time] send_at The time that Twilio will send the message. Must be in ISO 8601 format.
|
51
|
-
# @param [Boolean] send_as_mms If set to
|
52
|
-
# @param [String] content_variables Key-value pairs of
|
53
|
-
# @param [String] from
|
54
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/
|
55
|
-
# @param [String] body The text of the message
|
56
|
-
# @param [Array[String]] media_url The URL of
|
57
|
-
# @param [String] content_sid The SID of the Content
|
51
|
+
# @param [Boolean] send_as_mms If set to `true`, Twilio delivers the message as a single MMS message, regardless of the presence of media.
|
52
|
+
# @param [String] content_variables For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used.
|
53
|
+
# @param [String] from The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool.
|
54
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service's Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool.
|
55
|
+
# @param [String] body The text content of the outgoing message. Can be up to 1,600 characters in length. SMS only: If the `body` contains more than 160 [GSM-7](https://www.twilio.com/docs/glossary/what-is-gsm-7-character-encoding) characters (or 70 [UCS-2](https://www.twilio.com/docs/glossary/what-is-ucs-2-character-encoding) characters), the message is segmented and charged accordingly. For long `body` text, consider using the [send_as_mms parameter](https://www.twilio.com/blog/mms-for-long-text-messages).
|
56
|
+
# @param [Array[String]] media_url The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/sms/accepted-mime-types) of accepted media. To send more than one image in the message, provide multiple `media_url` parameters in the POST request. You can include up to ten `media_url` parameters per message. [International](https://support.twilio.com/hc/en-us/articles/223179808-Sending-and-receiving-MMS-messages) and [carrier](https://support.twilio.com/hc/en-us/articles/223133707-Is-MMS-supported-for-all-carriers-in-US-and-Canada-) limits apply.
|
57
|
+
# @param [String] content_sid For [Content Editor/API](https://www.twilio.com/docs/content) only: The SID of the Content Template to be used with the Message, e.g., `HXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`. If this parameter is not provided, a Content Template is not used. Find the SID in the Console on the Content Editor page. For Content API users, the SID is found in Twilio's response when [creating the Template](https://www.twilio.com/docs/content/content-api-resources#create-templates) or by [fetching your Templates](https://www.twilio.com/docs/content/content-api-resources#fetch-all-content-resources).
|
58
58
|
# @return [MessageInstance] Created MessageInstance
|
59
59
|
def create(
|
60
60
|
to: nil,
|
@@ -119,11 +119,11 @@ module Twilio
|
|
119
119
|
# Lists MessageInstance records from the API as a list.
|
120
120
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
121
121
|
# memory before returning.
|
122
|
-
# @param [String] to
|
123
|
-
# @param [String] from
|
124
|
-
# @param [Time] date_sent
|
125
|
-
# @param [Time] date_sent_before
|
126
|
-
# @param [Time] date_sent_after
|
122
|
+
# @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
|
123
|
+
# @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
|
124
|
+
# @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
125
|
+
# @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
126
|
+
# @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
127
127
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
128
128
|
# guarantees to never return more than limit. Default is no limit
|
129
129
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -147,11 +147,11 @@ module Twilio
|
|
147
147
|
# Streams Instance records from the API as an Enumerable.
|
148
148
|
# This operation lazily loads records as efficiently as possible until the limit
|
149
149
|
# is reached.
|
150
|
-
# @param [String] to
|
151
|
-
# @param [String] from
|
152
|
-
# @param [Time] date_sent
|
153
|
-
# @param [Time] date_sent_before
|
154
|
-
# @param [Time] date_sent_after
|
150
|
+
# @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
|
151
|
+
# @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
|
152
|
+
# @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
153
|
+
# @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
154
|
+
# @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
155
155
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
156
156
|
# guarantees to never return more than limit. Default is no limit
|
157
157
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -190,28 +190,22 @@ module Twilio
|
|
190
190
|
##
|
191
191
|
# Retrieve a single page of MessageInstance records from the API.
|
192
192
|
# Request is executed immediately.
|
193
|
-
# @param [String] to
|
194
|
-
# @param [String] from
|
195
|
-
# @param [Time] date_sent
|
196
|
-
# @param [Time] date_sent_before
|
197
|
-
# @param [Time] date_sent_after
|
193
|
+
# @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
|
194
|
+
# @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
|
195
|
+
# @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
196
|
+
# @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
197
|
+
# @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
198
198
|
# @param [String] page_token PageToken provided by the API
|
199
199
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
200
200
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
201
201
|
# @return [Page] Page of MessageInstance
|
202
202
|
def page(to: :unset, from: :unset, date_sent: :unset, date_sent_before: :unset, date_sent_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
203
203
|
params = Twilio::Values.of({
|
204
|
-
|
205
204
|
'To' => to,
|
206
|
-
|
207
205
|
'From' => from,
|
208
|
-
|
209
206
|
'DateSent' => Twilio.serialize_iso8601_datetime(date_sent),
|
210
|
-
|
211
207
|
'DateSent<' => Twilio.serialize_iso8601_datetime(date_sent_before),
|
212
|
-
|
213
208
|
'DateSent>' => Twilio.serialize_iso8601_datetime(date_sent_after),
|
214
|
-
|
215
209
|
'PageToken' => page_token,
|
216
210
|
'Page' => page_number,
|
217
211
|
'PageSize' => page_size,
|
@@ -249,7 +243,7 @@ module Twilio
|
|
249
243
|
# Initialize the MessageContext
|
250
244
|
# @param [Version] version Version that contains the resource
|
251
245
|
# @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to update.
|
252
|
-
# @param [String] sid The
|
246
|
+
# @param [String] sid The SID of the Message resource to be updated
|
253
247
|
# @return [MessageContext] MessageContext
|
254
248
|
def initialize(version, account_sid, sid)
|
255
249
|
super(version)
|
@@ -286,7 +280,7 @@ module Twilio
|
|
286
280
|
|
287
281
|
##
|
288
282
|
# Update the MessageInstance
|
289
|
-
# @param [String] body The
|
283
|
+
# @param [String] body The new `body` of the Message resource. To redact the text content of a Message, this parameter's value must be an empty string
|
290
284
|
# @param [UpdateStatus] status
|
291
285
|
# @return [MessageInstance] Updated MessageInstance
|
292
286
|
def update(
|
@@ -436,13 +430,13 @@ module Twilio
|
|
436
430
|
end
|
437
431
|
|
438
432
|
##
|
439
|
-
# @return [String] The
|
433
|
+
# @return [String] The text content of the message
|
440
434
|
def body
|
441
435
|
@properties['body']
|
442
436
|
end
|
443
437
|
|
444
438
|
##
|
445
|
-
# @return [String] The number of segments that make up the complete message.
|
439
|
+
# @return [String] The number of segments that make up the complete message. SMS message bodies that exceed the [character limit](https://www.twilio.com/docs/glossary/what-sms-character-limit) are segmented and charged as multiple messages. Note: For messages sent via a Messaging Service, `num_segments` is initially `0`, since a sender hasn't yet been assigned.
|
446
440
|
def num_segments
|
447
441
|
@properties['num_segments']
|
448
442
|
end
|
@@ -454,49 +448,49 @@ module Twilio
|
|
454
448
|
end
|
455
449
|
|
456
450
|
##
|
457
|
-
# @return [String] The phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id),
|
451
|
+
# @return [String] The sender's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent.
|
458
452
|
def from
|
459
453
|
@properties['from']
|
460
454
|
end
|
461
455
|
|
462
456
|
##
|
463
|
-
# @return [String] The phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format
|
457
|
+
# @return [String] The recipient's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g. `whatsapp:+15552229999`)
|
464
458
|
def to
|
465
459
|
@properties['to']
|
466
460
|
end
|
467
461
|
|
468
462
|
##
|
469
|
-
# @return [Time] The
|
463
|
+
# @return [Time] The [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.3) timestamp (in GMT) of when the Message resource was last updated
|
470
464
|
def date_updated
|
471
465
|
@properties['date_updated']
|
472
466
|
end
|
473
467
|
|
474
468
|
##
|
475
|
-
# @return [String] The amount billed for the message
|
469
|
+
# @return [String] The amount billed for the message in the currency specified by `price_unit`. The `price` is populated after the message has been sent/received, and may not be immediately availalble. View the [Pricing page](https://www.twilio.com/en-us/pricing) for more details.
|
476
470
|
def price
|
477
471
|
@properties['price']
|
478
472
|
end
|
479
473
|
|
480
474
|
##
|
481
|
-
# @return [String] The description of the `error_code` if
|
475
|
+
# @return [String] The description of the `error_code` if the Message `status` is `failed` or `undelivered`. If no error was encountered, the value is `null`.
|
482
476
|
def error_message
|
483
477
|
@properties['error_message']
|
484
478
|
end
|
485
479
|
|
486
480
|
##
|
487
|
-
# @return [String] The URI of the resource, relative to `https://api.twilio.com`.
|
481
|
+
# @return [String] The URI of the Message resource, relative to `https://api.twilio.com`.
|
488
482
|
def uri
|
489
483
|
@properties['uri']
|
490
484
|
end
|
491
485
|
|
492
486
|
##
|
493
|
-
# @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account)
|
487
|
+
# @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with the Message resource
|
494
488
|
def account_sid
|
495
489
|
@properties['account_sid']
|
496
490
|
end
|
497
491
|
|
498
492
|
##
|
499
|
-
# @return [String] The number of media files associated with the
|
493
|
+
# @return [String] The number of media files associated with the Message resource.
|
500
494
|
def num_media
|
501
495
|
@properties['num_media']
|
502
496
|
end
|
@@ -508,31 +502,31 @@ module Twilio
|
|
508
502
|
end
|
509
503
|
|
510
504
|
##
|
511
|
-
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api)
|
505
|
+
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) associated with the Message resource. The value is `null` if a Messaging Service was not used.
|
512
506
|
def messaging_service_sid
|
513
507
|
@properties['messaging_service_sid']
|
514
508
|
end
|
515
509
|
|
516
510
|
##
|
517
|
-
# @return [String] The unique string that
|
511
|
+
# @return [String] The unique, Twilio-provided string that identifies the Message resource.
|
518
512
|
def sid
|
519
513
|
@properties['sid']
|
520
514
|
end
|
521
515
|
|
522
516
|
##
|
523
|
-
# @return [Time] The
|
517
|
+
# @return [Time] The [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.3) timestamp (in GMT) of when the Message was sent. For an outgoing message, this is when Twilio sent the message. For an incoming message, this is when Twilio sent the HTTP request to your incoming message webhook URL.
|
524
518
|
def date_sent
|
525
519
|
@properties['date_sent']
|
526
520
|
end
|
527
521
|
|
528
522
|
##
|
529
|
-
# @return [Time] The
|
523
|
+
# @return [Time] The [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.3) timestamp (in GMT) of when the Message resource was created
|
530
524
|
def date_created
|
531
525
|
@properties['date_created']
|
532
526
|
end
|
533
527
|
|
534
528
|
##
|
535
|
-
# @return [String] The error code returned if
|
529
|
+
# @return [String] The [error code](https://www.twilio.com/docs/api/errors) returned if the Message `status` is `failed` or `undelivered`. If no error was encountered, the value is `null`.
|
536
530
|
def error_code
|
537
531
|
@properties['error_code']
|
538
532
|
end
|
@@ -544,7 +538,7 @@ module Twilio
|
|
544
538
|
end
|
545
539
|
|
546
540
|
##
|
547
|
-
# @return [String] The API version used to process the
|
541
|
+
# @return [String] The API version used to process the Message
|
548
542
|
def api_version
|
549
543
|
@properties['api_version']
|
550
544
|
end
|
@@ -573,7 +567,7 @@ module Twilio
|
|
573
567
|
|
574
568
|
##
|
575
569
|
# Update the MessageInstance
|
576
|
-
# @param [String] body The
|
570
|
+
# @param [String] body The new `body` of the Message resource. To redact the text content of a Message, this parameter's value must be an empty string
|
577
571
|
# @param [UpdateStatus] status
|
578
572
|
# @return [MessageInstance] Updated MessageInstance
|
579
573
|
def update(
|
@@ -113,15 +113,10 @@ module Twilio
|
|
113
113
|
# @return [Page] Page of NotificationInstance
|
114
114
|
def page(log: :unset, message_date: :unset, message_date_before: :unset, message_date_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
115
115
|
params = Twilio::Values.of({
|
116
|
-
|
117
116
|
'Log' => log,
|
118
|
-
|
119
117
|
'MessageDate' => Twilio.serialize_iso8601_date(message_date),
|
120
|
-
|
121
118
|
'MessageDate<' => Twilio.serialize_iso8601_date(message_date_before),
|
122
|
-
|
123
119
|
'MessageDate>' => Twilio.serialize_iso8601_date(message_date_after),
|
124
|
-
|
125
120
|
'PageToken' => page_token,
|
126
121
|
'Page' => page_number,
|
127
122
|
'PageSize' => page_size,
|
@@ -103,11 +103,8 @@ module Twilio
|
|
103
103
|
# @return [Page] Page of OutgoingCallerIdInstance
|
104
104
|
def page(phone_number: :unset, friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
105
105
|
params = Twilio::Values.of({
|
106
|
-
|
107
106
|
'PhoneNumber' => phone_number,
|
108
|
-
|
109
107
|
'FriendlyName' => friendly_name,
|
110
|
-
|
111
108
|
'PageToken' => page_token,
|
112
109
|
'Page' => page_number,
|
113
110
|
'PageSize' => page_size,
|