twilio-ruby 5.38.0 → 5.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGES.md +85 -1
- data/CONTRIBUTING.md +2 -2
- data/ISSUE_TEMPLATE.md +5 -1
- data/Makefile +1 -1
- data/PULL_REQUEST_TEMPLATE.md +1 -1
- data/README.md +4 -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 +19 -34
- 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 +6 -8
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -8
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +9 -25
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +9 -20
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +6 -14
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +83 -73
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +7 -19
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +27 -30
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +6 -14
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +20 -13
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +20 -13
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +20 -13
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +3 -8
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +3 -8
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +3 -8
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +6 -14
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +7 -19
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +7 -19
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +10 -22
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +12 -25
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +3 -8
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +9 -17
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +13 -30
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +3 -8
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +4 -14
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +3 -9
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +12 -25
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +4 -14
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +12 -25
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +4 -14
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +3 -9
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/autopilot/v1/restore_assistant.rb +1 -5
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +3 -9
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +6 -14
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +6 -13
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +6 -12
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +4 -14
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +12 -25
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +3 -5
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v2/service.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +9 -17
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +34 -36
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +12 -25
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +34 -36
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +34 -36
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +13 -30
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +30 -34
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +9 -17
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +10 -22
- data/lib/twilio-ruby/rest/client.rb +7 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +34 -36
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +80 -36
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +348 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +56 -36
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/conversations/v1/webhook.rb +4 -14
- data/lib/twilio-ruby/rest/events.rb +54 -0
- data/lib/twilio-ruby/rest/events/v1.rb +58 -0
- data/lib/twilio-ruby/rest/events/v1/sink.rb +379 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +115 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +118 -0
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +358 -0
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +322 -0
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +13 -30
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +9 -17
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +12 -25
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +9 -34
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +13 -30
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +13 -30
- data/lib/twilio-ruby/rest/insights/v1/call.rb +3 -9
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +3 -5
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +3 -5
- data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +3 -7
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +12 -25
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +3 -5
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +9 -17
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +34 -36
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +12 -25
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +34 -36
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +34 -36
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +13 -30
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +30 -34
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +9 -17
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +10 -22
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +4 -8
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +12 -25
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +12 -25
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +12 -25
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +6 -14
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +6 -14
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +13 -30
- data/lib/twilio-ruby/rest/notify/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +12 -25
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +3 -8
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +31 -27
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +9 -24
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +12 -25
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +10 -27
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +6 -14
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +6 -14
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +10 -27
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +6 -14
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +3 -9
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +6 -14
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +6 -13
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +6 -12
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +4 -14
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +13 -30
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +13 -30
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +13 -30
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +13 -30
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +13 -30
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +10 -27
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -5
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +13 -30
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +6 -14
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +6 -14
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +13 -30
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +7 -19
- data/lib/twilio-ruby/rest/preview/sync/service.rb +13 -30
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +26 -36
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +10 -22
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +12 -25
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +26 -36
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +10 -22
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +12 -25
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +26 -36
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +10 -22
- data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +3 -8
- data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +13 -11
- data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +3 -9
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand.rb +3 -9
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb +3 -9
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel/channel.rb +3 -8
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights/impressions_rate.rb +3 -7
- data/lib/twilio-ruby/rest/preview/trusted_comms/cps.rb +11 -11
- data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +25 -11
- data/lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb +3 -8
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +4 -14
- data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +4 -14
- data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +3 -9
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +12 -25
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +4 -14
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +12 -25
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +13 -30
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +4 -14
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +3 -9
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +9 -22
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +13 -30
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +7 -19
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +3 -7
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +6 -14
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +6 -14
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +6 -14
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +3 -9
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +6 -14
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +3 -7
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +13 -30
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +55 -34
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +9 -17
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +25 -26
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +9 -22
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +6 -14
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +12 -25
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +12 -25
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +9 -22
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +6 -14
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +13 -30
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +6 -14
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +9 -17
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +12 -25
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +13 -30
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +13 -30
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +13 -30
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +3 -9
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +4 -14
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +1 -5
- data/lib/twilio-ruby/rest/supersim/v1/command.rb +9 -22
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +22 -38
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +6 -14
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +10 -27
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +12 -25
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +31 -23
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +78 -14
- data/lib/twilio-ruby/rest/sync/v1/service.rb +13 -30
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +26 -36
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +10 -22
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +13 -30
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +32 -36
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +10 -22
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +13 -30
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +32 -36
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +10 -22
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +13 -30
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +3 -8
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +15 -17
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +3 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +7 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +13 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +3 -7
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +13 -30
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +12 -25
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +12 -25
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +13 -30
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +12 -25
- data/lib/twilio-ruby/rest/verify.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/form.rb +7 -13
- data/lib/twilio-ruby/rest/verify/v2/service.rb +70 -33
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +124 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +62 -52
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +485 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +66 -100
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +13 -30
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +13 -30
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +13 -30
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +11 -23
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +3 -8
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +13 -30
- data/lib/twilio-ruby/rest/video/v1/composition.rb +12 -25
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +13 -30
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +8 -20
- data/lib/twilio-ruby/rest/video/v1/recording.rb +9 -17
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +8 -20
- data/lib/twilio-ruby/rest/video/v1/room.rb +10 -27
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +9 -17
- data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +7 -19
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +6 -14
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +3 -19
- 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 +8 -24
- 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 +0 -4
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +0 -4
- data/spec/integration/api/v2010/account/conference/recording_spec.rb +0 -3
- data/spec/integration/api/v2010/account/conference_spec.rb +0 -3
- data/spec/integration/api/v2010/account/connect_app_spec.rb +0 -4
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +0 -2
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +0 -3
- data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +35 -37
- data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +39 -41
- data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +35 -37
- data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +68 -43
- 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 +37 -3
- data/spec/integration/api/v2010/account/new_key_spec.rb +0 -1
- data/spec/integration/api/v2010/account/new_signing_key_spec.rb +0 -1
- data/spec/integration/api/v2010/account/notification_spec.rb +0 -2
- data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +0 -4
- data/spec/integration/api/v2010/account/queue/member_spec.rb +0 -2
- data/spec/integration/api/v2010/account/queue_spec.rb +0 -4
- data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +0 -3
- data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +0 -3
- data/spec/integration/api/v2010/account/recording/transcription_spec.rb +0 -3
- data/spec/integration/api/v2010/account/recording_spec.rb +0 -3
- data/spec/integration/api/v2010/account/short_code_spec.rb +0 -3
- data/spec/integration/api/v2010/account/signing_key_spec.rb +0 -4
- data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +0 -4
- data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +0 -3
- data/spec/integration/api/v2010/account/sip/domain_spec.rb +0 -4
- data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +0 -4
- data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +0 -3
- data/spec/integration/api/v2010/account/token_spec.rb +0 -1
- data/spec/integration/api/v2010/account/transcription_spec.rb +0 -3
- data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/today_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/record_spec.rb +0 -1
- data/spec/integration/api/v2010/account/usage/trigger_spec.rb +0 -4
- data/spec/integration/api/v2010/account_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/defaults_spec.rb +0 -2
- data/spec/integration/autopilot/v1/assistant/dialogue_spec.rb +0 -1
- data/spec/integration/autopilot/v1/assistant/field_type/field_value_spec.rb +0 -3
- data/spec/integration/autopilot/v1/assistant/field_type_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/model_build_spec.rb +0 -5
- data/spec/integration/autopilot/v1/assistant/query_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/style_sheet_spec.rb +0 -2
- data/spec/integration/autopilot/v1/assistant/task/field_spec.rb +0 -3
- data/spec/integration/autopilot/v1/assistant/task/sample_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/task/task_actions_spec.rb +0 -2
- data/spec/integration/autopilot/v1/assistant/task/task_statistics_spec.rb +0 -1
- data/spec/integration/autopilot/v1/assistant/task_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant/webhook_spec.rb +0 -4
- data/spec/integration/autopilot/v1/assistant_spec.rb +0 -5
- data/spec/integration/bulkexports/v1/export/day_spec.rb +0 -2
- data/spec/integration/bulkexports/v1/export/export_custom_job_spec.rb +0 -2
- data/spec/integration/bulkexports/v1/export/job_spec.rb +0 -2
- data/spec/integration/bulkexports/v1/export_configuration_spec.rb +0 -2
- data/spec/integration/bulkexports/v1/export_spec.rb +0 -1
- data/spec/integration/chat/v1/credential_spec.rb +0 -4
- data/spec/integration/chat/v1/service/channel/invite_spec.rb +0 -3
- data/spec/integration/chat/v1/service/channel/member_spec.rb +0 -4
- data/spec/integration/chat/v1/service/channel/message_spec.rb +0 -4
- data/spec/integration/chat/v1/service/channel_spec.rb +0 -5
- data/spec/integration/chat/v1/service/role_spec.rb +0 -3
- data/spec/integration/chat/v1/service/user/user_channel_spec.rb +0 -1
- data/spec/integration/chat/v1/service/user_spec.rb +0 -4
- data/spec/integration/chat/v1/service_spec.rb +0 -4
- data/spec/integration/chat/v2/credential_spec.rb +0 -4
- data/spec/integration/chat/v2/service/binding_spec.rb +0 -3
- data/spec/integration/chat/v2/service/channel/invite_spec.rb +0 -3
- data/spec/integration/chat/v2/service/channel/member_spec.rb +9 -7
- data/spec/integration/chat/v2/service/channel/message_spec.rb +9 -8
- data/spec/integration/chat/v2/service/channel/webhook_spec.rb +0 -4
- data/spec/integration/chat/v2/service/channel_spec.rb +9 -8
- data/spec/integration/chat/v2/service/role_spec.rb +0 -3
- data/spec/integration/chat/v2/service/user/user_binding_spec.rb +0 -3
- data/spec/integration/chat/v2/service/user/user_channel_spec.rb +0 -4
- data/spec/integration/chat/v2/service/user_spec.rb +6 -6
- data/spec/integration/chat/v2/service_spec.rb +0 -4
- data/spec/integration/conversations/v1/conversation/message/delivery_receipt_spec.rb +132 -0
- data/spec/integration/conversations/v1/conversation/message_spec.rb +131 -15
- data/spec/integration/conversations/v1/conversation/participant_spec.rb +93 -8
- data/spec/integration/conversations/v1/conversation/webhook_spec.rb +0 -4
- data/spec/integration/conversations/v1/conversation_spec.rb +39 -8
- data/spec/integration/conversations/v1/webhook_spec.rb +0 -2
- data/spec/integration/events/v1/sink/sink_test_spec.rb +42 -0
- data/spec/integration/events/v1/sink/sink_validate_spec.rb +44 -0
- data/spec/integration/events/v1/sink_spec.rb +217 -0
- data/spec/integration/events/v1/subscription/subscribed_event_spec.rb +212 -0
- data/spec/integration/events/v1/subscription_spec.rb +205 -0
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +0 -3
- data/spec/integration/fax/v1/fax_spec.rb +0 -4
- data/spec/integration/flex_api/v1/channel_spec.rb +0 -3
- data/spec/integration/flex_api/v1/configuration_spec.rb +0 -51
- data/spec/integration/flex_api/v1/flex_flow_spec.rb +0 -4
- data/spec/integration/flex_api/v1/web_channel_spec.rb +0 -4
- data/spec/integration/insights/v1/call/event_spec.rb +0 -1
- data/spec/integration/insights/v1/call/metric_spec.rb +0 -1
- data/spec/integration/insights/v1/call/summary_spec.rb +0 -1
- data/spec/integration/insights/v1/call_spec.rb +0 -1
- data/spec/integration/ip_messaging/v1/credential_spec.rb +0 -4
- data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +0 -3
- data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +0 -4
- data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +0 -4
- data/spec/integration/ip_messaging/v1/service/channel_spec.rb +0 -5
- data/spec/integration/ip_messaging/v1/service/role_spec.rb +0 -3
- data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +0 -1
- data/spec/integration/ip_messaging/v1/service/user_spec.rb +0 -4
- data/spec/integration/ip_messaging/v1/service_spec.rb +0 -4
- data/spec/integration/ip_messaging/v2/credential_spec.rb +0 -4
- data/spec/integration/ip_messaging/v2/service/binding_spec.rb +0 -3
- data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +0 -3
- data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +9 -7
- data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +9 -8
- data/spec/integration/ip_messaging/v2/service/channel/webhook_spec.rb +0 -4
- data/spec/integration/ip_messaging/v2/service/channel_spec.rb +9 -8
- data/spec/integration/ip_messaging/v2/service/role_spec.rb +0 -3
- data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +0 -3
- data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +0 -4
- data/spec/integration/ip_messaging/v2/service/user_spec.rb +6 -6
- data/spec/integration/ip_messaging/v2/service_spec.rb +0 -4
- data/spec/integration/lookups/v1/phone_number_spec.rb +0 -1
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +0 -3
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +0 -3
- data/spec/integration/messaging/v1/service/short_code_spec.rb +0 -3
- data/spec/integration/messaging/v1/service_spec.rb +0 -4
- data/spec/integration/monitor/v1/alert_spec.rb +0 -2
- data/spec/integration/monitor/v1/event_spec.rb +0 -2
- data/spec/integration/notify/v1/credential_spec.rb +0 -4
- data/spec/integration/notify/v1/service/binding_spec.rb +0 -3
- data/spec/integration/notify/v1/service/notification_spec.rb +0 -1
- data/spec/integration/notify/v1/service_spec.rb +0 -5
- data/spec/integration/numbers/v2/regulatory_compliance/bundle/evaluation_spec.rb +0 -3
- data/spec/integration/numbers/v2/regulatory_compliance/bundle/item_assignment_spec.rb +0 -3
- data/spec/integration/numbers/v2/regulatory_compliance/bundle_spec.rb +32 -4
- data/spec/integration/numbers/v2/regulatory_compliance/end_user_spec.rb +0 -3
- data/spec/integration/numbers/v2/regulatory_compliance/end_user_type_spec.rb +0 -2
- data/spec/integration/numbers/v2/regulatory_compliance/regulation_spec.rb +0 -2
- data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_spec.rb +0 -3
- data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_type_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export/export_custom_job_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export/job_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +0 -2
- data/spec/integration/preview/bulk_exports/export_spec.rb +0 -1
- data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +0 -4
- data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +0 -5
- data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +0 -5
- data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +0 -5
- data/spec/integration/preview/deployed_devices/fleet_spec.rb +0 -5
- data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +0 -1
- data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +0 -3
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +0 -4
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +0 -2
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +0 -2
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +0 -2
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +0 -4
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +0 -3
- data/spec/integration/preview/sync/service/document_spec.rb +6 -6
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +6 -5
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +0 -3
- data/spec/integration/preview/sync/service/sync_list_spec.rb +0 -4
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +6 -5
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +0 -3
- data/spec/integration/preview/sync/service/sync_map_spec.rb +0 -4
- data/spec/integration/preview/sync/service_spec.rb +0 -5
- data/spec/integration/preview/trusted_comms/brands_information_spec.rb +3 -2
- data/spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/business/brand_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/business_spec.rb +0 -1
- data/spec/integration/preview/trusted_comms/cps_spec.rb +3 -2
- data/spec/integration/preview/trusted_comms/current_call_spec.rb +6 -2
- data/spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb +0 -2
- data/spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb +0 -2
- data/spec/integration/preview/understand/assistant/dialogue_spec.rb +0 -1
- data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +0 -3
- data/spec/integration/preview/understand/assistant/field_type_spec.rb +0 -4
- data/spec/integration/preview/understand/assistant/model_build_spec.rb +0 -5
- data/spec/integration/preview/understand/assistant/query_spec.rb +0 -4
- data/spec/integration/preview/understand/assistant/style_sheet_spec.rb +0 -2
- data/spec/integration/preview/understand/assistant/task/field_spec.rb +0 -3
- data/spec/integration/preview/understand/assistant/task/sample_spec.rb +0 -4
- data/spec/integration/preview/understand/assistant/task/task_actions_spec.rb +0 -2
- data/spec/integration/preview/understand/assistant/task/task_statistics_spec.rb +0 -1
- data/spec/integration/preview/understand/assistant/task_spec.rb +0 -4
- data/spec/integration/preview/understand/assistant_spec.rb +0 -5
- data/spec/integration/preview/wireless/command_spec.rb +0 -2
- data/spec/integration/preview/wireless/rate_plan_spec.rb +0 -5
- data/spec/integration/preview/wireless/sim/usage_spec.rb +0 -1
- data/spec/integration/preview/wireless/sim_spec.rb +0 -3
- data/spec/integration/pricing/v1/messaging/country_spec.rb +0 -2
- data/spec/integration/pricing/v1/phone_number/country_spec.rb +0 -2
- data/spec/integration/pricing/v1/voice/country_spec.rb +0 -2
- data/spec/integration/pricing/v1/voice/number_spec.rb +0 -1
- data/spec/integration/pricing/v2/voice/country_spec.rb +0 -2
- data/spec/integration/pricing/v2/voice/number_spec.rb +0 -1
- data/spec/integration/proxy/v1/service/phone_number_spec.rb +0 -5
- data/spec/integration/proxy/v1/service/session/interaction_spec.rb +0 -3
- data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +0 -3
- data/spec/integration/proxy/v1/service/session/participant_spec.rb +0 -3
- data/spec/integration/proxy/v1/service/session_spec.rb +0 -5
- data/spec/integration/proxy/v1/service/short_code_spec.rb +0 -4
- data/spec/integration/proxy/v1/service_spec.rb +0 -4
- data/spec/integration/serverless/v1/service/asset/asset_version_spec.rb +0 -2
- data/spec/integration/serverless/v1/service/asset_spec.rb +0 -3
- data/spec/integration/serverless/v1/service/build_spec.rb +0 -4
- data/spec/integration/serverless/v1/service/environment/deployment_spec.rb +0 -3
- data/spec/integration/serverless/v1/service/environment/log_spec.rb +0 -2
- data/spec/integration/serverless/v1/service/environment/variable_spec.rb +0 -4
- data/spec/integration/serverless/v1/service/environment_spec.rb +0 -3
- data/spec/integration/serverless/v1/service/function/function_version/function_version_content_spec.rb +0 -1
- data/spec/integration/serverless/v1/service/function/function_version_spec.rb +0 -2
- data/spec/integration/serverless/v1/service/function_spec.rb +0 -3
- data/spec/integration/serverless/v1/service_spec.rb +0 -4
- data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +0 -1
- data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +0 -1
- data/spec/integration/studio/v1/flow/engagement/step_spec.rb +0 -2
- data/spec/integration/studio/v1/flow/engagement_spec.rb +0 -3
- data/spec/integration/studio/v1/flow/execution/execution_context_spec.rb +0 -1
- data/spec/integration/studio/v1/flow/execution/execution_step/execution_step_context_spec.rb +0 -1
- data/spec/integration/studio/v1/flow/execution/execution_step_spec.rb +0 -2
- data/spec/integration/studio/v1/flow/execution_spec.rb +0 -3
- data/spec/integration/studio/v1/flow_spec.rb +0 -3
- data/spec/integration/studio/v2/flow/execution/execution_context_spec.rb +0 -1
- data/spec/integration/studio/v2/flow/execution/execution_step/execution_step_context_spec.rb +0 -1
- data/spec/integration/studio/v2/flow/execution/execution_step_spec.rb +0 -2
- data/spec/integration/studio/v2/flow/execution_spec.rb +0 -3
- data/spec/integration/studio/v2/flow/flow_revision_spec.rb +0 -2
- data/spec/integration/studio/v2/flow/test_user_spec.rb +0 -1
- data/spec/integration/studio/v2/flow_spec.rb +0 -3
- data/spec/integration/supersim/v1/command_spec.rb +0 -2
- data/spec/integration/supersim/v1/fleet_spec.rb +0 -3
- data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb +0 -3
- data/spec/integration/supersim/v1/network_access_profile_spec.rb +0 -4
- data/spec/integration/supersim/v1/network_spec.rb +0 -2
- data/spec/integration/supersim/v1/sim_spec.rb +0 -3
- data/spec/integration/supersim/v1/usage_record_spec.rb +463 -19
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +0 -3
- data/spec/integration/sync/v1/service/document_spec.rb +6 -7
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +6 -6
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +0 -3
- data/spec/integration/sync/v1/service/sync_list_spec.rb +0 -5
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +6 -6
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +0 -3
- data/spec/integration/sync/v1/service/sync_map_spec.rb +0 -5
- data/spec/integration/sync/v1/service/sync_stream_spec.rb +0 -5
- data/spec/integration/sync/v1/service_spec.rb +0 -5
- data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/event_spec.rb +0 -2
- data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +0 -3
- data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/task_spec.rb +0 -5
- data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +0 -3
- data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +0 -3
- data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +0 -4
- data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +0 -1
- data/spec/integration/taskrouter/v1/workspace_spec.rb +0 -4
- data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +0 -3
- data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +0 -3
- data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +0 -4
- data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +0 -3
- data/spec/integration/trunking/v1/trunk_spec.rb +0 -5
- data/spec/integration/verify/v2/form_spec.rb +5 -6
- data/spec/integration/verify/v2/service/access_token_spec.rb +44 -0
- data/spec/integration/verify/v2/service/entity/{factor/challenge_spec.rb → challenge_spec.rb} +41 -142
- data/spec/integration/verify/v2/service/entity/factor_spec.rb +21 -27
- data/spec/integration/verify/v2/service/entity_spec.rb +15 -10
- data/spec/integration/verify/v2/service/messaging_configuration_spec.rb +0 -3
- data/spec/integration/verify/v2/service/rate_limit/bucket_spec.rb +0 -4
- data/spec/integration/verify/v2/service/rate_limit_spec.rb +0 -4
- data/spec/integration/verify/v2/service/verification_spec.rb +0 -1
- data/spec/integration/verify/v2/service/webhook_spec.rb +0 -4
- data/spec/integration/verify/v2/service_spec.rb +8 -8
- data/spec/integration/video/v1/composition_hook_spec.rb +0 -3
- data/spec/integration/video/v1/composition_settings_spec.rb +0 -1
- data/spec/integration/video/v1/composition_spec.rb +0 -3
- data/spec/integration/video/v1/recording_settings_spec.rb +0 -1
- data/spec/integration/video/v1/recording_spec.rb +0 -3
- data/spec/integration/video/v1/room/recording_spec.rb +0 -3
- data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +0 -2
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb +0 -2
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +0 -2
- data/spec/integration/video/v1/room/room_participant_spec.rb +0 -3
- data/spec/integration/video/v1/room_spec.rb +0 -3
- data/spec/integration/voice/v1/byoc_trunk_spec.rb +0 -5
- data/spec/integration/voice/v1/connection_policy/connection_policy_target_spec.rb +0 -4
- data/spec/integration/voice/v1/connection_policy_spec.rb +0 -5
- data/spec/integration/voice/v1/dialing_permissions/country/highrisk_special_prefix_spec.rb +0 -1
- data/spec/integration/voice/v1/dialing_permissions/country_spec.rb +0 -2
- data/spec/integration/voice/v1/dialing_permissions/settings_spec.rb +0 -2
- data/spec/integration/voice/v1/ip_record_spec.rb +0 -4
- data/spec/integration/voice/v1/source_ip_mapping_spec.rb +0 -3
- data/spec/integration/wireless/v1/command_spec.rb +0 -3
- data/spec/integration/wireless/v1/rate_plan_spec.rb +0 -5
- data/spec/integration/wireless/v1/sim/data_session_spec.rb +2 -3
- 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 +30 -8
- data/lib/twilio-ruby/rest/verify/v2/service/entity/access_token.rb +0 -141
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor/challenge.rb +0 -494
- data/spec/integration/verify/v2/service/entity/access_token_spec.rb +0 -46
@@ -18,7 +18,6 @@ describe 'Step' do
|
|
18
18
|
.steps.list()
|
19
19
|
}.to raise_exception(Twilio::REST::TwilioError)
|
20
20
|
|
21
|
-
values = {}
|
22
21
|
expect(
|
23
22
|
@holodeck.has_request?(Holodeck::Request.new(
|
24
23
|
method: 'get',
|
@@ -61,7 +60,6 @@ describe 'Step' do
|
|
61
60
|
.steps('FTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
62
61
|
}.to raise_exception(Twilio::REST::TwilioError)
|
63
62
|
|
64
|
-
values = {}
|
65
63
|
expect(
|
66
64
|
@holodeck.has_request?(Holodeck::Request.new(
|
67
65
|
method: 'get',
|
@@ -17,7 +17,6 @@ describe 'Engagement' do
|
|
17
17
|
.engagements.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',
|
@@ -58,7 +57,6 @@ describe 'Engagement' do
|
|
58
57
|
.engagements('FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
59
58
|
}.to raise_exception(Twilio::REST::TwilioError)
|
60
59
|
|
61
|
-
values = {}
|
62
60
|
expect(
|
63
61
|
@holodeck.has_request?(Holodeck::Request.new(
|
64
62
|
method: 'get',
|
@@ -149,7 +147,6 @@ describe 'Engagement' do
|
|
149
147
|
.engagements('FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
150
148
|
}.to raise_exception(Twilio::REST::TwilioError)
|
151
149
|
|
152
|
-
values = {}
|
153
150
|
expect(
|
154
151
|
@holodeck.has_request?(Holodeck::Request.new(
|
155
152
|
method: 'delete',
|
@@ -18,7 +18,6 @@ describe 'ExecutionStep' do
|
|
18
18
|
.steps.list()
|
19
19
|
}.to raise_exception(Twilio::REST::TwilioError)
|
20
20
|
|
21
|
-
values = {}
|
22
21
|
expect(
|
23
22
|
@holodeck.has_request?(Holodeck::Request.new(
|
24
23
|
method: 'get',
|
@@ -61,7 +60,6 @@ describe 'ExecutionStep' do
|
|
61
60
|
.steps('FTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
62
61
|
}.to raise_exception(Twilio::REST::TwilioError)
|
63
62
|
|
64
|
-
values = {}
|
65
63
|
expect(
|
66
64
|
@holodeck.has_request?(Holodeck::Request.new(
|
67
65
|
method: 'get',
|
@@ -17,7 +17,6 @@ describe 'Execution' do
|
|
17
17
|
.executions.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',
|
@@ -58,7 +57,6 @@ describe 'Execution' do
|
|
58
57
|
.executions('FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
59
58
|
}.to raise_exception(Twilio::REST::TwilioError)
|
60
59
|
|
61
|
-
values = {}
|
62
60
|
expect(
|
63
61
|
@holodeck.has_request?(Holodeck::Request.new(
|
64
62
|
method: 'get',
|
@@ -149,7 +147,6 @@ describe 'Execution' do
|
|
149
147
|
.executions('FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
150
148
|
}.to raise_exception(Twilio::REST::TwilioError)
|
151
149
|
|
152
|
-
values = {}
|
153
150
|
expect(
|
154
151
|
@holodeck.has_request?(Holodeck::Request.new(
|
155
152
|
method: 'delete',
|
@@ -16,7 +16,6 @@ describe 'Flow' do
|
|
16
16
|
@client.studio.v1.flows.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',
|
@@ -55,7 +54,6 @@ describe 'Flow' do
|
|
55
54
|
@client.studio.v1.flows('FWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
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',
|
@@ -96,7 +94,6 @@ describe 'Flow' do
|
|
96
94
|
@client.studio.v1.flows('FWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
97
95
|
}.to raise_exception(Twilio::REST::TwilioError)
|
98
96
|
|
99
|
-
values = {}
|
100
97
|
expect(
|
101
98
|
@holodeck.has_request?(Holodeck::Request.new(
|
102
99
|
method: 'delete',
|
@@ -18,7 +18,6 @@ describe 'ExecutionStep' do
|
|
18
18
|
.steps.list()
|
19
19
|
}.to raise_exception(Twilio::REST::TwilioError)
|
20
20
|
|
21
|
-
values = {}
|
22
21
|
expect(
|
23
22
|
@holodeck.has_request?(Holodeck::Request.new(
|
24
23
|
method: 'get',
|
@@ -61,7 +60,6 @@ describe 'ExecutionStep' do
|
|
61
60
|
.steps('FTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
62
61
|
}.to raise_exception(Twilio::REST::TwilioError)
|
63
62
|
|
64
|
-
values = {}
|
65
63
|
expect(
|
66
64
|
@holodeck.has_request?(Holodeck::Request.new(
|
67
65
|
method: 'get',
|
@@ -17,7 +17,6 @@ describe 'Execution' do
|
|
17
17
|
.executions.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',
|
@@ -58,7 +57,6 @@ describe 'Execution' do
|
|
58
57
|
.executions('FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
59
58
|
}.to raise_exception(Twilio::REST::TwilioError)
|
60
59
|
|
61
|
-
values = {}
|
62
60
|
expect(
|
63
61
|
@holodeck.has_request?(Holodeck::Request.new(
|
64
62
|
method: 'get',
|
@@ -147,7 +145,6 @@ describe 'Execution' do
|
|
147
145
|
.executions('FNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
148
146
|
}.to raise_exception(Twilio::REST::TwilioError)
|
149
147
|
|
150
|
-
values = {}
|
151
148
|
expect(
|
152
149
|
@holodeck.has_request?(Holodeck::Request.new(
|
153
150
|
method: 'delete',
|
@@ -17,7 +17,6 @@ describe 'FlowRevision' do
|
|
17
17
|
.revisions.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',
|
@@ -73,7 +72,6 @@ describe 'FlowRevision' do
|
|
73
72
|
.revisions('revision').fetch()
|
74
73
|
}.to raise_exception(Twilio::REST::TwilioError)
|
75
74
|
|
76
|
-
values = {}
|
77
75
|
expect(
|
78
76
|
@holodeck.has_request?(Holodeck::Request.new(
|
79
77
|
method: 'get',
|
@@ -122,7 +122,6 @@ describe 'Flow' do
|
|
122
122
|
@client.studio.v2.flows.list()
|
123
123
|
}.to raise_exception(Twilio::REST::TwilioError)
|
124
124
|
|
125
|
-
values = {}
|
126
125
|
expect(
|
127
126
|
@holodeck.has_request?(Holodeck::Request.new(
|
128
127
|
method: 'get',
|
@@ -183,7 +182,6 @@ describe 'Flow' do
|
|
183
182
|
@client.studio.v2.flows('FWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
184
183
|
}.to raise_exception(Twilio::REST::TwilioError)
|
185
184
|
|
186
|
-
values = {}
|
187
185
|
expect(
|
188
186
|
@holodeck.has_request?(Holodeck::Request.new(
|
189
187
|
method: 'get',
|
@@ -233,7 +231,6 @@ describe 'Flow' do
|
|
233
231
|
@client.studio.v2.flows('FWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
234
232
|
}.to raise_exception(Twilio::REST::TwilioError)
|
235
233
|
|
236
|
-
values = {}
|
237
234
|
expect(
|
238
235
|
@holodeck.has_request?(Holodeck::Request.new(
|
239
236
|
method: 'delete',
|
@@ -78,7 +78,6 @@ describe 'Command' do
|
|
78
78
|
@client.supersim.v1.commands('HCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
79
79
|
}.to raise_exception(Twilio::REST::TwilioError)
|
80
80
|
|
81
|
-
values = {}
|
82
81
|
expect(
|
83
82
|
@holodeck.has_request?(Holodeck::Request.new(
|
84
83
|
method: 'get',
|
@@ -116,7 +115,6 @@ describe 'Command' do
|
|
116
115
|
@client.supersim.v1.commands.list()
|
117
116
|
}.to raise_exception(Twilio::REST::TwilioError)
|
118
117
|
|
119
|
-
values = {}
|
120
118
|
expect(
|
121
119
|
@holodeck.has_request?(Holodeck::Request.new(
|
122
120
|
method: 'get',
|
@@ -59,7 +59,6 @@ describe 'Fleet' do
|
|
59
59
|
@client.supersim.v1.fleets('HFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
60
60
|
}.to raise_exception(Twilio::REST::TwilioError)
|
61
61
|
|
62
|
-
values = {}
|
63
62
|
expect(
|
64
63
|
@holodeck.has_request?(Holodeck::Request.new(
|
65
64
|
method: 'get',
|
@@ -101,7 +100,6 @@ describe 'Fleet' do
|
|
101
100
|
@client.supersim.v1.fleets.list()
|
102
101
|
}.to raise_exception(Twilio::REST::TwilioError)
|
103
102
|
|
104
|
-
values = {}
|
105
103
|
expect(
|
106
104
|
@holodeck.has_request?(Holodeck::Request.new(
|
107
105
|
method: 'get',
|
@@ -180,7 +178,6 @@ describe 'Fleet' do
|
|
180
178
|
@client.supersim.v1.fleets('HFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
181
179
|
}.to raise_exception(Twilio::REST::TwilioError)
|
182
180
|
|
183
|
-
values = {}
|
184
181
|
expect(
|
185
182
|
@holodeck.has_request?(Holodeck::Request.new(
|
186
183
|
method: 'post',
|
data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb
CHANGED
@@ -17,7 +17,6 @@ describe 'NetworkAccessProfileNetwork' do
|
|
17
17
|
.networks.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',
|
@@ -115,7 +114,6 @@ describe 'NetworkAccessProfileNetwork' do
|
|
115
114
|
.networks('HWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
|
116
115
|
}.to raise_exception(Twilio::REST::TwilioError)
|
117
116
|
|
118
|
-
values = {}
|
119
117
|
expect(
|
120
118
|
@holodeck.has_request?(Holodeck::Request.new(
|
121
119
|
method: 'delete',
|
@@ -143,7 +141,6 @@ describe 'NetworkAccessProfileNetwork' do
|
|
143
141
|
.networks('HWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
144
142
|
}.to raise_exception(Twilio::REST::TwilioError)
|
145
143
|
|
146
|
-
values = {}
|
147
144
|
expect(
|
148
145
|
@holodeck.has_request?(Holodeck::Request.new(
|
149
146
|
method: 'get',
|
@@ -16,7 +16,6 @@ describe 'NetworkAccessProfile' do
|
|
16
16
|
@client.supersim.v1.network_access_profiles.create()
|
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: 'post',
|
@@ -77,7 +76,6 @@ describe 'NetworkAccessProfile' do
|
|
77
76
|
@client.supersim.v1.network_access_profiles('HAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
|
78
77
|
}.to raise_exception(Twilio::REST::TwilioError)
|
79
78
|
|
80
|
-
values = {}
|
81
79
|
expect(
|
82
80
|
@holodeck.has_request?(Holodeck::Request.new(
|
83
81
|
method: 'get',
|
@@ -115,7 +113,6 @@ describe 'NetworkAccessProfile' do
|
|
115
113
|
@client.supersim.v1.network_access_profiles('HAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
116
114
|
}.to raise_exception(Twilio::REST::TwilioError)
|
117
115
|
|
118
|
-
values = {}
|
119
116
|
expect(
|
120
117
|
@holodeck.has_request?(Holodeck::Request.new(
|
121
118
|
method: 'post',
|
@@ -153,7 +150,6 @@ describe 'NetworkAccessProfile' do
|
|
153
150
|
@client.supersim.v1.network_access_profiles.list()
|
154
151
|
}.to raise_exception(Twilio::REST::TwilioError)
|
155
152
|
|
156
|
-
values = {}
|
157
153
|
expect(
|
158
154
|
@holodeck.has_request?(Holodeck::Request.new(
|
159
155
|
method: 'get',
|
@@ -16,7 +16,6 @@ describe 'Network' do
|
|
16
16
|
@client.supersim.v1.networks('HWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').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 'Network' do
|
|
55
54
|
@client.supersim.v1.networks.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',
|
@@ -16,7 +16,6 @@ describe 'Sim' do
|
|
16
16
|
@client.supersim.v1.sims('HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').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',
|
@@ -54,7 +53,6 @@ describe 'Sim' do
|
|
54
53
|
@client.supersim.v1.sims('HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
|
55
54
|
}.to raise_exception(Twilio::REST::TwilioError)
|
56
55
|
|
57
|
-
values = {}
|
58
56
|
expect(
|
59
57
|
@holodeck.has_request?(Holodeck::Request.new(
|
60
58
|
method: 'post',
|
@@ -161,7 +159,6 @@ describe 'Sim' do
|
|
161
159
|
@client.supersim.v1.sims.list()
|
162
160
|
}.to raise_exception(Twilio::REST::TwilioError)
|
163
161
|
|
164
|
-
values = {}
|
165
162
|
expect(
|
166
163
|
@holodeck.has_request?(Holodeck::Request.new(
|
167
164
|
method: 'get',
|
@@ -16,7 +16,6 @@ describe 'UsageRecord' do
|
|
16
16
|
@client.supersim.v1.usage_records.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',
|
@@ -39,7 +38,10 @@ describe 'UsageRecord' do
|
|
39
38
|
"data_upload": 1000,
|
40
39
|
"data_download": 1000,
|
41
40
|
"data_total": 2000,
|
42
|
-
"sim_sid": null
|
41
|
+
"sim_sid": null,
|
42
|
+
"fleet_sid": null,
|
43
|
+
"network_sid": null,
|
44
|
+
"iso_country": null
|
43
45
|
}
|
44
46
|
],
|
45
47
|
"meta": {
|
@@ -68,25 +70,31 @@ describe 'UsageRecord' do
|
|
68
70
|
"usage_records": [
|
69
71
|
{
|
70
72
|
"period": {
|
71
|
-
"start_time": "2019-05-
|
72
|
-
"end_time": "2019-05-
|
73
|
+
"start_time": "2019-05-03T00:00:00Z",
|
74
|
+
"end_time": "2019-05-04T00:00:00Z"
|
73
75
|
},
|
74
76
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
75
77
|
"data_upload": 1000,
|
76
78
|
"data_download": 1000,
|
77
79
|
"data_total": 2000,
|
78
|
-
"sim_sid": null
|
80
|
+
"sim_sid": null,
|
81
|
+
"fleet_sid": null,
|
82
|
+
"network_sid": null,
|
83
|
+
"iso_country": null
|
79
84
|
},
|
80
85
|
{
|
81
86
|
"period": {
|
82
|
-
"start_time": "2019-05-
|
83
|
-
"end_time": "2019-05-
|
87
|
+
"start_time": "2019-05-02T00:00:00Z",
|
88
|
+
"end_time": "2019-05-03T00:00:00Z"
|
84
89
|
},
|
85
90
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
86
91
|
"data_upload": 1000,
|
87
92
|
"data_download": 1000,
|
88
93
|
"data_total": 2000,
|
89
|
-
"sim_sid": null
|
94
|
+
"sim_sid": null,
|
95
|
+
"fleet_sid": null,
|
96
|
+
"network_sid": null,
|
97
|
+
"iso_country": null
|
90
98
|
}
|
91
99
|
],
|
92
100
|
"meta": {
|
@@ -115,25 +123,31 @@ describe 'UsageRecord' do
|
|
115
123
|
"usage_records": [
|
116
124
|
{
|
117
125
|
"period": {
|
118
|
-
"start_time": "2019-05-
|
119
|
-
"end_time": "2019-05-
|
126
|
+
"start_time": "2019-05-01T01:00:00Z",
|
127
|
+
"end_time": "2019-05-01T02:00:00Z"
|
120
128
|
},
|
121
129
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
122
130
|
"data_upload": 1000,
|
123
131
|
"data_download": 1000,
|
124
132
|
"data_total": 2000,
|
125
|
-
"sim_sid": null
|
133
|
+
"sim_sid": null,
|
134
|
+
"fleet_sid": null,
|
135
|
+
"network_sid": null,
|
136
|
+
"iso_country": null
|
126
137
|
},
|
127
138
|
{
|
128
139
|
"period": {
|
129
|
-
"start_time": "2019-05-
|
130
|
-
"end_time": "2019-05-
|
140
|
+
"start_time": "2019-05-01T00:00:00Z",
|
141
|
+
"end_time": "2019-05-01T01:00:00Z"
|
131
142
|
},
|
132
143
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
133
144
|
"data_upload": 1000,
|
134
145
|
"data_download": 1000,
|
135
146
|
"data_total": 2000,
|
136
|
-
"sim_sid": null
|
147
|
+
"sim_sid": null,
|
148
|
+
"fleet_sid": null,
|
149
|
+
"network_sid": null,
|
150
|
+
"iso_country": null
|
137
151
|
}
|
138
152
|
],
|
139
153
|
"meta": {
|
@@ -162,15 +176,163 @@ describe 'UsageRecord' do
|
|
162
176
|
"usage_records": [
|
163
177
|
{
|
164
178
|
"period": {
|
165
|
-
"start_time": "2019-05-
|
179
|
+
"start_time": "2019-05-03T00:00:00Z",
|
180
|
+
"end_time": "2019-05-04T00:00:00Z"
|
181
|
+
},
|
182
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
183
|
+
"data_upload": 1000,
|
184
|
+
"data_download": 1000,
|
185
|
+
"data_total": 2000,
|
186
|
+
"sim_sid": "HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
187
|
+
"fleet_sid": null,
|
188
|
+
"network_sid": null,
|
189
|
+
"iso_country": null
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"period": {
|
193
|
+
"start_time": "2019-05-02T00:00:00Z",
|
194
|
+
"end_time": "2019-05-03T00:00:00Z"
|
195
|
+
},
|
196
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
197
|
+
"data_upload": 1000,
|
198
|
+
"data_download": 1000,
|
199
|
+
"data_total": 2000,
|
200
|
+
"sim_sid": "HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
201
|
+
"fleet_sid": null,
|
202
|
+
"network_sid": null,
|
203
|
+
"iso_country": null
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"meta": {
|
207
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?Sim=HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&Granularity=day&PageSize=50&Page=0",
|
208
|
+
"key": "usage_records",
|
209
|
+
"next_page_url": null,
|
210
|
+
"page": 0,
|
211
|
+
"page_size": 50,
|
212
|
+
"previous_page_url": null,
|
213
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?Sim=HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&Granularity=day&PageSize=50&Page=0"
|
214
|
+
}
|
215
|
+
}
|
216
|
+
]
|
217
|
+
))
|
218
|
+
|
219
|
+
actual = @client.supersim.v1.usage_records.list()
|
220
|
+
|
221
|
+
expect(actual).to_not eq(nil)
|
222
|
+
end
|
223
|
+
|
224
|
+
it "receives read_day_network_filter responses" do
|
225
|
+
@holodeck.mock(Twilio::Response.new(
|
226
|
+
200,
|
227
|
+
%q[
|
228
|
+
{
|
229
|
+
"usage_records": [
|
230
|
+
{
|
231
|
+
"period": {
|
232
|
+
"start_time": "2019-05-03T00:00:00Z",
|
233
|
+
"end_time": "2019-05-04T00:00:00Z"
|
234
|
+
},
|
235
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
236
|
+
"data_upload": 1000,
|
237
|
+
"data_download": 1000,
|
238
|
+
"data_total": 2000,
|
239
|
+
"sim_sid": null,
|
240
|
+
"fleet_sid": null,
|
241
|
+
"network_sid": "HWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
242
|
+
"iso_country": null
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"period": {
|
246
|
+
"start_time": "2019-05-02T00:00:00Z",
|
166
247
|
"end_time": "2019-05-03T00:00:00Z"
|
167
248
|
},
|
168
249
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
169
250
|
"data_upload": 1000,
|
170
251
|
"data_download": 1000,
|
171
252
|
"data_total": 2000,
|
172
|
-
"sim_sid":
|
253
|
+
"sim_sid": null,
|
254
|
+
"fleet_sid": null,
|
255
|
+
"network_sid": "HWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
256
|
+
"iso_country": null
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"meta": {
|
260
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?Network=HWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&Granularity=day&PageSize=50&Page=0",
|
261
|
+
"key": "usage_records",
|
262
|
+
"next_page_url": null,
|
263
|
+
"page": 0,
|
264
|
+
"page_size": 50,
|
265
|
+
"previous_page_url": null,
|
266
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?Network=HWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&Granularity=day&PageSize=50&Page=0"
|
267
|
+
}
|
268
|
+
}
|
269
|
+
]
|
270
|
+
))
|
271
|
+
|
272
|
+
actual = @client.supersim.v1.usage_records.list()
|
273
|
+
|
274
|
+
expect(actual).to_not eq(nil)
|
275
|
+
end
|
276
|
+
|
277
|
+
it "receives read_day_country_filter responses" do
|
278
|
+
@holodeck.mock(Twilio::Response.new(
|
279
|
+
200,
|
280
|
+
%q[
|
281
|
+
{
|
282
|
+
"usage_records": [
|
283
|
+
{
|
284
|
+
"period": {
|
285
|
+
"start_time": "2019-05-03T00:00:00Z",
|
286
|
+
"end_time": "2019-05-04T00:00:00Z"
|
287
|
+
},
|
288
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
289
|
+
"data_upload": 1000,
|
290
|
+
"data_download": 1000,
|
291
|
+
"data_total": 2000,
|
292
|
+
"sim_sid": null,
|
293
|
+
"fleet_sid": null,
|
294
|
+
"network_sid": null,
|
295
|
+
"iso_country": "FR"
|
173
296
|
},
|
297
|
+
{
|
298
|
+
"period": {
|
299
|
+
"start_time": "2019-05-02T00:00:00Z",
|
300
|
+
"end_time": "2019-05-03T00:00:00Z"
|
301
|
+
},
|
302
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
303
|
+
"data_upload": 1000,
|
304
|
+
"data_download": 1000,
|
305
|
+
"data_total": 2000,
|
306
|
+
"sim_sid": null,
|
307
|
+
"fleet_sid": null,
|
308
|
+
"network_sid": null,
|
309
|
+
"iso_country": "FR"
|
310
|
+
}
|
311
|
+
],
|
312
|
+
"meta": {
|
313
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?IsoCountry=FR&Granularity=day&PageSize=50&Page=0",
|
314
|
+
"key": "usage_records",
|
315
|
+
"next_page_url": null,
|
316
|
+
"page": 0,
|
317
|
+
"page_size": 50,
|
318
|
+
"previous_page_url": null,
|
319
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?IsoCountry=FR&Granularity=day&PageSize=50&Page=0"
|
320
|
+
}
|
321
|
+
}
|
322
|
+
]
|
323
|
+
))
|
324
|
+
|
325
|
+
actual = @client.supersim.v1.usage_records.list()
|
326
|
+
|
327
|
+
expect(actual).to_not eq(nil)
|
328
|
+
end
|
329
|
+
|
330
|
+
it "receives read_day_fleet_filter responses" do
|
331
|
+
@holodeck.mock(Twilio::Response.new(
|
332
|
+
200,
|
333
|
+
%q[
|
334
|
+
{
|
335
|
+
"usage_records": [
|
174
336
|
{
|
175
337
|
"period": {
|
176
338
|
"start_time": "2019-05-03T00:00:00Z",
|
@@ -180,17 +342,299 @@ describe 'UsageRecord' do
|
|
180
342
|
"data_upload": 1000,
|
181
343
|
"data_download": 1000,
|
182
344
|
"data_total": 2000,
|
183
|
-
"sim_sid":
|
345
|
+
"sim_sid": null,
|
346
|
+
"fleet_sid": "HFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
347
|
+
"network_sid": null,
|
348
|
+
"iso_country": null
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"period": {
|
352
|
+
"start_time": "2019-05-02T00:00:00Z",
|
353
|
+
"end_time": "2019-05-03T00:00:00Z"
|
354
|
+
},
|
355
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
356
|
+
"data_upload": 1000,
|
357
|
+
"data_download": 1000,
|
358
|
+
"data_total": 2000,
|
359
|
+
"sim_sid": null,
|
360
|
+
"fleet_sid": "HFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
361
|
+
"network_sid": null,
|
362
|
+
"iso_country": null
|
184
363
|
}
|
185
364
|
],
|
186
365
|
"meta": {
|
187
|
-
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?
|
366
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?Fleet=HFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&Granularity=day&PageSize=50&Page=0",
|
188
367
|
"key": "usage_records",
|
189
368
|
"next_page_url": null,
|
190
369
|
"page": 0,
|
191
370
|
"page_size": 50,
|
192
371
|
"previous_page_url": null,
|
193
|
-
"url": "https://supersim.twilio.com/v1/UsageRecords?
|
372
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?Fleet=HFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&Granularity=day&PageSize=50&Page=0"
|
373
|
+
}
|
374
|
+
}
|
375
|
+
]
|
376
|
+
))
|
377
|
+
|
378
|
+
actual = @client.supersim.v1.usage_records.list()
|
379
|
+
|
380
|
+
expect(actual).to_not eq(nil)
|
381
|
+
end
|
382
|
+
|
383
|
+
it "receives read_day_group_by_sim responses" do
|
384
|
+
@holodeck.mock(Twilio::Response.new(
|
385
|
+
200,
|
386
|
+
%q[
|
387
|
+
{
|
388
|
+
"usage_records": [
|
389
|
+
{
|
390
|
+
"period": {
|
391
|
+
"start_time": "2019-05-03T00:00:00Z",
|
392
|
+
"end_time": "2019-05-04T00:00:00Z"
|
393
|
+
},
|
394
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
395
|
+
"data_upload": 1000,
|
396
|
+
"data_download": 1000,
|
397
|
+
"data_total": 2000,
|
398
|
+
"sim_sid": "HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
399
|
+
"fleet_sid": null,
|
400
|
+
"network_sid": null,
|
401
|
+
"iso_country": null
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"period": {
|
405
|
+
"start_time": "2019-05-03T00:00:00Z",
|
406
|
+
"end_time": "2019-05-04T00:00:00Z"
|
407
|
+
},
|
408
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
409
|
+
"data_upload": 500,
|
410
|
+
"data_download": 1500,
|
411
|
+
"data_total": 2000,
|
412
|
+
"sim_sid": "HSbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
413
|
+
"fleet_sid": null,
|
414
|
+
"network_sid": null,
|
415
|
+
"iso_country": null
|
416
|
+
}
|
417
|
+
],
|
418
|
+
"meta": {
|
419
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?Group=sim&PageSize=50&Page=0",
|
420
|
+
"key": "usage_records",
|
421
|
+
"next_page_url": null,
|
422
|
+
"page": 0,
|
423
|
+
"page_size": 50,
|
424
|
+
"previous_page_url": null,
|
425
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?Group=sim&PageSize=50&Page=0"
|
426
|
+
}
|
427
|
+
}
|
428
|
+
]
|
429
|
+
))
|
430
|
+
|
431
|
+
actual = @client.supersim.v1.usage_records.list()
|
432
|
+
|
433
|
+
expect(actual).to_not eq(nil)
|
434
|
+
end
|
435
|
+
|
436
|
+
it "receives read_day_group_by_fleet responses" do
|
437
|
+
@holodeck.mock(Twilio::Response.new(
|
438
|
+
200,
|
439
|
+
%q[
|
440
|
+
{
|
441
|
+
"usage_records": [
|
442
|
+
{
|
443
|
+
"period": {
|
444
|
+
"start_time": "2019-05-03T00:00:00Z",
|
445
|
+
"end_time": "2019-05-04T00:00:00Z"
|
446
|
+
},
|
447
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
448
|
+
"data_upload": 1000,
|
449
|
+
"data_download": 1000,
|
450
|
+
"data_total": 2000,
|
451
|
+
"sim_sid": null,
|
452
|
+
"fleet_sid": "HFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
453
|
+
"network_sid": null,
|
454
|
+
"iso_country": null
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"period": {
|
458
|
+
"start_time": "2019-05-03T00:00:00Z",
|
459
|
+
"end_time": "2019-05-04T00:00:00Z"
|
460
|
+
},
|
461
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
462
|
+
"data_upload": 500,
|
463
|
+
"data_download": 1500,
|
464
|
+
"data_total": 2000,
|
465
|
+
"sim_sid": null,
|
466
|
+
"fleet_sid": "HFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
467
|
+
"network_sid": null,
|
468
|
+
"iso_country": null
|
469
|
+
}
|
470
|
+
],
|
471
|
+
"meta": {
|
472
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?Group=fleet&PageSize=50&Page=0",
|
473
|
+
"key": "usage_records",
|
474
|
+
"next_page_url": null,
|
475
|
+
"page": 0,
|
476
|
+
"page_size": 50,
|
477
|
+
"previous_page_url": null,
|
478
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?Group=fleet&PageSize=50&Page=0"
|
479
|
+
}
|
480
|
+
}
|
481
|
+
]
|
482
|
+
))
|
483
|
+
|
484
|
+
actual = @client.supersim.v1.usage_records.list()
|
485
|
+
|
486
|
+
expect(actual).to_not eq(nil)
|
487
|
+
end
|
488
|
+
|
489
|
+
it "receives read_day_group_by_network responses" do
|
490
|
+
@holodeck.mock(Twilio::Response.new(
|
491
|
+
200,
|
492
|
+
%q[
|
493
|
+
{
|
494
|
+
"usage_records": [
|
495
|
+
{
|
496
|
+
"period": {
|
497
|
+
"start_time": "2019-05-03T00:00:00Z",
|
498
|
+
"end_time": "2019-05-04T00:00:00Z"
|
499
|
+
},
|
500
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
501
|
+
"data_upload": 1000,
|
502
|
+
"data_download": 1000,
|
503
|
+
"data_total": 2000,
|
504
|
+
"sim_sid": null,
|
505
|
+
"fleet_sid": null,
|
506
|
+
"network_sid": "HWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
507
|
+
"iso_country": null
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"period": {
|
511
|
+
"start_time": "2019-05-03T00:00:00Z",
|
512
|
+
"end_time": "2019-05-04T00:00:00Z"
|
513
|
+
},
|
514
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
515
|
+
"data_upload": 500,
|
516
|
+
"data_download": 1500,
|
517
|
+
"data_total": 2000,
|
518
|
+
"sim_sid": null,
|
519
|
+
"fleet_sid": null,
|
520
|
+
"network_sid": "HWbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
521
|
+
"iso_country": null
|
522
|
+
}
|
523
|
+
],
|
524
|
+
"meta": {
|
525
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?Group=network&PageSize=50&Page=0",
|
526
|
+
"key": "usage_records",
|
527
|
+
"next_page_url": null,
|
528
|
+
"page": 0,
|
529
|
+
"page_size": 50,
|
530
|
+
"previous_page_url": null,
|
531
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?Group=network&PageSize=50&Page=0"
|
532
|
+
}
|
533
|
+
}
|
534
|
+
]
|
535
|
+
))
|
536
|
+
|
537
|
+
actual = @client.supersim.v1.usage_records.list()
|
538
|
+
|
539
|
+
expect(actual).to_not eq(nil)
|
540
|
+
end
|
541
|
+
|
542
|
+
it "receives read_day_group_by_iso_country responses" do
|
543
|
+
@holodeck.mock(Twilio::Response.new(
|
544
|
+
200,
|
545
|
+
%q[
|
546
|
+
{
|
547
|
+
"usage_records": [
|
548
|
+
{
|
549
|
+
"period": {
|
550
|
+
"start_time": "2019-05-03T00:00:00Z",
|
551
|
+
"end_time": "2019-05-04T00:00:00Z"
|
552
|
+
},
|
553
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
554
|
+
"data_upload": 1000,
|
555
|
+
"data_download": 1000,
|
556
|
+
"data_total": 2000,
|
557
|
+
"sim_sid": null,
|
558
|
+
"fleet_sid": null,
|
559
|
+
"network_sid": null,
|
560
|
+
"iso_country": "FR"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"period": {
|
564
|
+
"start_time": "2019-05-03T00:00:00Z",
|
565
|
+
"end_time": "2019-05-04T00:00:00Z"
|
566
|
+
},
|
567
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
568
|
+
"data_upload": 500,
|
569
|
+
"data_download": 1500,
|
570
|
+
"data_total": 2000,
|
571
|
+
"sim_sid": null,
|
572
|
+
"fleet_sid": null,
|
573
|
+
"network_sid": null,
|
574
|
+
"iso_country": "US"
|
575
|
+
}
|
576
|
+
],
|
577
|
+
"meta": {
|
578
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?Group=isoCountry&PageSize=50&Page=0",
|
579
|
+
"key": "usage_records",
|
580
|
+
"next_page_url": null,
|
581
|
+
"page": 0,
|
582
|
+
"page_size": 50,
|
583
|
+
"previous_page_url": null,
|
584
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?Group=isoCountry&PageSize=50&Page=0"
|
585
|
+
}
|
586
|
+
}
|
587
|
+
]
|
588
|
+
))
|
589
|
+
|
590
|
+
actual = @client.supersim.v1.usage_records.list()
|
591
|
+
|
592
|
+
expect(actual).to_not eq(nil)
|
593
|
+
end
|
594
|
+
|
595
|
+
it "receives read_day_group_by_sim_and_filter_by_country responses" do
|
596
|
+
@holodeck.mock(Twilio::Response.new(
|
597
|
+
200,
|
598
|
+
%q[
|
599
|
+
{
|
600
|
+
"usage_records": [
|
601
|
+
{
|
602
|
+
"period": {
|
603
|
+
"start_time": "2019-05-03T00:00:00Z",
|
604
|
+
"end_time": "2019-05-04T00:00:00Z"
|
605
|
+
},
|
606
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
607
|
+
"data_upload": 1000,
|
608
|
+
"data_download": 1000,
|
609
|
+
"data_total": 2000,
|
610
|
+
"sim_sid": "HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
611
|
+
"fleet_sid": null,
|
612
|
+
"network_sid": null,
|
613
|
+
"iso_country": "FR"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"period": {
|
617
|
+
"start_time": "2019-05-03T00:00:00Z",
|
618
|
+
"end_time": "2019-05-04T00:00:00Z"
|
619
|
+
},
|
620
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
621
|
+
"data_upload": 500,
|
622
|
+
"data_download": 1500,
|
623
|
+
"data_total": 2000,
|
624
|
+
"sim_sid": "HSbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
625
|
+
"fleet_sid": null,
|
626
|
+
"network_sid": null,
|
627
|
+
"iso_country": "FR"
|
628
|
+
}
|
629
|
+
],
|
630
|
+
"meta": {
|
631
|
+
"first_page_url": "https://supersim.twilio.com/v1/UsageRecords?IsoCountry=FR&Group=sim&PageSize=50&Page=0",
|
632
|
+
"key": "usage_records",
|
633
|
+
"next_page_url": null,
|
634
|
+
"page": 0,
|
635
|
+
"page_size": 50,
|
636
|
+
"previous_page_url": null,
|
637
|
+
"url": "https://supersim.twilio.com/v1/UsageRecords?IsoCountry=FR&Group=sim&PageSize=50&Page=0"
|
194
638
|
}
|
195
639
|
}
|
196
640
|
]
|