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
@@ -0,0 +1,209 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# \ / _ _ _| _ _
|
4
|
+
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
|
+
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
8
|
+
|
9
|
+
require 'spec_helper.rb'
|
10
|
+
|
11
|
+
describe 'Entity' do
|
12
|
+
it "can create" do
|
13
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
14
|
+
|
15
|
+
expect {
|
16
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
17
|
+
.entities.create(identity: 'identity', twilio_sandbox_mode: 'twilio_sandbox_mode')
|
18
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
19
|
+
|
20
|
+
values = {'Identity' => 'identity', }
|
21
|
+
headers = {'Twilio-Sandbox-Mode' => 'twilio_sandbox_mode', }
|
22
|
+
expect(
|
23
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
24
|
+
method: 'post',
|
25
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Entities',
|
26
|
+
data: values,
|
27
|
+
headers: headers,
|
28
|
+
))).to eq(true)
|
29
|
+
end
|
30
|
+
|
31
|
+
it "receives create responses" do
|
32
|
+
@holodeck.mock(Twilio::Response.new(
|
33
|
+
201,
|
34
|
+
%q[
|
35
|
+
{
|
36
|
+
"sid": "YEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
37
|
+
"identity": "ff483d1ff591898a9942916050d2ca3f",
|
38
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
39
|
+
"service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
40
|
+
"date_created": "2015-07-30T20:00:00Z",
|
41
|
+
"date_updated": "2015-07-30T20:00:00Z",
|
42
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f",
|
43
|
+
"links": {
|
44
|
+
"factors": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors",
|
45
|
+
"challenges": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Challenges"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
]
|
49
|
+
))
|
50
|
+
|
51
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
52
|
+
.entities.create(identity: 'identity')
|
53
|
+
|
54
|
+
expect(actual).to_not eq(nil)
|
55
|
+
end
|
56
|
+
|
57
|
+
it "can delete" do
|
58
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
59
|
+
|
60
|
+
expect {
|
61
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
62
|
+
.entities('identity').delete(twilio_sandbox_mode: 'twilio_sandbox_mode')
|
63
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
64
|
+
|
65
|
+
headers = {'Twilio-Sandbox-Mode' => 'twilio_sandbox_mode', }
|
66
|
+
expect(
|
67
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
68
|
+
method: 'delete',
|
69
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Entities/identity',
|
70
|
+
headers: headers,
|
71
|
+
))).to eq(true)
|
72
|
+
end
|
73
|
+
|
74
|
+
it "receives delete responses" do
|
75
|
+
@holodeck.mock(Twilio::Response.new(
|
76
|
+
204,
|
77
|
+
nil,
|
78
|
+
))
|
79
|
+
|
80
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
81
|
+
.entities('identity').delete()
|
82
|
+
|
83
|
+
expect(actual).to eq(true)
|
84
|
+
end
|
85
|
+
|
86
|
+
it "can fetch" do
|
87
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
88
|
+
|
89
|
+
expect {
|
90
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
91
|
+
.entities('identity').fetch(twilio_sandbox_mode: 'twilio_sandbox_mode')
|
92
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
93
|
+
|
94
|
+
headers = {'Twilio-Sandbox-Mode' => 'twilio_sandbox_mode', }
|
95
|
+
expect(
|
96
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
97
|
+
method: 'get',
|
98
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Entities/identity',
|
99
|
+
headers: headers,
|
100
|
+
))).to eq(true)
|
101
|
+
end
|
102
|
+
|
103
|
+
it "receives fetch responses" do
|
104
|
+
@holodeck.mock(Twilio::Response.new(
|
105
|
+
200,
|
106
|
+
%q[
|
107
|
+
{
|
108
|
+
"sid": "YEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
109
|
+
"identity": "ff483d1ff591898a9942916050d2ca3f",
|
110
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
111
|
+
"service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
112
|
+
"date_created": "2015-07-30T20:00:00Z",
|
113
|
+
"date_updated": "2015-07-30T20:00:00Z",
|
114
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f",
|
115
|
+
"links": {
|
116
|
+
"factors": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors",
|
117
|
+
"challenges": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Challenges"
|
118
|
+
}
|
119
|
+
}
|
120
|
+
]
|
121
|
+
))
|
122
|
+
|
123
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
124
|
+
.entities('identity').fetch()
|
125
|
+
|
126
|
+
expect(actual).to_not eq(nil)
|
127
|
+
end
|
128
|
+
|
129
|
+
it "can read" do
|
130
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
131
|
+
|
132
|
+
expect {
|
133
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
134
|
+
.entities.list(twilio_sandbox_mode: 'twilio_sandbox_mode')
|
135
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
136
|
+
|
137
|
+
headers = {'Twilio-Sandbox-Mode' => 'twilio_sandbox_mode', }
|
138
|
+
expect(
|
139
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
140
|
+
method: 'get',
|
141
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Entities',
|
142
|
+
headers: headers,
|
143
|
+
))).to eq(true)
|
144
|
+
end
|
145
|
+
|
146
|
+
it "receives read_empty responses" do
|
147
|
+
@holodeck.mock(Twilio::Response.new(
|
148
|
+
200,
|
149
|
+
%q[
|
150
|
+
{
|
151
|
+
"entities": [],
|
152
|
+
"meta": {
|
153
|
+
"page": 0,
|
154
|
+
"page_size": 50,
|
155
|
+
"first_page_url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities?PageSize=50&Page=0",
|
156
|
+
"previous_page_url": null,
|
157
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities?PageSize=50&Page=0",
|
158
|
+
"next_page_url": null,
|
159
|
+
"key": "entities"
|
160
|
+
}
|
161
|
+
}
|
162
|
+
]
|
163
|
+
))
|
164
|
+
|
165
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
166
|
+
.entities.list()
|
167
|
+
|
168
|
+
expect(actual).to_not eq(nil)
|
169
|
+
end
|
170
|
+
|
171
|
+
it "receives read_full responses" do
|
172
|
+
@holodeck.mock(Twilio::Response.new(
|
173
|
+
200,
|
174
|
+
%q[
|
175
|
+
{
|
176
|
+
"entities": [
|
177
|
+
{
|
178
|
+
"sid": "YEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
179
|
+
"identity": "ff483d1ff591898a9942916050d2ca3f",
|
180
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
181
|
+
"service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
182
|
+
"date_created": "2015-07-30T20:00:00Z",
|
183
|
+
"date_updated": "2015-07-30T20:00:00Z",
|
184
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f",
|
185
|
+
"links": {
|
186
|
+
"factors": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Factors",
|
187
|
+
"challenges": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities/ff483d1ff591898a9942916050d2ca3f/Challenges"
|
188
|
+
}
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"meta": {
|
192
|
+
"page": 0,
|
193
|
+
"page_size": 50,
|
194
|
+
"first_page_url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities?PageSize=50&Page=0",
|
195
|
+
"previous_page_url": null,
|
196
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities?PageSize=50&Page=0",
|
197
|
+
"next_page_url": null,
|
198
|
+
"key": "entities"
|
199
|
+
}
|
200
|
+
}
|
201
|
+
]
|
202
|
+
))
|
203
|
+
|
204
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
205
|
+
.entities.list()
|
206
|
+
|
207
|
+
expect(actual).to_not eq(nil)
|
208
|
+
end
|
209
|
+
end
|
@@ -95,7 +95,6 @@ describe 'MessagingConfiguration' do
|
|
95
95
|
.messaging_configurations('country').fetch()
|
96
96
|
}.to raise_exception(Twilio::REST::TwilioError)
|
97
97
|
|
98
|
-
values = {}
|
99
98
|
expect(
|
100
99
|
@holodeck.has_request?(Holodeck::Request.new(
|
101
100
|
method: 'get',
|
@@ -133,7 +132,6 @@ describe 'MessagingConfiguration' do
|
|
133
132
|
.messaging_configurations.list()
|
134
133
|
}.to raise_exception(Twilio::REST::TwilioError)
|
135
134
|
|
136
|
-
values = {}
|
137
135
|
expect(
|
138
136
|
@holodeck.has_request?(Holodeck::Request.new(
|
139
137
|
method: 'get',
|
@@ -209,7 +207,6 @@ describe 'MessagingConfiguration' do
|
|
209
207
|
.messaging_configurations('country').delete()
|
210
208
|
}.to raise_exception(Twilio::REST::TwilioError)
|
211
209
|
|
212
|
-
values = {}
|
213
210
|
expect(
|
214
211
|
@holodeck.has_request?(Holodeck::Request.new(
|
215
212
|
method: 'delete',
|
@@ -61,7 +61,6 @@ describe 'Bucket' do
|
|
61
61
|
.buckets('BLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
62
62
|
}.to raise_exception(Twilio::REST::TwilioError)
|
63
63
|
|
64
|
-
values = {}
|
65
64
|
expect(
|
66
65
|
@holodeck.has_request?(Holodeck::Request.new(
|
67
66
|
method: 'post',
|
@@ -103,7 +102,6 @@ describe 'Bucket' do
|
|
103
102
|
.buckets('BLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
104
103
|
}.to raise_exception(Twilio::REST::TwilioError)
|
105
104
|
|
106
|
-
values = {}
|
107
105
|
expect(
|
108
106
|
@holodeck.has_request?(Holodeck::Request.new(
|
109
107
|
method: 'get',
|
@@ -145,7 +143,6 @@ describe 'Bucket' do
|
|
145
143
|
.buckets.list()
|
146
144
|
}.to raise_exception(Twilio::REST::TwilioError)
|
147
145
|
|
148
|
-
values = {}
|
149
146
|
expect(
|
150
147
|
@holodeck.has_request?(Holodeck::Request.new(
|
151
148
|
method: 'get',
|
@@ -226,7 +223,6 @@ describe 'Bucket' do
|
|
226
223
|
.buckets('BLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
227
224
|
}.to raise_exception(Twilio::REST::TwilioError)
|
228
225
|
|
229
|
-
values = {}
|
230
226
|
expect(
|
231
227
|
@holodeck.has_request?(Holodeck::Request.new(
|
232
228
|
method: 'delete',
|
@@ -60,7 +60,6 @@ describe 'RateLimit' do
|
|
60
60
|
.rate_limits('RKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
61
61
|
}.to raise_exception(Twilio::REST::TwilioError)
|
62
62
|
|
63
|
-
values = {}
|
64
63
|
expect(
|
65
64
|
@holodeck.has_request?(Holodeck::Request.new(
|
66
65
|
method: 'post',
|
@@ -102,7 +101,6 @@ describe 'RateLimit' do
|
|
102
101
|
.rate_limits('RKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
103
102
|
}.to raise_exception(Twilio::REST::TwilioError)
|
104
103
|
|
105
|
-
values = {}
|
106
104
|
expect(
|
107
105
|
@holodeck.has_request?(Holodeck::Request.new(
|
108
106
|
method: 'get',
|
@@ -144,7 +142,6 @@ describe 'RateLimit' do
|
|
144
142
|
.rate_limits.list()
|
145
143
|
}.to raise_exception(Twilio::REST::TwilioError)
|
146
144
|
|
147
|
-
values = {}
|
148
145
|
expect(
|
149
146
|
@holodeck.has_request?(Holodeck::Request.new(
|
150
147
|
method: 'get',
|
@@ -199,7 +196,6 @@ describe 'RateLimit' do
|
|
199
196
|
.rate_limits('RKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
200
197
|
}.to raise_exception(Twilio::REST::TwilioError)
|
201
198
|
|
202
|
-
values = {}
|
203
199
|
expect(
|
204
200
|
@holodeck.has_request?(Holodeck::Request.new(
|
205
201
|
method: 'delete',
|
@@ -0,0 +1,258 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# \ / _ _ _| _ _
|
4
|
+
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
|
+
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
8
|
+
|
9
|
+
require 'spec_helper.rb'
|
10
|
+
|
11
|
+
describe 'Webhook' do
|
12
|
+
it "can create" do
|
13
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
14
|
+
|
15
|
+
expect {
|
16
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
17
|
+
.webhooks.create(friendly_name: 'friendly_name', event_types: ['event_types'], webhook_url: 'webhook_url')
|
18
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
19
|
+
|
20
|
+
values = {
|
21
|
+
'FriendlyName' => 'friendly_name',
|
22
|
+
'EventTypes' => Twilio.serialize_list(['event_types']) { |e| e },
|
23
|
+
'WebhookUrl' => 'webhook_url',
|
24
|
+
}
|
25
|
+
expect(
|
26
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
27
|
+
method: 'post',
|
28
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Webhooks',
|
29
|
+
data: values,
|
30
|
+
))).to eq(true)
|
31
|
+
end
|
32
|
+
|
33
|
+
it "receives create responses" do
|
34
|
+
@holodeck.mock(Twilio::Response.new(
|
35
|
+
201,
|
36
|
+
%q[
|
37
|
+
{
|
38
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks/YWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
39
|
+
"sid": "YWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
40
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
41
|
+
"service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
42
|
+
"friendly_name": "name",
|
43
|
+
"event_types": [
|
44
|
+
"factor.deleted",
|
45
|
+
"factor.verified"
|
46
|
+
],
|
47
|
+
"webhook_method": "POST",
|
48
|
+
"webhook_url": "https://owlbank.twilio.com",
|
49
|
+
"status": "enabled",
|
50
|
+
"date_created": "2015-07-30T20:00:00Z",
|
51
|
+
"date_updated": "2015-07-30T20:00:00Z"
|
52
|
+
}
|
53
|
+
]
|
54
|
+
))
|
55
|
+
|
56
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
57
|
+
.webhooks.create(friendly_name: 'friendly_name', event_types: ['event_types'], webhook_url: 'webhook_url')
|
58
|
+
|
59
|
+
expect(actual).to_not eq(nil)
|
60
|
+
end
|
61
|
+
|
62
|
+
it "can update" do
|
63
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
64
|
+
|
65
|
+
expect {
|
66
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
67
|
+
.webhooks('YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
68
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
69
|
+
|
70
|
+
expect(
|
71
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
72
|
+
method: 'post',
|
73
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Webhooks/YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
|
74
|
+
))).to eq(true)
|
75
|
+
end
|
76
|
+
|
77
|
+
it "receives update responses" do
|
78
|
+
@holodeck.mock(Twilio::Response.new(
|
79
|
+
200,
|
80
|
+
%q[
|
81
|
+
{
|
82
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks/YWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
83
|
+
"sid": "YWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
84
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
85
|
+
"service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
86
|
+
"friendly_name": "name",
|
87
|
+
"event_types": [
|
88
|
+
"factor.deleted",
|
89
|
+
"factor.verified"
|
90
|
+
],
|
91
|
+
"webhook_method": "POST",
|
92
|
+
"webhook_url": "https://owlbank.twilio.com",
|
93
|
+
"status": "disabled",
|
94
|
+
"date_created": "2015-07-30T20:00:00Z",
|
95
|
+
"date_updated": "2015-07-30T20:00:00Z"
|
96
|
+
}
|
97
|
+
]
|
98
|
+
))
|
99
|
+
|
100
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
101
|
+
.webhooks('YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
102
|
+
|
103
|
+
expect(actual).to_not eq(nil)
|
104
|
+
end
|
105
|
+
|
106
|
+
it "can delete" do
|
107
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
108
|
+
|
109
|
+
expect {
|
110
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
111
|
+
.webhooks('YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
112
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
113
|
+
|
114
|
+
expect(
|
115
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
116
|
+
method: 'delete',
|
117
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Webhooks/YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
|
118
|
+
))).to eq(true)
|
119
|
+
end
|
120
|
+
|
121
|
+
it "receives delete responses" do
|
122
|
+
@holodeck.mock(Twilio::Response.new(
|
123
|
+
204,
|
124
|
+
nil,
|
125
|
+
))
|
126
|
+
|
127
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
128
|
+
.webhooks('YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
129
|
+
|
130
|
+
expect(actual).to eq(true)
|
131
|
+
end
|
132
|
+
|
133
|
+
it "can fetch" do
|
134
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
135
|
+
|
136
|
+
expect {
|
137
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
138
|
+
.webhooks('YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
139
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
140
|
+
|
141
|
+
expect(
|
142
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
143
|
+
method: 'get',
|
144
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Webhooks/YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
|
145
|
+
))).to eq(true)
|
146
|
+
end
|
147
|
+
|
148
|
+
it "receives fetch responses" do
|
149
|
+
@holodeck.mock(Twilio::Response.new(
|
150
|
+
200,
|
151
|
+
%q[
|
152
|
+
{
|
153
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks/YWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
154
|
+
"sid": "YWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
155
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
156
|
+
"service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
157
|
+
"friendly_name": "name",
|
158
|
+
"event_types": [
|
159
|
+
"factor.deleted",
|
160
|
+
"factor.verified"
|
161
|
+
],
|
162
|
+
"webhook_method": "POST",
|
163
|
+
"webhook_url": "https://owlbank.twilio.com",
|
164
|
+
"status": "enabled",
|
165
|
+
"date_created": "2015-07-30T20:00:00Z",
|
166
|
+
"date_updated": "2015-07-30T20:00:00Z"
|
167
|
+
}
|
168
|
+
]
|
169
|
+
))
|
170
|
+
|
171
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
172
|
+
.webhooks('YWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
173
|
+
|
174
|
+
expect(actual).to_not eq(nil)
|
175
|
+
end
|
176
|
+
|
177
|
+
it "can read" do
|
178
|
+
@holodeck.mock(Twilio::Response.new(500, ''))
|
179
|
+
|
180
|
+
expect {
|
181
|
+
@client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
182
|
+
.webhooks.list()
|
183
|
+
}.to raise_exception(Twilio::REST::TwilioError)
|
184
|
+
|
185
|
+
expect(
|
186
|
+
@holodeck.has_request?(Holodeck::Request.new(
|
187
|
+
method: 'get',
|
188
|
+
url: 'https://verify.twilio.com/v2/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Webhooks',
|
189
|
+
))).to eq(true)
|
190
|
+
end
|
191
|
+
|
192
|
+
it "receives read_empty responses" do
|
193
|
+
@holodeck.mock(Twilio::Response.new(
|
194
|
+
200,
|
195
|
+
%q[
|
196
|
+
{
|
197
|
+
"webhooks": [],
|
198
|
+
"meta": {
|
199
|
+
"page": 0,
|
200
|
+
"page_size": 50,
|
201
|
+
"first_page_url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks?PageSize=50&Page=0",
|
202
|
+
"previous_page_url": null,
|
203
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks?PageSize=50&Page=0",
|
204
|
+
"next_page_url": null,
|
205
|
+
"key": "webhooks"
|
206
|
+
}
|
207
|
+
}
|
208
|
+
]
|
209
|
+
))
|
210
|
+
|
211
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
212
|
+
.webhooks.list()
|
213
|
+
|
214
|
+
expect(actual).to_not eq(nil)
|
215
|
+
end
|
216
|
+
|
217
|
+
it "receives read_full responses" do
|
218
|
+
@holodeck.mock(Twilio::Response.new(
|
219
|
+
200,
|
220
|
+
%q[
|
221
|
+
{
|
222
|
+
"webhooks": [
|
223
|
+
{
|
224
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks/YWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
225
|
+
"sid": "YWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
226
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
227
|
+
"service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
228
|
+
"friendly_name": "name",
|
229
|
+
"event_types": [
|
230
|
+
"factor.deleted",
|
231
|
+
"factor.verified"
|
232
|
+
],
|
233
|
+
"webhook_method": "POST",
|
234
|
+
"webhook_url": "https://owlbank.twilio.com",
|
235
|
+
"status": "enabled",
|
236
|
+
"date_created": "2015-07-30T20:00:00Z",
|
237
|
+
"date_updated": "2015-07-30T20:00:00Z"
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"meta": {
|
241
|
+
"page": 0,
|
242
|
+
"page_size": 50,
|
243
|
+
"first_page_url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks?PageSize=50&Page=0",
|
244
|
+
"previous_page_url": null,
|
245
|
+
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks?PageSize=50&Page=0",
|
246
|
+
"next_page_url": null,
|
247
|
+
"key": "webhooks"
|
248
|
+
}
|
249
|
+
}
|
250
|
+
]
|
251
|
+
))
|
252
|
+
|
253
|
+
actual = @client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
254
|
+
.webhooks.list()
|
255
|
+
|
256
|
+
expect(actual).to_not eq(nil)
|
257
|
+
end
|
258
|
+
end
|