twilio-ruby 5.35.0 → 5.39.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 +126 -0
- data/README.md +9 -3
- 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 +100 -117
- 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 +21 -19
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +60 -39
- 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 +84 -101
- 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 +42 -59
- 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 +15 -20
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +13 -46
- 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 +25 -33
- 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/client.rb +0 -7
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +59 -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 +70 -37
- 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 +14 -26
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +16 -34
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +19 -33
- 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 +14 -22
- 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 +33 -31
- 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.rb +6 -0
- 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.rb +7 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +3 -8
- data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +195 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +29 -9
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand.rb +233 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb +260 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel/channel.rb +189 -0
- 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 +13 -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.rb +11 -1
- data/lib/twilio-ruby/rest/supersim/v1.rb +16 -1
- data/lib/twilio-ruby/rest/supersim/v1/command.rb +9 -22
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +44 -48
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +307 -0
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +63 -39
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +339 -0
- 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 +9 -0
- data/lib/twilio-ruby/rest/verify/v2.rb +16 -0
- data/lib/twilio-ruby/rest/{authy/v1 → verify/v2}/form.rb +15 -21
- data/lib/twilio-ruby/rest/verify/v2/service.rb +110 -33
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +124 -0
- data/lib/twilio-ruby/rest/{authy/v1 → verify/v2}/service/entity.rb +82 -48
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +477 -0
- data/lib/twilio-ruby/rest/{authy/v1 → verify/v2}/service/entity/factor.rb +74 -108
- 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 +408 -0
- 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 +16 -24
- data/lib/twilio-ruby/rest/video/v1/recording.rb +9 -17
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +16 -24
- 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/framework/version_spec.rb +166 -0
- 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 +5 -9
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +177 -4
- data/spec/integration/api/v2010/account/conference/recording_spec.rb +0 -3
- data/spec/integration/api/v2010/account/conference_spec.rb +42 -17
- 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 +8 -18
- 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/validation_request_spec.rb +1 -1
- 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 +4 -8
- 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 +4 -13
- 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 +44 -8
- data/spec/integration/conversations/v1/conversation/webhook_spec.rb +0 -4
- data/spec/integration/conversations/v1/conversation_spec.rb +25 -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 +3 -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 +45 -0
- data/spec/integration/preview/trusted_comms/business/brand/branded_channel/channel_spec.rb +54 -0
- data/spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb +51 -0
- data/spec/integration/preview/trusted_comms/business/brand_spec.rb +48 -0
- data/spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/business_spec.rb +1 -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 +1 -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 +8 -6
- data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb +176 -0
- data/spec/integration/supersim/v1/network_access_profile_spec.rb +20 -9
- data/spec/integration/supersim/v1/network_spec.rb +137 -0
- data/spec/integration/supersim/v1/sim_spec.rb +78 -9
- 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 +13 -16
- data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +23 -26
- data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +28 -32
- data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +17 -20
- data/spec/integration/trunking/v1/trunk_spec.rb +33 -38
- data/spec/integration/{authy/v1 → verify/v2}/form_spec.rb +5 -6
- data/spec/integration/verify/v2/service/access_token_spec.rb +44 -0
- data/spec/integration/verify/v2/service/entity/challenge_spec.rb +252 -0
- data/spec/integration/{authy/v1 → verify/v2}/service/entity/factor_spec.rb +61 -67
- data/spec/integration/verify/v2/service/entity_spec.rb +209 -0
- 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 +258 -0
- data/spec/integration/verify/v2/service_spec.rb +32 -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 +43 -22
- data/lib/twilio-ruby/rest/authy.rb +0 -55
- data/lib/twilio-ruby/rest/authy/v1.rb +0 -59
- data/lib/twilio-ruby/rest/authy/v1/service.rb +0 -404
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb +0 -494
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/export_assistant.rb +0 -222
- data/spec/integration/authy/v1/service/entity/factor/challenge_spec.rb +0 -353
- data/spec/integration/authy/v1/service/entity_spec.rb +0 -201
- data/spec/integration/authy/v1/service_spec.rb +0 -231
- data/spec/integration/autopilot/v1/assistant/export_assistant_spec.rb +0 -49
@@ -14,14 +14,15 @@ describe 'Participant' do
|
|
14
14
|
|
15
15
|
expect {
|
16
16
|
@client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
17
|
-
.participants.create()
|
17
|
+
.participants.create(x_twilio_webhook_enabled: 'true')
|
18
18
|
}.to raise_exception(Twilio::REST::TwilioError)
|
19
19
|
|
20
|
-
|
20
|
+
headers = {'X-Twilio-Webhook-Enabled' => 'true', }
|
21
21
|
expect(
|
22
22
|
@holodeck.has_request?(Holodeck::Request.new(
|
23
23
|
method: 'post',
|
24
24
|
url: 'https://conversations.twilio.com/v1/Conversations/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Participants',
|
25
|
+
headers: headers,
|
25
26
|
))).to eq(true)
|
26
27
|
end
|
27
28
|
|
@@ -40,6 +41,7 @@ describe 'Participant' do
|
|
40
41
|
"address": "+15558675310",
|
41
42
|
"proxy_address": "+15017122661"
|
42
43
|
},
|
44
|
+
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
43
45
|
"date_created": "2015-12-16T22:18:37Z",
|
44
46
|
"date_updated": "2015-12-16T22:18:38Z",
|
45
47
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
@@ -64,6 +66,7 @@ describe 'Participant' do
|
|
64
66
|
"identity": "IDENTITY",
|
65
67
|
"attributes": "{ \\"role\\": \\"driver\\" }",
|
66
68
|
"messaging_binding": null,
|
69
|
+
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
67
70
|
"date_created": "2015-12-16T22:18:37Z",
|
68
71
|
"date_updated": "2015-12-16T22:18:38Z",
|
69
72
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
@@ -91,6 +94,7 @@ describe 'Participant' do
|
|
91
94
|
"type": "sms",
|
92
95
|
"projected_address": "+15017122661"
|
93
96
|
},
|
97
|
+
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
94
98
|
"date_created": "2015-12-16T22:18:37Z",
|
95
99
|
"date_updated": "2015-12-16T22:18:38Z",
|
96
100
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
@@ -109,14 +113,15 @@ describe 'Participant' do
|
|
109
113
|
|
110
114
|
expect {
|
111
115
|
@client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
112
|
-
.participants('MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
116
|
+
.participants('MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update(x_twilio_webhook_enabled: 'true')
|
113
117
|
}.to raise_exception(Twilio::REST::TwilioError)
|
114
118
|
|
115
|
-
|
119
|
+
headers = {'X-Twilio-Webhook-Enabled' => 'true', }
|
116
120
|
expect(
|
117
121
|
@holodeck.has_request?(Holodeck::Request.new(
|
118
122
|
method: 'post',
|
119
123
|
url: 'https://conversations.twilio.com/v1/Conversations/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Participants/MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
|
124
|
+
headers: headers,
|
120
125
|
))).to eq(true)
|
121
126
|
end
|
122
127
|
|
@@ -135,6 +140,35 @@ describe 'Participant' do
|
|
135
140
|
"address": "+15558675310",
|
136
141
|
"proxy_address": "+15017122661"
|
137
142
|
},
|
143
|
+
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
144
|
+
"date_created": "2015-12-16T22:18:37Z",
|
145
|
+
"date_updated": "2015-12-16T22:18:38Z",
|
146
|
+
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
147
|
+
}
|
148
|
+
]
|
149
|
+
))
|
150
|
+
|
151
|
+
actual = @client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
152
|
+
.participants('MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
153
|
+
|
154
|
+
expect(actual).to_not eq(nil)
|
155
|
+
end
|
156
|
+
|
157
|
+
it "receives update_gmms responses" do
|
158
|
+
@holodeck.mock(Twilio::Response.new(
|
159
|
+
200,
|
160
|
+
%q[
|
161
|
+
{
|
162
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
163
|
+
"conversation_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
164
|
+
"sid": "MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
165
|
+
"identity": "id",
|
166
|
+
"attributes": "{ \\"role\\": \\"driver\\" }",
|
167
|
+
"messaging_binding": {
|
168
|
+
"type": "sms",
|
169
|
+
"projected_address": "+15017122661"
|
170
|
+
},
|
171
|
+
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
138
172
|
"date_created": "2015-12-16T22:18:37Z",
|
139
173
|
"date_updated": "2015-12-16T22:18:38Z",
|
140
174
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
@@ -153,14 +187,15 @@ describe 'Participant' do
|
|
153
187
|
|
154
188
|
expect {
|
155
189
|
@client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
156
|
-
.participants('MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
190
|
+
.participants('MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete(x_twilio_webhook_enabled: 'true')
|
157
191
|
}.to raise_exception(Twilio::REST::TwilioError)
|
158
192
|
|
159
|
-
|
193
|
+
headers = {'X-Twilio-Webhook-Enabled' => 'true', }
|
160
194
|
expect(
|
161
195
|
@holodeck.has_request?(Holodeck::Request.new(
|
162
196
|
method: 'delete',
|
163
197
|
url: 'https://conversations.twilio.com/v1/Conversations/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Participants/MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
|
198
|
+
headers: headers,
|
164
199
|
))).to eq(true)
|
165
200
|
end
|
166
201
|
|
@@ -184,7 +219,6 @@ describe 'Participant' do
|
|
184
219
|
.participants('MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
185
220
|
}.to raise_exception(Twilio::REST::TwilioError)
|
186
221
|
|
187
|
-
values = {}
|
188
222
|
expect(
|
189
223
|
@holodeck.has_request?(Holodeck::Request.new(
|
190
224
|
method: 'get',
|
@@ -207,6 +241,7 @@ describe 'Participant' do
|
|
207
241
|
"address": "+15558675310",
|
208
242
|
"proxy_address": "+15017122661"
|
209
243
|
},
|
244
|
+
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
210
245
|
"date_created": "2016-03-24T21:05:50Z",
|
211
246
|
"date_updated": "2016-03-24T21:05:50Z",
|
212
247
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
@@ -228,7 +263,6 @@ describe 'Participant' do
|
|
228
263
|
.participants.list()
|
229
264
|
}.to raise_exception(Twilio::REST::TwilioError)
|
230
265
|
|
231
|
-
values = {}
|
232
266
|
expect(
|
233
267
|
@holodeck.has_request?(Holodeck::Request.new(
|
234
268
|
method: 'get',
|
@@ -262,6 +296,7 @@ describe 'Participant' do
|
|
262
296
|
"address": "+15558675310",
|
263
297
|
"proxy_address": "+15017122661"
|
264
298
|
},
|
299
|
+
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
265
300
|
"date_created": "2016-03-24T21:05:50Z",
|
266
301
|
"date_updated": "2016-03-24T21:05:50Z",
|
267
302
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
@@ -273,6 +308,7 @@ describe 'Participant' do
|
|
273
308
|
"identity": "IDENTITY",
|
274
309
|
"attributes": "{ \\"role\\": \\"driver\\" }",
|
275
310
|
"messaging_binding": null,
|
311
|
+
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
276
312
|
"date_created": "2016-03-24T21:05:50Z",
|
277
313
|
"date_updated": "2016-03-24T21:05:50Z",
|
278
314
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
@@ -17,7 +17,6 @@ describe 'Webhook' do
|
|
17
17
|
.webhooks.list()
|
18
18
|
}.to raise_exception(Twilio::REST::TwilioError)
|
19
19
|
|
20
|
-
values = {}
|
21
20
|
expect(
|
22
21
|
@holodeck.has_request?(Holodeck::Request.new(
|
23
22
|
method: 'get',
|
@@ -130,7 +129,6 @@ describe 'Webhook' do
|
|
130
129
|
.webhooks('WHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
131
130
|
}.to raise_exception(Twilio::REST::TwilioError)
|
132
131
|
|
133
|
-
values = {}
|
134
132
|
expect(
|
135
133
|
@holodeck.has_request?(Holodeck::Request.new(
|
136
134
|
method: 'get',
|
@@ -218,7 +216,6 @@ describe 'Webhook' do
|
|
218
216
|
.webhooks('WHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
219
217
|
}.to raise_exception(Twilio::REST::TwilioError)
|
220
218
|
|
221
|
-
values = {}
|
222
219
|
expect(
|
223
220
|
@holodeck.has_request?(Holodeck::Request.new(
|
224
221
|
method: 'post',
|
@@ -264,7 +261,6 @@ describe 'Webhook' do
|
|
264
261
|
.webhooks('WHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
265
262
|
}.to raise_exception(Twilio::REST::TwilioError)
|
266
263
|
|
267
|
-
values = {}
|
268
264
|
expect(
|
269
265
|
@holodeck.has_request?(Holodeck::Request.new(
|
270
266
|
method: 'delete',
|
@@ -13,14 +13,15 @@ describe 'Conversation' do
|
|
13
13
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
14
14
|
|
15
15
|
expect {
|
16
|
-
@client.conversations.v1.conversations.create()
|
16
|
+
@client.conversations.v1.conversations.create(x_twilio_webhook_enabled: 'true')
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
|
-
|
19
|
+
headers = {'X-Twilio-Webhook-Enabled' => 'true', }
|
20
20
|
expect(
|
21
21
|
@holodeck.has_request?(Holodeck::Request.new(
|
22
22
|
method: 'post',
|
23
23
|
url: 'https://conversations.twilio.com/v1/Conversations',
|
24
|
+
headers: headers,
|
24
25
|
))).to eq(true)
|
25
26
|
end
|
26
27
|
|
@@ -38,6 +39,10 @@ describe 'Conversation' do
|
|
38
39
|
"date_created": "2015-12-16T22:18:37Z",
|
39
40
|
"date_updated": "2015-12-16T22:18:38Z",
|
40
41
|
"state": "inactive",
|
42
|
+
"timers": {
|
43
|
+
"date_inactive": "2015-12-16T22:19:38Z",
|
44
|
+
"date_closed": "2015-12-16T22:28:38Z"
|
45
|
+
},
|
41
46
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
42
47
|
"links": {
|
43
48
|
"participants": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants",
|
@@ -57,14 +62,15 @@ describe 'Conversation' do
|
|
57
62
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
58
63
|
|
59
64
|
expect {
|
60
|
-
@client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
65
|
+
@client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update(x_twilio_webhook_enabled: 'true')
|
61
66
|
}.to raise_exception(Twilio::REST::TwilioError)
|
62
67
|
|
63
|
-
|
68
|
+
headers = {'X-Twilio-Webhook-Enabled' => 'true', }
|
64
69
|
expect(
|
65
70
|
@holodeck.has_request?(Holodeck::Request.new(
|
66
71
|
method: 'post',
|
67
72
|
url: 'https://conversations.twilio.com/v1/Conversations/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
|
73
|
+
headers: headers,
|
68
74
|
))).to eq(true)
|
69
75
|
end
|
70
76
|
|
@@ -82,6 +88,10 @@ describe 'Conversation' do
|
|
82
88
|
"date_created": "2015-12-16T22:18:37Z",
|
83
89
|
"date_updated": "2015-12-16T22:18:38Z",
|
84
90
|
"state": "inactive",
|
91
|
+
"timers": {
|
92
|
+
"date_inactive": "2015-12-16T22:19:38Z",
|
93
|
+
"date_closed": "2015-12-16T22:28:38Z"
|
94
|
+
},
|
85
95
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
86
96
|
"links": {
|
87
97
|
"participants": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants",
|
@@ -101,14 +111,15 @@ describe 'Conversation' do
|
|
101
111
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
102
112
|
|
103
113
|
expect {
|
104
|
-
@client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
114
|
+
@client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete(x_twilio_webhook_enabled: 'true')
|
105
115
|
}.to raise_exception(Twilio::REST::TwilioError)
|
106
116
|
|
107
|
-
|
117
|
+
headers = {'X-Twilio-Webhook-Enabled' => 'true', }
|
108
118
|
expect(
|
109
119
|
@holodeck.has_request?(Holodeck::Request.new(
|
110
120
|
method: 'delete',
|
111
121
|
url: 'https://conversations.twilio.com/v1/Conversations/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
|
122
|
+
headers: headers,
|
112
123
|
))).to eq(true)
|
113
124
|
end
|
114
125
|
|
@@ -130,7 +141,6 @@ describe 'Conversation' do
|
|
130
141
|
@client.conversations.v1.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
131
142
|
}.to raise_exception(Twilio::REST::TwilioError)
|
132
143
|
|
133
|
-
values = {}
|
134
144
|
expect(
|
135
145
|
@holodeck.has_request?(Holodeck::Request.new(
|
136
146
|
method: 'get',
|
@@ -152,6 +162,10 @@ describe 'Conversation' do
|
|
152
162
|
"date_created": "2015-12-16T22:18:37Z",
|
153
163
|
"date_updated": "2015-12-16T22:18:38Z",
|
154
164
|
"state": "active",
|
165
|
+
"timers": {
|
166
|
+
"date_inactive": "2015-12-16T22:19:38Z",
|
167
|
+
"date_closed": "2015-12-16T22:28:38Z"
|
168
|
+
},
|
155
169
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
156
170
|
"links": {
|
157
171
|
"participants": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants",
|
@@ -174,7 +188,6 @@ describe 'Conversation' do
|
|
174
188
|
@client.conversations.v1.conversations.list()
|
175
189
|
}.to raise_exception(Twilio::REST::TwilioError)
|
176
190
|
|
177
|
-
values = {}
|
178
191
|
expect(
|
179
192
|
@holodeck.has_request?(Holodeck::Request.new(
|
180
193
|
method: 'get',
|
@@ -198,6 +211,10 @@ describe 'Conversation' do
|
|
198
211
|
"date_created": "2015-12-16T22:18:37Z",
|
199
212
|
"date_updated": "2015-12-16T22:18:38Z",
|
200
213
|
"state": "active",
|
214
|
+
"timers": {
|
215
|
+
"date_inactive": "2015-12-16T22:19:38Z",
|
216
|
+
"date_closed": "2015-12-16T22:28:38Z"
|
217
|
+
},
|
201
218
|
"url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
202
219
|
"links": {
|
203
220
|
"participants": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants",
|
@@ -16,7 +16,6 @@ describe 'Webhook' do
|
|
16
16
|
@client.conversations.v1.webhooks().fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
|
-
values = {}
|
20
19
|
expect(
|
21
20
|
@holodeck.has_request?(Holodeck::Request.new(
|
22
21
|
method: 'get',
|
@@ -55,7 +54,6 @@ describe 'Webhook' do
|
|
55
54
|
@client.conversations.v1.webhooks().update()
|
56
55
|
}.to raise_exception(Twilio::REST::TwilioError)
|
57
56
|
|
58
|
-
values = {}
|
59
57
|
expect(
|
60
58
|
@holodeck.has_request?(Holodeck::Request.new(
|
61
59
|
method: 'post',
|
@@ -17,7 +17,6 @@ describe 'FaxMedia' do
|
|
17
17
|
.media('MEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
18
18
|
}.to raise_exception(Twilio::REST::TwilioError)
|
19
19
|
|
20
|
-
values = {}
|
21
20
|
expect(
|
22
21
|
@holodeck.has_request?(Holodeck::Request.new(
|
23
22
|
method: 'get',
|
@@ -55,7 +54,6 @@ describe 'FaxMedia' do
|
|
55
54
|
.media.list()
|
56
55
|
}.to raise_exception(Twilio::REST::TwilioError)
|
57
56
|
|
58
|
-
values = {}
|
59
57
|
expect(
|
60
58
|
@holodeck.has_request?(Holodeck::Request.new(
|
61
59
|
method: 'get',
|
@@ -106,7 +104,6 @@ describe 'FaxMedia' do
|
|
106
104
|
.media('MEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
107
105
|
}.to raise_exception(Twilio::REST::TwilioError)
|
108
106
|
|
109
|
-
values = {}
|
110
107
|
expect(
|
111
108
|
@holodeck.has_request?(Holodeck::Request.new(
|
112
109
|
method: 'delete',
|
@@ -16,7 +16,6 @@ describe 'Fax' do
|
|
16
16
|
@client.fax.v1.faxes('FXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
|
-
values = {}
|
20
19
|
expect(
|
21
20
|
@holodeck.has_request?(Holodeck::Request.new(
|
22
21
|
method: 'get',
|
@@ -65,7 +64,6 @@ describe 'Fax' do
|
|
65
64
|
@client.fax.v1.faxes.list()
|
66
65
|
}.to raise_exception(Twilio::REST::TwilioError)
|
67
66
|
|
68
|
-
values = {}
|
69
67
|
expect(
|
70
68
|
@holodeck.has_request?(Holodeck::Request.new(
|
71
69
|
method: 'get',
|
@@ -201,7 +199,6 @@ describe 'Fax' do
|
|
201
199
|
@client.fax.v1.faxes('FXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
202
200
|
}.to raise_exception(Twilio::REST::TwilioError)
|
203
201
|
|
204
|
-
values = {}
|
205
202
|
expect(
|
206
203
|
@holodeck.has_request?(Holodeck::Request.new(
|
207
204
|
method: 'post',
|
@@ -250,7 +247,6 @@ describe 'Fax' do
|
|
250
247
|
@client.fax.v1.faxes('FXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
251
248
|
}.to raise_exception(Twilio::REST::TwilioError)
|
252
249
|
|
253
|
-
values = {}
|
254
250
|
expect(
|
255
251
|
@holodeck.has_request?(Holodeck::Request.new(
|
256
252
|
method: 'delete',
|
@@ -16,7 +16,6 @@ describe 'Channel' do
|
|
16
16
|
@client.flex_api.v1.channel.list()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
|
-
values = {}
|
20
19
|
expect(
|
21
20
|
@holodeck.has_request?(Holodeck::Request.new(
|
22
21
|
method: 'get',
|
@@ -90,7 +89,6 @@ describe 'Channel' do
|
|
90
89
|
@client.flex_api.v1.channel('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
91
90
|
}.to raise_exception(Twilio::REST::TwilioError)
|
92
91
|
|
93
|
-
values = {}
|
94
92
|
expect(
|
95
93
|
@holodeck.has_request?(Holodeck::Request.new(
|
96
94
|
method: 'get',
|
@@ -170,7 +168,6 @@ describe 'Channel' do
|
|
170
168
|
@client.flex_api.v1.channel('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
171
169
|
}.to raise_exception(Twilio::REST::TwilioError)
|
172
170
|
|
173
|
-
values = {}
|
174
171
|
expect(
|
175
172
|
@holodeck.has_request?(Holodeck::Request.new(
|
176
173
|
method: 'delete',
|
@@ -16,7 +16,6 @@ describe 'Configuration' do
|
|
16
16
|
@client.flex_api.v1.configuration().fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
|
-
values = {}
|
20
19
|
expect(
|
21
20
|
@holodeck.has_request?(Holodeck::Request.new(
|
22
21
|
method: 'get',
|
@@ -96,6 +95,7 @@ describe 'Configuration' do
|
|
96
95
|
"runtime_domain": "https://flex.twilio.com",
|
97
96
|
"messaging_service_instance_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
98
97
|
"chat_service_instance_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
98
|
+
"flex_service_instance_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
99
99
|
"ui_language": "en",
|
100
100
|
"ui_attributes": {},
|
101
101
|
"ui_dependencies": {},
|
@@ -134,22 +134,6 @@ describe 'Configuration' do
|
|
134
134
|
"config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}"
|
135
135
|
}
|
136
136
|
],
|
137
|
-
"wfm_integrations": [
|
138
|
-
{
|
139
|
-
"name": "teleopti",
|
140
|
-
"type": "flex_wfm",
|
141
|
-
"active": true,
|
142
|
-
"config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}",
|
143
|
-
"logo": "logo1",
|
144
|
-
"author": "somebody1"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"name": "teleopti-stage",
|
148
|
-
"type": "flex_wfm",
|
149
|
-
"active": false,
|
150
|
-
"config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}"
|
151
|
-
}
|
152
|
-
],
|
153
137
|
"outbound_call_flows": {
|
154
138
|
"default": {
|
155
139
|
"caller_id": "+12345",
|
@@ -213,7 +197,6 @@ describe 'Configuration' do
|
|
213
197
|
@client.flex_api.v1.configuration().create()
|
214
198
|
}.to raise_exception(Twilio::REST::TwilioError)
|
215
199
|
|
216
|
-
values = {}
|
217
200
|
expect(
|
218
201
|
@holodeck.has_request?(Holodeck::Request.new(
|
219
202
|
method: 'post',
|
@@ -293,6 +276,7 @@ describe 'Configuration' do
|
|
293
276
|
"runtime_domain": "https://flex.twilio.com",
|
294
277
|
"messaging_service_instance_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
295
278
|
"chat_service_instance_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
279
|
+
"flex_service_instance_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
296
280
|
"ui_language": "en",
|
297
281
|
"ui_attributes": {},
|
298
282
|
"ui_dependencies": {},
|
@@ -331,22 +315,6 @@ describe 'Configuration' do
|
|
331
315
|
"config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}"
|
332
316
|
}
|
333
317
|
],
|
334
|
-
"wfm_integrations": [
|
335
|
-
{
|
336
|
-
"name": "teleopti",
|
337
|
-
"type": "flex_wfm",
|
338
|
-
"active": true,
|
339
|
-
"config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}",
|
340
|
-
"logo": "logo1",
|
341
|
-
"author": "somebody1"
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"name": "teleopti-stage",
|
345
|
-
"type": "flex_wfm",
|
346
|
-
"active": false,
|
347
|
-
"config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}"
|
348
|
-
}
|
349
|
-
],
|
350
318
|
"outbound_call_flows": {
|
351
319
|
"default": {
|
352
320
|
"caller_id": "+12345",
|
@@ -410,7 +378,6 @@ describe 'Configuration' do
|
|
410
378
|
@client.flex_api.v1.configuration().update()
|
411
379
|
}.to raise_exception(Twilio::REST::TwilioError)
|
412
380
|
|
413
|
-
values = {}
|
414
381
|
expect(
|
415
382
|
@holodeck.has_request?(Holodeck::Request.new(
|
416
383
|
method: 'post',
|
@@ -490,6 +457,7 @@ describe 'Configuration' do
|
|
490
457
|
"runtime_domain": "https://flex.twilio.com",
|
491
458
|
"messaging_service_instance_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
492
459
|
"chat_service_instance_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
460
|
+
"flex_service_instance_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
493
461
|
"ui_language": "en",
|
494
462
|
"ui_attributes": {},
|
495
463
|
"ui_dependencies": {},
|
@@ -528,22 +496,6 @@ describe 'Configuration' do
|
|
528
496
|
"config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}"
|
529
497
|
}
|
530
498
|
],
|
531
|
-
"wfm_integrations": [
|
532
|
-
{
|
533
|
-
"name": "teleopti",
|
534
|
-
"type": "flex_wfm",
|
535
|
-
"active": true,
|
536
|
-
"config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}",
|
537
|
-
"logo": "logo1",
|
538
|
-
"author": "somebody1"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"name": "teleopti-stage",
|
542
|
-
"type": "flex_wfm",
|
543
|
-
"active": false,
|
544
|
-
"config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}"
|
545
|
-
}
|
546
|
-
],
|
547
499
|
"outbound_call_flows": {
|
548
500
|
"default": {
|
549
501
|
"caller_id": "+12345",
|