twilio-ruby 5.38.0 → 5.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +32 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/framework/version.rb +3 -3
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +13 -30
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account.rb +10 -27
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +6 -14
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +6 -14
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -8
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +9 -25
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +9 -20
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +6 -14
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +4 -13
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +7 -19
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +27 -30
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +6 -14
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +6 -13
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +6 -13
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +6 -13
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +3 -8
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +3 -8
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +3 -8
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +6 -14
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +7 -19
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +7 -19
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +3 -8
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +3 -8
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +4 -14
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +3 -9
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +12 -25
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +4 -14
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +12 -25
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +4 -14
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +3 -9
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/restore_assistant.rb +1 -5
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +3 -9
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +6 -14
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +6 -13
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +6 -12
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +4 -14
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +12 -25
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +3 -5
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v2/service.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +9 -17
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +34 -36
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +12 -25
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +34 -36
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +34 -36
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +30 -34
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +9 -17
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +10 -22
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +34 -36
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +80 -36
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +348 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +46 -36
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/conversations/v1/webhook.rb +4 -14
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +13 -30
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +9 -17
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +12 -25
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +9 -34
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +13 -30
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +13 -30
- data/lib/twilio-ruby/rest/insights/v1/call.rb +3 -9
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +3 -5
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +3 -5
- data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +3 -7
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +12 -25
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +3 -5
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +9 -17
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +34 -36
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +12 -25
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +34 -36
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +34 -36
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +30 -34
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +9 -17
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +10 -22
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +4 -8
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +12 -25
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +12 -25
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +12 -25
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +6 -14
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +6 -14
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +13 -30
- data/lib/twilio-ruby/rest/notify/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +12 -25
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +3 -8
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +31 -27
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +9 -24
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +12 -25
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +10 -27
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +6 -14
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +6 -14
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +10 -27
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +6 -14
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +3 -9
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +6 -14
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +6 -13
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +6 -12
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +4 -14
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +13 -30
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +13 -30
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +13 -30
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +13 -30
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +13 -30
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +10 -27
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -5
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +13 -30
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +6 -14
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +6 -14
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +13 -30
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +7 -19
- data/lib/twilio-ruby/rest/preview/sync/service.rb +13 -30
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +26 -36
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +10 -22
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +12 -25
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +26 -36
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +10 -22
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +12 -25
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +26 -36
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +10 -22
- data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +3 -8
- data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +13 -11
- data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +3 -9
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand.rb +3 -9
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb +3 -9
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel/channel.rb +3 -8
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights/impressions_rate.rb +3 -7
- data/lib/twilio-ruby/rest/preview/trusted_comms/cps.rb +11 -11
- data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +25 -11
- data/lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb +3 -8
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +4 -14
- data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +4 -14
- data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +3 -9
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +12 -25
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +4 -14
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +12 -25
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +4 -14
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +3 -9
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +9 -22
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +13 -30
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +7 -19
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +3 -7
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +6 -14
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +6 -14
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +6 -14
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +3 -9
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +6 -14
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +3 -7
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +13 -30
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +13 -30
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +9 -17
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +12 -25
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +9 -22
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +6 -14
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +12 -25
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +12 -25
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +9 -22
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +6 -14
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +6 -14
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +9 -17
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +12 -25
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +13 -30
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +13 -30
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +13 -30
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +4 -14
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +1 -5
- data/lib/twilio-ruby/rest/supersim/v1/command.rb +9 -22
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +10 -27
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +6 -14
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +10 -27
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +12 -25
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +7 -19
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +3 -5
- data/lib/twilio-ruby/rest/sync/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +26 -36
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +10 -22
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +13 -30
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +32 -36
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +10 -22
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +13 -30
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +32 -36
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +10 -22
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +13 -30
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +3 -8
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +15 -17
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +3 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +7 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +13 -30
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +12 -25
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +12 -25
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +13 -30
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +12 -25
- data/lib/twilio-ruby/rest/verify.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/form.rb +7 -13
- data/lib/twilio-ruby/rest/verify/v2/service.rb +58 -33
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +124 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +62 -52
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +477 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +66 -100
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +13 -30
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +13 -30
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +13 -30
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -22
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +3 -8
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/video/v1/composition.rb +12 -25
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +13 -30
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +8 -20
- data/lib/twilio-ruby/rest/video/v1/recording.rb +9 -17
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +8 -20
- data/lib/twilio-ruby/rest/video/v1/room.rb +10 -27
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +9 -17
- data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +7 -19
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +6 -14
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +3 -13
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +6 -14
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +13 -30
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +13 -30
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +13 -30
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +3 -8
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +6 -14
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +3 -5
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +4 -14
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +13 -30
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +13 -30
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +12 -25
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +13 -30
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +10 -22
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -5
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -5
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +3 -5
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/holodeck/holodeck.rb +11 -6
- data/spec/integration/accounts/v1/credential/aws_spec.rb +0 -4
- data/spec/integration/accounts/v1/credential/public_key_spec.rb +0 -4
- data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +0 -1
- data/spec/integration/api/v2010/account/address_spec.rb +0 -4
- data/spec/integration/api/v2010/account/application_spec.rb +0 -5
- data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +0 -2
- data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +0 -1
- data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +0 -1
- data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +0 -1
- data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +0 -1
- data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +0 -1
- data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +0 -1
- data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +0 -1
- data/spec/integration/api/v2010/account/available_phone_number_spec.rb +0 -2
- data/spec/integration/api/v2010/account/balance_spec.rb +0 -1
- data/spec/integration/api/v2010/account/call/feedback_spec.rb +0 -1
- data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +0 -2
- data/spec/integration/api/v2010/account/call/notification_spec.rb +0 -2
- data/spec/integration/api/v2010/account/call/recording_spec.rb +0 -4
- data/spec/integration/api/v2010/account/call_spec.rb +0 -4
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +0 -4
- data/spec/integration/api/v2010/account/conference/recording_spec.rb +0 -3
- data/spec/integration/api/v2010/account/conference_spec.rb +0 -3
- data/spec/integration/api/v2010/account/connect_app_spec.rb +0 -4
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +0 -2
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +0 -3
- data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +0 -1
- data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +0 -1
- data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +0 -1
- data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +43 -20
- data/spec/integration/api/v2010/account/key_spec.rb +0 -4
- data/spec/integration/api/v2010/account/message/feedback_spec.rb +0 -1
- data/spec/integration/api/v2010/account/message/media_spec.rb +0 -3
- data/spec/integration/api/v2010/account/message_spec.rb +0 -3
- data/spec/integration/api/v2010/account/new_key_spec.rb +0 -1
- data/spec/integration/api/v2010/account/new_signing_key_spec.rb +0 -1
- data/spec/integration/api/v2010/account/notification_spec.rb +0 -2
- data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +0 -4
- data/spec/integration/api/v2010/account/queue/member_spec.rb +0 -2
- data/spec/integration/api/v2010/account/queue_spec.rb +0 -4
- data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +0 -3
- data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +0 -3
- data/spec/integration/api/v2010/account/recording/transcription_spec.rb +0 -3
- data/spec/integration/api/v2010/account/recording_spec.rb +0 -3
- data/spec/integration/api/v2010/account/short_code_spec.rb +0 -3
- data/spec/integration/api/v2010/account/signing_key_spec.rb +0 -4
- data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +0 -4
- data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain_spec.rb +0 -4
- data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +0 -4
- data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +0 -3
- data/spec/integration/api/v2010/account/token_spec.rb +0 -1
- data/spec/integration/api/v2010/account/transcription_spec.rb +0 -3
- data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/today_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/trigger_spec.rb +0 -4
- data/spec/integration/api/v2010/account_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/defaults_spec.rb +0 -2
- data/spec/integration/autopilot/v1/assistant/dialogue_spec.rb +0 -1
- data/spec/integration/autopilot/v1/assistant/field_type/field_value_spec.rb +0 -3
- data/spec/integration/autopilot/v1/assistant/field_type_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/model_build_spec.rb +0 -5
- data/spec/integration/autopilot/v1/assistant/query_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/style_sheet_spec.rb +0 -2
- data/spec/integration/autopilot/v1/assistant/task/field_spec.rb +0 -3
- data/spec/integration/autopilot/v1/assistant/task/sample_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/task/task_actions_spec.rb +0 -2
- data/spec/integration/autopilot/v1/assistant/task/task_statistics_spec.rb +0 -1
- data/spec/integration/autopilot/v1/assistant/task_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/webhook_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant_spec.rb +0 -5
- data/spec/integration/bulkexports/v1/export/day_spec.rb +0 -2
- data/spec/integration/bulkexports/v1/export/export_custom_job_spec.rb +0 -2
- data/spec/integration/bulkexports/v1/export/job_spec.rb +0 -2
- data/spec/integration/bulkexports/v1/export_configuration_spec.rb +0 -2
- data/spec/integration/bulkexports/v1/export_spec.rb +0 -1
- data/spec/integration/chat/v1/credential_spec.rb +0 -4
- data/spec/integration/chat/v1/service/channel/invite_spec.rb +0 -3
- data/spec/integration/chat/v1/service/channel/member_spec.rb +0 -4
- data/spec/integration/chat/v1/service/channel/message_spec.rb +0 -4
- data/spec/integration/chat/v1/service/channel_spec.rb +0 -5
- data/spec/integration/chat/v1/service/role_spec.rb +0 -3
- data/spec/integration/chat/v1/service/user/user_channel_spec.rb +0 -1
- data/spec/integration/chat/v1/service/user_spec.rb +0 -4
- data/spec/integration/chat/v1/service_spec.rb +0 -4
- data/spec/integration/chat/v2/credential_spec.rb +0 -4
- data/spec/integration/chat/v2/service/binding_spec.rb +0 -3
- data/spec/integration/chat/v2/service/channel/invite_spec.rb +0 -3
- data/spec/integration/chat/v2/service/channel/member_spec.rb +9 -7
- data/spec/integration/chat/v2/service/channel/message_spec.rb +9 -8
- data/spec/integration/chat/v2/service/channel/webhook_spec.rb +0 -4
- data/spec/integration/chat/v2/service/channel_spec.rb +9 -8
- data/spec/integration/chat/v2/service/role_spec.rb +0 -3
- data/spec/integration/chat/v2/service/user/user_binding_spec.rb +0 -3
- data/spec/integration/chat/v2/service/user/user_channel_spec.rb +0 -4
- data/spec/integration/chat/v2/service/user_spec.rb +6 -6
- data/spec/integration/chat/v2/service_spec.rb +0 -4
- data/spec/integration/conversations/v1/conversation/message/delivery_receipt_spec.rb +132 -0
- data/spec/integration/conversations/v1/conversation/message_spec.rb +93 -15
- data/spec/integration/conversations/v1/conversation/participant_spec.rb +37 -8
- data/spec/integration/conversations/v1/conversation/webhook_spec.rb +0 -4
- data/spec/integration/conversations/v1/conversation_spec.rb +9 -8
- data/spec/integration/conversations/v1/webhook_spec.rb +0 -2
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +0 -3
- data/spec/integration/fax/v1/fax_spec.rb +0 -4
- data/spec/integration/flex_api/v1/channel_spec.rb +0 -3
- data/spec/integration/flex_api/v1/configuration_spec.rb +0 -51
- data/spec/integration/flex_api/v1/flex_flow_spec.rb +0 -4
- data/spec/integration/flex_api/v1/web_channel_spec.rb +0 -4
- data/spec/integration/insights/v1/call/event_spec.rb +0 -1
- data/spec/integration/insights/v1/call/metric_spec.rb +0 -1
- data/spec/integration/insights/v1/call/summary_spec.rb +0 -1
- data/spec/integration/insights/v1/call_spec.rb +0 -1
- data/spec/integration/ip_messaging/v1/credential_spec.rb +0 -4
- data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +0 -3
- data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +0 -4
- data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +0 -4
- data/spec/integration/ip_messaging/v1/service/channel_spec.rb +0 -5
- data/spec/integration/ip_messaging/v1/service/role_spec.rb +0 -3
- data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +0 -1
- data/spec/integration/ip_messaging/v1/service/user_spec.rb +0 -4
- data/spec/integration/ip_messaging/v1/service_spec.rb +0 -4
- data/spec/integration/ip_messaging/v2/credential_spec.rb +0 -4
- data/spec/integration/ip_messaging/v2/service/binding_spec.rb +0 -3
- data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +0 -3
- data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +9 -7
- data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +9 -8
- data/spec/integration/ip_messaging/v2/service/channel/webhook_spec.rb +0 -4
- data/spec/integration/ip_messaging/v2/service/channel_spec.rb +9 -8
- data/spec/integration/ip_messaging/v2/service/role_spec.rb +0 -3
- data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +0 -3
- data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +0 -4
- data/spec/integration/ip_messaging/v2/service/user_spec.rb +6 -6
- data/spec/integration/ip_messaging/v2/service_spec.rb +0 -4
- data/spec/integration/lookups/v1/phone_number_spec.rb +0 -1
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +0 -3
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +0 -3
- data/spec/integration/messaging/v1/service/short_code_spec.rb +0 -3
- data/spec/integration/messaging/v1/service_spec.rb +0 -4
- data/spec/integration/monitor/v1/alert_spec.rb +0 -2
- data/spec/integration/monitor/v1/event_spec.rb +0 -2
- data/spec/integration/notify/v1/credential_spec.rb +0 -4
- data/spec/integration/notify/v1/service/binding_spec.rb +0 -3
- data/spec/integration/notify/v1/service/notification_spec.rb +0 -1
- data/spec/integration/notify/v1/service_spec.rb +0 -5
- data/spec/integration/numbers/v2/regulatory_compliance/bundle/evaluation_spec.rb +0 -3
- data/spec/integration/numbers/v2/regulatory_compliance/bundle/item_assignment_spec.rb +0 -3
- data/spec/integration/numbers/v2/regulatory_compliance/bundle_spec.rb +32 -4
- data/spec/integration/numbers/v2/regulatory_compliance/end_user_spec.rb +0 -3
- data/spec/integration/numbers/v2/regulatory_compliance/end_user_type_spec.rb +0 -2
- data/spec/integration/numbers/v2/regulatory_compliance/regulation_spec.rb +0 -2
- data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_spec.rb +0 -3
- data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_type_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export/export_custom_job_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export/job_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export_spec.rb +0 -1
- data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +0 -4
- data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +0 -5
- data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +0 -5
- data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +0 -5
- data/spec/integration/preview/deployed_devices/fleet_spec.rb +0 -5
- data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +0 -1
- data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +0 -3
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +0 -4
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +0 -2
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +0 -2
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +0 -2
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +0 -4
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +0 -3
- data/spec/integration/preview/sync/service/document_spec.rb +6 -6
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +6 -5
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +0 -3
- data/spec/integration/preview/sync/service/sync_list_spec.rb +0 -4
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +6 -5
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +0 -3
- data/spec/integration/preview/sync/service/sync_map_spec.rb +0 -4
- data/spec/integration/preview/sync/service_spec.rb +0 -5
- data/spec/integration/preview/trusted_comms/brands_information_spec.rb +3 -2
- data/spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/business/brand_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/business_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/cps_spec.rb +3 -2
- data/spec/integration/preview/trusted_comms/current_call_spec.rb +6 -2
- data/spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb +0 -2
- data/spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb +0 -2
- data/spec/integration/preview/understand/assistant/dialogue_spec.rb +0 -1
- data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +0 -3
- data/spec/integration/preview/understand/assistant/field_type_spec.rb +0 -4
- data/spec/integration/preview/understand/assistant/model_build_spec.rb +0 -5
- data/spec/integration/preview/understand/assistant/query_spec.rb +0 -4
- data/spec/integration/preview/understand/assistant/style_sheet_spec.rb +0 -2
- data/spec/integration/preview/understand/assistant/task/field_spec.rb +0 -3
- data/spec/integration/preview/understand/assistant/task/sample_spec.rb +0 -4
- data/spec/integration/preview/understand/assistant/task/task_actions_spec.rb +0 -2
- data/spec/integration/preview/understand/assistant/task/task_statistics_spec.rb +0 -1
- data/spec/integration/preview/understand/assistant/task_spec.rb +0 -4
- data/spec/integration/preview/understand/assistant_spec.rb +0 -5
- data/spec/integration/preview/wireless/command_spec.rb +0 -2
- data/spec/integration/preview/wireless/rate_plan_spec.rb +0 -5
- data/spec/integration/preview/wireless/sim/usage_spec.rb +0 -1
- data/spec/integration/preview/wireless/sim_spec.rb +0 -3
- data/spec/integration/pricing/v1/messaging/country_spec.rb +0 -2
- data/spec/integration/pricing/v1/phone_number/country_spec.rb +0 -2
- data/spec/integration/pricing/v1/voice/country_spec.rb +0 -2
- data/spec/integration/pricing/v1/voice/number_spec.rb +0 -1
- data/spec/integration/pricing/v2/voice/country_spec.rb +0 -2
- data/spec/integration/pricing/v2/voice/number_spec.rb +0 -1
- data/spec/integration/proxy/v1/service/phone_number_spec.rb +0 -5
- data/spec/integration/proxy/v1/service/session/interaction_spec.rb +0 -3
- data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +0 -3
- data/spec/integration/proxy/v1/service/session/participant_spec.rb +0 -3
- data/spec/integration/proxy/v1/service/session_spec.rb +0 -5
- data/spec/integration/proxy/v1/service/short_code_spec.rb +0 -4
- data/spec/integration/proxy/v1/service_spec.rb +0 -4
- data/spec/integration/serverless/v1/service/asset/asset_version_spec.rb +0 -2
- data/spec/integration/serverless/v1/service/asset_spec.rb +0 -3
- data/spec/integration/serverless/v1/service/build_spec.rb +0 -4
- data/spec/integration/serverless/v1/service/environment/deployment_spec.rb +0 -3
- data/spec/integration/serverless/v1/service/environment/log_spec.rb +0 -2
- data/spec/integration/serverless/v1/service/environment/variable_spec.rb +0 -4
- data/spec/integration/serverless/v1/service/environment_spec.rb +0 -3
- data/spec/integration/serverless/v1/service/function/function_version/function_version_content_spec.rb +0 -1
- data/spec/integration/serverless/v1/service/function/function_version_spec.rb +0 -2
- data/spec/integration/serverless/v1/service/function_spec.rb +0 -3
- data/spec/integration/serverless/v1/service_spec.rb +0 -4
- data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +0 -1
- data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +0 -1
- data/spec/integration/studio/v1/flow/engagement/step_spec.rb +0 -2
- data/spec/integration/studio/v1/flow/engagement_spec.rb +0 -3
- data/spec/integration/studio/v1/flow/execution/execution_context_spec.rb +0 -1
- data/spec/integration/studio/v1/flow/execution/execution_step/execution_step_context_spec.rb +0 -1
- data/spec/integration/studio/v1/flow/execution/execution_step_spec.rb +0 -2
- data/spec/integration/studio/v1/flow/execution_spec.rb +0 -3
- data/spec/integration/studio/v1/flow_spec.rb +0 -3
- data/spec/integration/studio/v2/flow/execution/execution_context_spec.rb +0 -1
- data/spec/integration/studio/v2/flow/execution/execution_step/execution_step_context_spec.rb +0 -1
- data/spec/integration/studio/v2/flow/execution/execution_step_spec.rb +0 -2
- data/spec/integration/studio/v2/flow/execution_spec.rb +0 -3
- data/spec/integration/studio/v2/flow/flow_revision_spec.rb +0 -2
- data/spec/integration/studio/v2/flow/test_user_spec.rb +0 -1
- data/spec/integration/studio/v2/flow_spec.rb +0 -3
- data/spec/integration/supersim/v1/command_spec.rb +0 -2
- data/spec/integration/supersim/v1/fleet_spec.rb +0 -3
- data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb +0 -3
- data/spec/integration/supersim/v1/network_access_profile_spec.rb +0 -4
- data/spec/integration/supersim/v1/network_spec.rb +0 -2
- data/spec/integration/supersim/v1/sim_spec.rb +0 -3
- data/spec/integration/supersim/v1/usage_record_spec.rb +0 -1
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +0 -3
- data/spec/integration/sync/v1/service/document_spec.rb +6 -7
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +6 -6
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +0 -3
- data/spec/integration/sync/v1/service/sync_list_spec.rb +0 -5
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +6 -6
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +0 -3
- data/spec/integration/sync/v1/service/sync_map_spec.rb +0 -5
- data/spec/integration/sync/v1/service/sync_stream_spec.rb +0 -5
- data/spec/integration/sync/v1/service_spec.rb +0 -5
- data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/event_spec.rb +0 -2
- data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +0 -3
- data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/task_spec.rb +0 -5
- data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +0 -3
- data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +0 -3
- data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace_spec.rb +0 -4
- data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +0 -3
- data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +0 -3
- data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +0 -4
- data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +0 -3
- data/spec/integration/trunking/v1/trunk_spec.rb +0 -5
- data/spec/integration/verify/v2/form_spec.rb +5 -6
- data/spec/integration/verify/v2/service/{entity/access_token_spec.rb → access_token_spec.rb} +4 -6
- data/spec/integration/verify/v2/service/entity/{factor/challenge_spec.rb → challenge_spec.rb} +33 -134
- data/spec/integration/verify/v2/service/entity/factor_spec.rb +21 -27
- data/spec/integration/verify/v2/service/entity_spec.rb +15 -10
- data/spec/integration/verify/v2/service/messaging_configuration_spec.rb +0 -3
- data/spec/integration/verify/v2/service/rate_limit/bucket_spec.rb +0 -4
- data/spec/integration/verify/v2/service/rate_limit_spec.rb +0 -4
- data/spec/integration/verify/v2/service/verification_spec.rb +0 -1
- data/spec/integration/verify/v2/service/webhook_spec.rb +0 -4
- data/spec/integration/verify/v2/service_spec.rb +8 -8
- data/spec/integration/video/v1/composition_hook_spec.rb +0 -3
- data/spec/integration/video/v1/composition_settings_spec.rb +0 -1
- data/spec/integration/video/v1/composition_spec.rb +0 -3
- data/spec/integration/video/v1/recording_settings_spec.rb +0 -1
- data/spec/integration/video/v1/recording_spec.rb +0 -3
- data/spec/integration/video/v1/room/recording_spec.rb +0 -3
- data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +0 -2
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb +0 -2
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +0 -2
- data/spec/integration/video/v1/room/room_participant_spec.rb +0 -3
- data/spec/integration/video/v1/room_spec.rb +0 -3
- data/spec/integration/voice/v1/byoc_trunk_spec.rb +0 -5
- data/spec/integration/voice/v1/connection_policy/connection_policy_target_spec.rb +0 -4
- data/spec/integration/voice/v1/connection_policy_spec.rb +0 -5
- data/spec/integration/voice/v1/dialing_permissions/country/highrisk_special_prefix_spec.rb +0 -1
- data/spec/integration/voice/v1/dialing_permissions/country_spec.rb +0 -2
- data/spec/integration/voice/v1/dialing_permissions/settings_spec.rb +0 -2
- data/spec/integration/voice/v1/ip_record_spec.rb +0 -4
- data/spec/integration/voice/v1/source_ip_mapping_spec.rb +0 -3
- data/spec/integration/wireless/v1/command_spec.rb +0 -3
- data/spec/integration/wireless/v1/rate_plan_spec.rb +0 -5
- data/spec/integration/wireless/v1/sim/data_session_spec.rb +0 -1
- data/spec/integration/wireless/v1/sim/usage_record_spec.rb +0 -1
- data/spec/integration/wireless/v1/sim_spec.rb +0 -4
- data/spec/integration/wireless/v1/usage_record_spec.rb +0 -1
- metadata +11 -8
- data/lib/twilio-ruby/rest/verify/v2/service/entity/access_token.rb +0 -141
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor/challenge.rb +0 -494
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97f0ee149435bbd62398add789961831ee075746c2f312e8d75623f02d96d38b
|
4
|
+
data.tar.gz: 9757f9bb87acd69aad26d647baeafc0b677f077110ab0ca7d78183634c148920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c891f1c65f2c542998025ce0004e102e0c7ee9d7dc6a2961c6235c8f051790655f77ed5d454902f1b97c02e98a94ea7c8911090dc1930fb653227c5431256626
|
7
|
+
data.tar.gz: '0904a46ba5a28ea18445191e37f9827ee5a0e03efeeb26a3a740dc3aababbdfcc674e9ef026051427dbe1869beb3ce0b418a41390bb01ad87f00ec72adc4e819'
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,38 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2020-07-08] Version 5.39.0
|
5
|
+
---------------------------
|
6
|
+
**Library - Feature**
|
7
|
+
- [PR #516](https://github.com/twilio/twilio-ruby/pull/516): add custom header support. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
|
8
|
+
|
9
|
+
**Library - Chore**
|
10
|
+
- [PR #515](https://github.com/twilio/twilio-ruby/pull/515): regenerate library after generator refactor. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
|
11
|
+
|
12
|
+
**Conversations**
|
13
|
+
- Allow Address updates for Participants
|
14
|
+
- Message delivery receipts
|
15
|
+
|
16
|
+
**Events**
|
17
|
+
- Add account_sid to subscription and subscribed_events resources
|
18
|
+
|
19
|
+
**Flex**
|
20
|
+
- Changed `wfm_integrations` Flex Configuration key to private **(breaking change)**
|
21
|
+
|
22
|
+
**Messaging**
|
23
|
+
- Add error states to WhatsApp Sender status with failed reason **(breaking change)**
|
24
|
+
- Delete WhatsApp Template API
|
25
|
+
- Update WhatsApp Template API
|
26
|
+
- Add WhatsApp Template Get Api (fetch and read)
|
27
|
+
|
28
|
+
**Numbers**
|
29
|
+
- Add `valid_until` in the Bundles resource
|
30
|
+
- Add API for Bundle deletion
|
31
|
+
|
32
|
+
**Verify**
|
33
|
+
- Removed support for `sms`, `totp` and `app-push` factor types in Verify push **(breaking change)**
|
34
|
+
|
35
|
+
|
4
36
|
[2020-06-24] Version 5.38.0
|
5
37
|
---------------------------
|
6
38
|
**Api**
|
data/README.md
CHANGED
@@ -32,13 +32,13 @@ This library supports the following Ruby implementations:
|
|
32
32
|
To install using [Bundler][bundler] grab the latest stable version:
|
33
33
|
|
34
34
|
```ruby
|
35
|
-
gem 'twilio-ruby', '~> 5.
|
35
|
+
gem 'twilio-ruby', '~> 5.39.0'
|
36
36
|
```
|
37
37
|
|
38
38
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
39
39
|
|
40
40
|
```bash
|
41
|
-
gem install twilio-ruby -v 5.
|
41
|
+
gem install twilio-ruby -v 5.39.0
|
42
42
|
```
|
43
43
|
|
44
44
|
To build and install the development branch yourself from the latest source:
|
@@ -57,7 +57,7 @@ module Twilio
|
|
57
57
|
Twilio::REST::RestError.new(header, response)
|
58
58
|
end
|
59
59
|
|
60
|
-
def fetch(method, uri, params
|
60
|
+
def fetch(method, uri, params: {}, data: {}, headers: {}, auth: nil, timeout: nil)
|
61
61
|
response = request(
|
62
62
|
method,
|
63
63
|
uri,
|
@@ -93,7 +93,7 @@ module Twilio
|
|
93
93
|
response.body
|
94
94
|
end
|
95
95
|
|
96
|
-
def delete(method, uri, params
|
96
|
+
def delete(method, uri, params: {}, data: {}, headers: {}, auth: nil, timeout: nil)
|
97
97
|
response = request(
|
98
98
|
method,
|
99
99
|
uri,
|
@@ -127,7 +127,7 @@ module Twilio
|
|
127
127
|
}
|
128
128
|
end
|
129
129
|
|
130
|
-
def page(method, uri, params = {}, data = {}, headers
|
130
|
+
def page(method, uri, params = {}, data = {}, headers: {}, auth: nil, timeout: nil)
|
131
131
|
request(
|
132
132
|
method,
|
133
133
|
uri,
|
@@ -85,11 +85,9 @@ module Twilio
|
|
85
85
|
'Page' => page_number,
|
86
86
|
'PageSize' => page_size,
|
87
87
|
})
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
params
|
92
|
-
)
|
88
|
+
|
89
|
+
response = @version.page('GET', @uri, params)
|
90
|
+
|
93
91
|
AwsPage.new(@version, response, @solution)
|
94
92
|
end
|
95
93
|
|
@@ -107,8 +105,7 @@ module Twilio
|
|
107
105
|
end
|
108
106
|
|
109
107
|
##
|
110
|
-
#
|
111
|
-
# Request is executed immediately.
|
108
|
+
# Create the AwsInstance
|
112
109
|
# @param [String] credentials A string that contains the AWS access credentials in
|
113
110
|
# the format `<AWS_ACCESS_KEY_ID>:<AWS_SECRET_ACCESS_KEY>`. For example,
|
114
111
|
# `AKIAIOSFODNN7EXAMPLE:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`
|
@@ -117,7 +114,7 @@ module Twilio
|
|
117
114
|
# @param [String] account_sid The SID of the Subaccount that this Credential
|
118
115
|
# should be associated with. Must be a valid Subaccount of the account issuing the
|
119
116
|
# request.
|
120
|
-
# @return [AwsInstance]
|
117
|
+
# @return [AwsInstance] Created AwsInstance
|
121
118
|
def create(credentials: nil, friendly_name: :unset, account_sid: :unset)
|
122
119
|
data = Twilio::Values.of({
|
123
120
|
'Credentials' => credentials,
|
@@ -125,11 +122,7 @@ module Twilio
|
|
125
122
|
'AccountSid' => account_sid,
|
126
123
|
})
|
127
124
|
|
128
|
-
payload = @version.create(
|
129
|
-
'POST',
|
130
|
-
@uri,
|
131
|
-
data: data
|
132
|
-
)
|
125
|
+
payload = @version.create('POST', @uri, data: data)
|
133
126
|
|
134
127
|
AwsInstance.new(@version, payload, )
|
135
128
|
end
|
@@ -186,16 +179,10 @@ module Twilio
|
|
186
179
|
end
|
187
180
|
|
188
181
|
##
|
189
|
-
# Fetch
|
182
|
+
# Fetch the AwsInstance
|
190
183
|
# @return [AwsInstance] Fetched AwsInstance
|
191
184
|
def fetch
|
192
|
-
|
193
|
-
|
194
|
-
payload = @version.fetch(
|
195
|
-
'GET',
|
196
|
-
@uri,
|
197
|
-
params,
|
198
|
-
)
|
185
|
+
payload = @version.fetch('GET', @uri)
|
199
186
|
|
200
187
|
AwsInstance.new(@version, payload, sid: @solution[:sid], )
|
201
188
|
end
|
@@ -208,20 +195,16 @@ module Twilio
|
|
208
195
|
def update(friendly_name: :unset)
|
209
196
|
data = Twilio::Values.of({'FriendlyName' => friendly_name, })
|
210
197
|
|
211
|
-
payload = @version.update(
|
212
|
-
'POST',
|
213
|
-
@uri,
|
214
|
-
data: data,
|
215
|
-
)
|
198
|
+
payload = @version.update('POST', @uri, data: data)
|
216
199
|
|
217
200
|
AwsInstance.new(@version, payload, sid: @solution[:sid], )
|
218
201
|
end
|
219
202
|
|
220
203
|
##
|
221
|
-
#
|
204
|
+
# Delete the AwsInstance
|
222
205
|
# @return [Boolean] true if delete succeeds, false otherwise
|
223
206
|
def delete
|
224
|
-
|
207
|
+
@version.delete('DELETE', @uri)
|
225
208
|
end
|
226
209
|
|
227
210
|
##
|
@@ -313,7 +296,7 @@ module Twilio
|
|
313
296
|
end
|
314
297
|
|
315
298
|
##
|
316
|
-
# Fetch
|
299
|
+
# Fetch the AwsInstance
|
317
300
|
# @return [AwsInstance] Fetched AwsInstance
|
318
301
|
def fetch
|
319
302
|
context.fetch
|
@@ -329,7 +312,7 @@ module Twilio
|
|
329
312
|
end
|
330
313
|
|
331
314
|
##
|
332
|
-
#
|
315
|
+
# Delete the AwsInstance
|
333
316
|
# @return [Boolean] true if delete succeeds, false otherwise
|
334
317
|
def delete
|
335
318
|
context.delete
|
@@ -85,11 +85,9 @@ module Twilio
|
|
85
85
|
'Page' => page_number,
|
86
86
|
'PageSize' => page_size,
|
87
87
|
})
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
params
|
92
|
-
)
|
88
|
+
|
89
|
+
response = @version.page('GET', @uri, params)
|
90
|
+
|
93
91
|
PublicKeyPage.new(@version, response, @solution)
|
94
92
|
end
|
95
93
|
|
@@ -107,8 +105,7 @@ module Twilio
|
|
107
105
|
end
|
108
106
|
|
109
107
|
##
|
110
|
-
#
|
111
|
-
# Request is executed immediately.
|
108
|
+
# Create the PublicKeyInstance
|
112
109
|
# @param [String] public_key A URL encoded representation of the public key. For
|
113
110
|
# example, `-----BEGIN PUBLIC KEY-----MIIBIjANB.pa9xQIDAQAB-----END PUBLIC
|
114
111
|
# KEY-----`
|
@@ -117,7 +114,7 @@ module Twilio
|
|
117
114
|
# @param [String] account_sid The SID of the Subaccount that this Credential
|
118
115
|
# should be associated with. Must be a valid Subaccount of the account issuing the
|
119
116
|
# request
|
120
|
-
# @return [PublicKeyInstance]
|
117
|
+
# @return [PublicKeyInstance] Created PublicKeyInstance
|
121
118
|
def create(public_key: nil, friendly_name: :unset, account_sid: :unset)
|
122
119
|
data = Twilio::Values.of({
|
123
120
|
'PublicKey' => public_key,
|
@@ -125,11 +122,7 @@ module Twilio
|
|
125
122
|
'AccountSid' => account_sid,
|
126
123
|
})
|
127
124
|
|
128
|
-
payload = @version.create(
|
129
|
-
'POST',
|
130
|
-
@uri,
|
131
|
-
data: data
|
132
|
-
)
|
125
|
+
payload = @version.create('POST', @uri, data: data)
|
133
126
|
|
134
127
|
PublicKeyInstance.new(@version, payload, )
|
135
128
|
end
|
@@ -186,16 +179,10 @@ module Twilio
|
|
186
179
|
end
|
187
180
|
|
188
181
|
##
|
189
|
-
# Fetch
|
182
|
+
# Fetch the PublicKeyInstance
|
190
183
|
# @return [PublicKeyInstance] Fetched PublicKeyInstance
|
191
184
|
def fetch
|
192
|
-
|
193
|
-
|
194
|
-
payload = @version.fetch(
|
195
|
-
'GET',
|
196
|
-
@uri,
|
197
|
-
params,
|
198
|
-
)
|
185
|
+
payload = @version.fetch('GET', @uri)
|
199
186
|
|
200
187
|
PublicKeyInstance.new(@version, payload, sid: @solution[:sid], )
|
201
188
|
end
|
@@ -208,20 +195,16 @@ module Twilio
|
|
208
195
|
def update(friendly_name: :unset)
|
209
196
|
data = Twilio::Values.of({'FriendlyName' => friendly_name, })
|
210
197
|
|
211
|
-
payload = @version.update(
|
212
|
-
'POST',
|
213
|
-
@uri,
|
214
|
-
data: data,
|
215
|
-
)
|
198
|
+
payload = @version.update('POST', @uri, data: data)
|
216
199
|
|
217
200
|
PublicKeyInstance.new(@version, payload, sid: @solution[:sid], )
|
218
201
|
end
|
219
202
|
|
220
203
|
##
|
221
|
-
#
|
204
|
+
# Delete the PublicKeyInstance
|
222
205
|
# @return [Boolean] true if delete succeeds, false otherwise
|
223
206
|
def delete
|
224
|
-
|
207
|
+
@version.delete('DELETE', @uri)
|
225
208
|
end
|
226
209
|
|
227
210
|
##
|
@@ -313,7 +296,7 @@ module Twilio
|
|
313
296
|
end
|
314
297
|
|
315
298
|
##
|
316
|
-
# Fetch
|
299
|
+
# Fetch the PublicKeyInstance
|
317
300
|
# @return [PublicKeyInstance] Fetched PublicKeyInstance
|
318
301
|
def fetch
|
319
302
|
context.fetch
|
@@ -329,7 +312,7 @@ module Twilio
|
|
329
312
|
end
|
330
313
|
|
331
314
|
##
|
332
|
-
#
|
315
|
+
# Delete the PublicKeyInstance
|
333
316
|
# @return [Boolean] true if delete succeeds, false otherwise
|
334
317
|
def delete
|
335
318
|
context.delete
|
@@ -24,19 +24,14 @@ module Twilio
|
|
24
24
|
end
|
25
25
|
|
26
26
|
##
|
27
|
-
#
|
28
|
-
# Request is executed immediately.
|
27
|
+
# Create the AccountInstance
|
29
28
|
# @param [String] friendly_name A human readable description of the account to
|
30
29
|
# create, defaults to `SubAccount Created at {YYYY-MM-DD HH:MM meridian}`
|
31
|
-
# @return [AccountInstance]
|
30
|
+
# @return [AccountInstance] Created AccountInstance
|
32
31
|
def create(friendly_name: :unset)
|
33
32
|
data = Twilio::Values.of({'FriendlyName' => friendly_name, })
|
34
33
|
|
35
|
-
payload = @version.create(
|
36
|
-
'POST',
|
37
|
-
@uri,
|
38
|
-
data: data
|
39
|
-
)
|
34
|
+
payload = @version.create('POST', @uri, data: data)
|
40
35
|
|
41
36
|
AccountInstance.new(@version, payload, )
|
42
37
|
end
|
@@ -121,11 +116,9 @@ module Twilio
|
|
121
116
|
'Page' => page_number,
|
122
117
|
'PageSize' => page_size,
|
123
118
|
})
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
params
|
128
|
-
)
|
119
|
+
|
120
|
+
response = @version.page('GET', @uri, params)
|
121
|
+
|
129
122
|
AccountPage.new(@version, response, @solution)
|
130
123
|
end
|
131
124
|
|
@@ -220,16 +213,10 @@ module Twilio
|
|
220
213
|
end
|
221
214
|
|
222
215
|
##
|
223
|
-
# Fetch
|
216
|
+
# Fetch the AccountInstance
|
224
217
|
# @return [AccountInstance] Fetched AccountInstance
|
225
218
|
def fetch
|
226
|
-
|
227
|
-
|
228
|
-
payload = @version.fetch(
|
229
|
-
'GET',
|
230
|
-
@uri,
|
231
|
-
params,
|
232
|
-
)
|
219
|
+
payload = @version.fetch('GET', @uri)
|
233
220
|
|
234
221
|
AccountInstance.new(@version, payload, sid: @solution[:sid], )
|
235
222
|
end
|
@@ -245,11 +232,7 @@ module Twilio
|
|
245
232
|
def update(friendly_name: :unset, status: :unset)
|
246
233
|
data = Twilio::Values.of({'FriendlyName' => friendly_name, 'Status' => status, })
|
247
234
|
|
248
|
-
payload = @version.update(
|
249
|
-
'POST',
|
250
|
-
@uri,
|
251
|
-
data: data,
|
252
|
-
)
|
235
|
+
payload = @version.update('POST', @uri, data: data)
|
253
236
|
|
254
237
|
AccountInstance.new(@version, payload, sid: @solution[:sid], )
|
255
238
|
end
|
@@ -764,7 +747,7 @@ module Twilio
|
|
764
747
|
end
|
765
748
|
|
766
749
|
##
|
767
|
-
# Fetch
|
750
|
+
# Fetch the AccountInstance
|
768
751
|
# @return [AccountInstance] Fetched AccountInstance
|
769
752
|
def fetch
|
770
753
|
context.fetch
|
@@ -28,8 +28,7 @@ module Twilio
|
|
28
28
|
end
|
29
29
|
|
30
30
|
##
|
31
|
-
#
|
32
|
-
# Request is executed immediately.
|
31
|
+
# Create the AddressInstance
|
33
32
|
# @param [String] customer_name The name to associate with the new address.
|
34
33
|
# @param [String] street The number and street address of the new address.
|
35
34
|
# @param [String] city The city of the new address.
|
@@ -44,7 +43,7 @@ module Twilio
|
|
44
43
|
# the address. Can be: `true` or `false` and the default is `true`. If empty or
|
45
44
|
# `true`, we will correct the address you provide if necessary. If `false`, we
|
46
45
|
# won't alter the address you provide.
|
47
|
-
# @return [AddressInstance]
|
46
|
+
# @return [AddressInstance] Created AddressInstance
|
48
47
|
def create(customer_name: nil, street: nil, city: nil, region: nil, postal_code: nil, iso_country: nil, friendly_name: :unset, emergency_enabled: :unset, auto_correct_address: :unset)
|
49
48
|
data = Twilio::Values.of({
|
50
49
|
'CustomerName' => customer_name,
|
@@ -58,11 +57,7 @@ module Twilio
|
|
58
57
|
'AutoCorrectAddress' => auto_correct_address,
|
59
58
|
})
|
60
59
|
|
61
|
-
payload = @version.create(
|
62
|
-
'POST',
|
63
|
-
@uri,
|
64
|
-
data: data
|
65
|
-
)
|
60
|
+
payload = @version.create('POST', @uri, data: data)
|
66
61
|
|
67
62
|
AddressInstance.new(@version, payload, account_sid: @solution[:account_sid], )
|
68
63
|
end
|
@@ -160,11 +155,9 @@ module Twilio
|
|
160
155
|
'Page' => page_number,
|
161
156
|
'PageSize' => page_size,
|
162
157
|
})
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
params
|
167
|
-
)
|
158
|
+
|
159
|
+
response = @version.page('GET', @uri, params)
|
160
|
+
|
168
161
|
AddressPage.new(@version, response, @solution)
|
169
162
|
end
|
170
163
|
|
@@ -239,23 +232,17 @@ module Twilio
|
|
239
232
|
end
|
240
233
|
|
241
234
|
##
|
242
|
-
#
|
235
|
+
# Delete the AddressInstance
|
243
236
|
# @return [Boolean] true if delete succeeds, false otherwise
|
244
237
|
def delete
|
245
|
-
|
238
|
+
@version.delete('DELETE', @uri)
|
246
239
|
end
|
247
240
|
|
248
241
|
##
|
249
|
-
# Fetch
|
242
|
+
# Fetch the AddressInstance
|
250
243
|
# @return [AddressInstance] Fetched AddressInstance
|
251
244
|
def fetch
|
252
|
-
|
253
|
-
|
254
|
-
payload = @version.fetch(
|
255
|
-
'GET',
|
256
|
-
@uri,
|
257
|
-
params,
|
258
|
-
)
|
245
|
+
payload = @version.fetch('GET', @uri)
|
259
246
|
|
260
247
|
AddressInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
|
261
248
|
end
|
@@ -288,11 +275,7 @@ module Twilio
|
|
288
275
|
'AutoCorrectAddress' => auto_correct_address,
|
289
276
|
})
|
290
277
|
|
291
|
-
payload = @version.update(
|
292
|
-
'POST',
|
293
|
-
@uri,
|
294
|
-
data: data,
|
295
|
-
)
|
278
|
+
payload = @version.update('POST', @uri, data: data)
|
296
279
|
|
297
280
|
AddressInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
|
298
281
|
end
|
@@ -468,14 +451,14 @@ module Twilio
|
|
468
451
|
end
|
469
452
|
|
470
453
|
##
|
471
|
-
#
|
454
|
+
# Delete the AddressInstance
|
472
455
|
# @return [Boolean] true if delete succeeds, false otherwise
|
473
456
|
def delete
|
474
457
|
context.delete
|
475
458
|
end
|
476
459
|
|
477
460
|
##
|
478
|
-
# Fetch
|
461
|
+
# Fetch the AddressInstance
|
479
462
|
# @return [AddressInstance] Fetched AddressInstance
|
480
463
|
def fetch
|
481
464
|
context.fetch
|