twilio-ruby 6.2.0 → 6.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +205 -0
- data/CONTRIBUTING.md +1 -1
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/lib/twilio-ruby/base/client_base.rb +4 -7
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +0 -1
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +0 -1
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +169 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +0 -2
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -8
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -19
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -6
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -11
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +55 -58
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +0 -3
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -9
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +0 -3
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account.rb +0 -3
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +0 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +0 -5
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +0 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -3
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +0 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +0 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +4 -5
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -6
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -3
- data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
- data/lib/twilio-ruby/rest/client.rb +1 -6
- data/lib/twilio-ruby/rest/content/v1/content.rb +1 -2
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -2
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -2
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -8
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +0 -3
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +12 -12
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +19 -20
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -11
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +0 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +0 -2
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/sink.rb +0 -3
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +21 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +0 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +1 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -4
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -7
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +11 -1
- data/lib/twilio-ruby/rest/{oauth/v1/oauth.rb → flex_api/v1/provisioning_status.rb} +39 -37
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1.rb +6 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +1 -1
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +0 -2
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +0 -3
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +33 -51
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +0 -4
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +0 -11
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +3 -4
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +4 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +12 -7
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +3 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +5 -25
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +4 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +7 -10
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +1 -6
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +2 -5
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +329 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +4 -5
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +78 -52
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +777 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +8 -3
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +0 -4
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +0 -7
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -5
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +1 -1
- data/lib/twilio-ruby/rest/notify/v1/service.rb +4 -6
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +22 -4
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +7 -12
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -6
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +249 -0
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +7 -20
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +19 -31
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +0 -4
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +14 -14
- data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +0 -1
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +0 -1
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -9
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -7
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -9
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -3
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -3
- data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +0 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +0 -4
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +0 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -3
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +0 -1
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -5
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -1
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -6
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -3
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +0 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -2
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -2
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -4
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -4
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -8
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -8
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +0 -3
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +0 -9
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -2
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -2
- data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +0 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +0 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +0 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +26 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +0 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +0 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +232 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +154 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +0 -3
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +0 -4
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +0 -3
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +0 -4
- data/lib/twilio-ruby/rest/trusthub/v1.rb +21 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -5
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -4
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -5
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -2
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -1
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service.rb +19 -4
- data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +7 -16
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/composition.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/recording.rb +1 -7
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +0 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +0 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -8
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/room.rb +2 -7
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +4 -11
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +5 -10
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -8
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -4
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -7
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +13 -19
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +2 -6
- data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +9 -11
- data/conf/cacert.pem +0 -3376
- data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +0 -171
- data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +0 -262
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -179
- data/lib/twilio-ruby/rest/oauth/v1/user_info.rb +0 -213
- data/lib/twilio-ruby/rest/oauth/v1.rb +0 -64
- data/lib/twilio-ruby/rest/oauth.rb +0 -33
- data/lib/twilio-ruby/rest/oauth_base.rb +0 -38
|
@@ -33,7 +33,7 @@ module Twilio
|
|
|
33
33
|
end
|
|
34
34
|
##
|
|
35
35
|
# Create the ShortCodeInstance
|
|
36
|
-
# @param [String] sid The SID of a Twilio [ShortCode](https://www.twilio.com/
|
|
36
|
+
# @param [String] sid The SID of a Twilio [ShortCode](https://www.twilio.com/en-us/messaging/channels/sms/short-codes) resource that represents the short code you would like to assign to your Proxy Service.
|
|
37
37
|
# @return [ShortCodeInstance] Created ShortCodeInstance
|
|
38
38
|
def create(
|
|
39
39
|
sid: nil
|
|
@@ -113,7 +113,6 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of ShortCodeInstance
|
|
114
114
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'PageToken' => page_token,
|
|
118
117
|
'Page' => page_number,
|
|
119
118
|
'PageSize' => page_size,
|
|
@@ -37,7 +37,7 @@ module Twilio
|
|
|
37
37
|
# @param [GeoMatchLevel] geo_match_level
|
|
38
38
|
# @param [NumberSelectionBehavior] number_selection_behavior
|
|
39
39
|
# @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
|
|
40
|
-
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
40
|
+
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
41
41
|
# @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
|
|
42
42
|
# @return [ServiceInstance] Created ServiceInstance
|
|
43
43
|
def create(
|
|
@@ -131,7 +131,6 @@ module Twilio
|
|
|
131
131
|
# @return [Page] Page of ServiceInstance
|
|
132
132
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
133
133
|
params = Twilio::Values.of({
|
|
134
|
-
|
|
135
134
|
'PageToken' => page_token,
|
|
136
135
|
'Page' => page_number,
|
|
137
136
|
'PageSize' => page_size,
|
|
@@ -213,7 +212,7 @@ module Twilio
|
|
|
213
212
|
# @param [GeoMatchLevel] geo_match_level
|
|
214
213
|
# @param [NumberSelectionBehavior] number_selection_behavior
|
|
215
214
|
# @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
|
|
216
|
-
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
215
|
+
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
217
216
|
# @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
|
|
218
217
|
# @return [ServiceInstance] Updated ServiceInstance
|
|
219
218
|
def update(
|
|
@@ -449,7 +448,7 @@ module Twilio
|
|
|
449
448
|
end
|
|
450
449
|
|
|
451
450
|
##
|
|
452
|
-
# @return [String] The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
451
|
+
# @return [String] The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
453
452
|
def out_of_session_callback_url
|
|
454
453
|
@properties['out_of_session_callback_url']
|
|
455
454
|
end
|
|
@@ -502,7 +501,7 @@ module Twilio
|
|
|
502
501
|
# @param [GeoMatchLevel] geo_match_level
|
|
503
502
|
# @param [NumberSelectionBehavior] number_selection_behavior
|
|
504
503
|
# @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
|
|
505
|
-
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
504
|
+
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
506
505
|
# @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
|
|
507
506
|
# @return [ServiceInstance] Updated ServiceInstance
|
|
508
507
|
def update(
|
|
@@ -113,7 +113,6 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of AssetInstance
|
|
114
114
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'PageToken' => page_token,
|
|
118
117
|
'Page' => page_number,
|
|
119
118
|
'PageSize' => page_size,
|
|
@@ -222,7 +221,7 @@ module Twilio
|
|
|
222
221
|
|
|
223
222
|
unless @asset_versions
|
|
224
223
|
@asset_versions = AssetVersionList.new(
|
|
225
|
-
@version, service_sid: @solution[:service_sid],
|
|
224
|
+
@version, service_sid: @solution[:service_sid], asset_sid: @solution[:sid], )
|
|
226
225
|
end
|
|
227
226
|
|
|
228
227
|
@asset_versions
|
|
@@ -115,7 +115,6 @@ module Twilio
|
|
|
115
115
|
# @return [Page] Page of DeploymentInstance
|
|
116
116
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
117
117
|
params = Twilio::Values.of({
|
|
118
|
-
|
|
119
118
|
'PageToken' => page_token,
|
|
120
119
|
'Page' => page_number,
|
|
121
120
|
'PageSize' => page_size,
|
|
@@ -109,13 +109,9 @@ module Twilio
|
|
|
109
109
|
# @return [Page] Page of LogInstance
|
|
110
110
|
def page(function_sid: :unset, start_date: :unset, end_date: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
111
111
|
params = Twilio::Values.of({
|
|
112
|
-
|
|
113
112
|
'FunctionSid' => function_sid,
|
|
114
|
-
|
|
115
113
|
'StartDate' => Twilio.serialize_iso8601_datetime(start_date),
|
|
116
|
-
|
|
117
114
|
'EndDate' => Twilio.serialize_iso8601_datetime(end_date),
|
|
118
|
-
|
|
119
115
|
'PageToken' => page_token,
|
|
120
116
|
'Page' => page_number,
|
|
121
117
|
'PageSize' => page_size,
|
|
@@ -118,7 +118,6 @@ module Twilio
|
|
|
118
118
|
# @return [Page] Page of VariableInstance
|
|
119
119
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
120
120
|
params = Twilio::Values.of({
|
|
121
|
-
|
|
122
121
|
'PageToken' => page_token,
|
|
123
122
|
'Page' => page_number,
|
|
124
123
|
'PageSize' => page_size,
|
|
@@ -116,7 +116,6 @@ module Twilio
|
|
|
116
116
|
# @return [Page] Page of EnvironmentInstance
|
|
117
117
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
118
118
|
params = Twilio::Values.of({
|
|
119
|
-
|
|
120
119
|
'PageToken' => page_token,
|
|
121
120
|
'Page' => page_number,
|
|
122
121
|
'PageSize' => page_size,
|
|
@@ -206,7 +205,7 @@ module Twilio
|
|
|
206
205
|
|
|
207
206
|
unless @logs
|
|
208
207
|
@logs = LogList.new(
|
|
209
|
-
@version, service_sid: @solution[:service_sid],
|
|
208
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
|
210
209
|
end
|
|
211
210
|
|
|
212
211
|
@logs
|
|
@@ -225,7 +224,7 @@ module Twilio
|
|
|
225
224
|
|
|
226
225
|
unless @variables
|
|
227
226
|
@variables = VariableList.new(
|
|
228
|
-
@version, service_sid: @solution[:service_sid],
|
|
227
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
|
229
228
|
end
|
|
230
229
|
|
|
231
230
|
@variables
|
|
@@ -244,7 +243,7 @@ module Twilio
|
|
|
244
243
|
|
|
245
244
|
unless @deployments
|
|
246
245
|
@deployments = DeploymentList.new(
|
|
247
|
-
@version, service_sid: @solution[:service_sid],
|
|
246
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
|
248
247
|
end
|
|
249
248
|
|
|
250
249
|
@deployments
|
|
@@ -113,7 +113,6 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of FunctionInstance
|
|
114
114
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'PageToken' => page_token,
|
|
118
117
|
'Page' => page_number,
|
|
119
118
|
'PageSize' => page_size,
|
|
@@ -222,7 +221,7 @@ module Twilio
|
|
|
222
221
|
|
|
223
222
|
unless @function_versions
|
|
224
223
|
@function_versions = FunctionVersionList.new(
|
|
225
|
-
@version, service_sid: @solution[:service_sid],
|
|
224
|
+
@version, service_sid: @solution[:service_sid], function_sid: @solution[:sid], )
|
|
226
225
|
end
|
|
227
226
|
|
|
228
227
|
@function_versions
|
|
@@ -119,7 +119,6 @@ module Twilio
|
|
|
119
119
|
# @return [Page] Page of ServiceInstance
|
|
120
120
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
121
121
|
params = Twilio::Values.of({
|
|
122
|
-
|
|
123
122
|
'PageToken' => page_token,
|
|
124
123
|
'Page' => page_number,
|
|
125
124
|
'PageSize' => page_size,
|
|
@@ -119,7 +119,6 @@ module Twilio
|
|
|
119
119
|
# @return [Page] Page of EngagementInstance
|
|
120
120
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
121
121
|
params = Twilio::Values.of({
|
|
122
|
-
|
|
123
122
|
'PageToken' => page_token,
|
|
124
123
|
'Page' => page_number,
|
|
125
124
|
'PageSize' => page_size,
|
|
@@ -206,7 +205,7 @@ module Twilio
|
|
|
206
205
|
|
|
207
206
|
unless @steps
|
|
208
207
|
@steps = StepList.new(
|
|
209
|
-
@version, flow_sid: @solution[:flow_sid],
|
|
208
|
+
@version, flow_sid: @solution[:flow_sid], engagement_sid: @solution[:sid], )
|
|
210
209
|
end
|
|
211
210
|
|
|
212
211
|
@steps
|
|
@@ -129,11 +129,8 @@ module Twilio
|
|
|
129
129
|
# @return [Page] Page of ExecutionInstance
|
|
130
130
|
def page(date_created_from: :unset, date_created_to: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
131
131
|
params = Twilio::Values.of({
|
|
132
|
-
|
|
133
132
|
'DateCreatedFrom' => Twilio.serialize_iso8601_datetime(date_created_from),
|
|
134
|
-
|
|
135
133
|
'DateCreatedTo' => Twilio.serialize_iso8601_datetime(date_created_to),
|
|
136
|
-
|
|
137
134
|
'PageToken' => page_token,
|
|
138
135
|
'Page' => page_number,
|
|
139
136
|
'PageSize' => page_size,
|
|
@@ -252,7 +249,7 @@ module Twilio
|
|
|
252
249
|
|
|
253
250
|
unless @steps
|
|
254
251
|
@steps = ExecutionStepList.new(
|
|
255
|
-
@version, flow_sid: @solution[:flow_sid],
|
|
252
|
+
@version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
|
|
256
253
|
end
|
|
257
254
|
|
|
258
255
|
@steps
|
|
@@ -129,11 +129,8 @@ module Twilio
|
|
|
129
129
|
# @return [Page] Page of ExecutionInstance
|
|
130
130
|
def page(date_created_from: :unset, date_created_to: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
131
131
|
params = Twilio::Values.of({
|
|
132
|
-
|
|
133
132
|
'DateCreatedFrom' => Twilio.serialize_iso8601_datetime(date_created_from),
|
|
134
|
-
|
|
135
133
|
'DateCreatedTo' => Twilio.serialize_iso8601_datetime(date_created_to),
|
|
136
|
-
|
|
137
134
|
'PageToken' => page_token,
|
|
138
135
|
'Page' => page_number,
|
|
139
136
|
'PageSize' => page_size,
|
|
@@ -252,7 +249,7 @@ module Twilio
|
|
|
252
249
|
|
|
253
250
|
unless @steps
|
|
254
251
|
@steps = ExecutionStepList.new(
|
|
255
|
-
@version, flow_sid: @solution[:flow_sid],
|
|
252
|
+
@version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
|
|
256
253
|
end
|
|
257
254
|
|
|
258
255
|
@steps
|
|
@@ -63,7 +63,7 @@ module Twilio
|
|
|
63
63
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
64
64
|
# memory before returning.
|
|
65
65
|
# @param [String] eid List the eSIM Profiles that have been associated with an EId.
|
|
66
|
-
# @param [String] sim_sid Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/
|
|
66
|
+
# @param [String] sim_sid Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records.
|
|
67
67
|
# @param [Status] status List the eSIM Profiles that are in a given status.
|
|
68
68
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
69
69
|
# guarantees to never return more than limit. Default is no limit
|
|
@@ -87,7 +87,7 @@ module Twilio
|
|
|
87
87
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
88
88
|
# is reached.
|
|
89
89
|
# @param [String] eid List the eSIM Profiles that have been associated with an EId.
|
|
90
|
-
# @param [String] sim_sid Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/
|
|
90
|
+
# @param [String] sim_sid Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records.
|
|
91
91
|
# @param [Status] status List the eSIM Profiles that are in a given status.
|
|
92
92
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
93
93
|
# guarantees to never return more than limit. Default is no limit
|
|
@@ -126,7 +126,7 @@ module Twilio
|
|
|
126
126
|
# Retrieve a single page of EsimProfileInstance records from the API.
|
|
127
127
|
# Request is executed immediately.
|
|
128
128
|
# @param [String] eid List the eSIM Profiles that have been associated with an EId.
|
|
129
|
-
# @param [String] sim_sid Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/
|
|
129
|
+
# @param [String] sim_sid Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records.
|
|
130
130
|
# @param [Status] status List the eSIM Profiles that are in a given status.
|
|
131
131
|
# @param [String] page_token PageToken provided by the API
|
|
132
132
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
@@ -134,13 +134,9 @@ module Twilio
|
|
|
134
134
|
# @return [Page] Page of EsimProfileInstance
|
|
135
135
|
def page(eid: :unset, sim_sid: :unset, status: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
136
136
|
params = Twilio::Values.of({
|
|
137
|
-
|
|
138
137
|
'Eid' => eid,
|
|
139
|
-
|
|
140
138
|
'SimSid' => sim_sid,
|
|
141
|
-
|
|
142
139
|
'Status' => status,
|
|
143
|
-
|
|
144
140
|
'PageToken' => page_token,
|
|
145
141
|
'Page' => page_number,
|
|
146
142
|
'PageSize' => page_size,
|
|
@@ -313,7 +309,7 @@ module Twilio
|
|
|
313
309
|
end
|
|
314
310
|
|
|
315
311
|
##
|
|
316
|
-
# @return [String] The SID of the [Sim](https://www.twilio.com/docs/
|
|
312
|
+
# @return [String] The SID of the [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource that this eSIM Profile controls.
|
|
317
313
|
def sim_sid
|
|
318
314
|
@properties['sim_sid']
|
|
319
315
|
end
|
|
@@ -139,9 +139,7 @@ module Twilio
|
|
|
139
139
|
# @return [Page] Page of FleetInstance
|
|
140
140
|
def page(network_access_profile: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
141
141
|
params = Twilio::Values.of({
|
|
142
|
-
|
|
143
142
|
'NetworkAccessProfile' => network_access_profile,
|
|
144
|
-
|
|
145
143
|
'PageToken' => page_token,
|
|
146
144
|
'Page' => page_number,
|
|
147
145
|
'PageSize' => page_size,
|
|
@@ -70,7 +70,7 @@ module Twilio
|
|
|
70
70
|
# memory before returning.
|
|
71
71
|
# @param [String] sim The SID or unique name of the Sim resource that IP Command was sent to or from.
|
|
72
72
|
# @param [String] sim_iccid The ICCID of the Sim resource that IP Command was sent to or from.
|
|
73
|
-
# @param [Status] status The status of the IP Command. Can be: `queued`, `sent`, `received` or `failed`. See the [IP Command Status Values](https://www.twilio.com/docs/
|
|
73
|
+
# @param [Status] status The status of the IP Command. Can be: `queued`, `sent`, `received` or `failed`. See the [IP Command Status Values](https://www.twilio.com/docs/iot/supersim/api/ipcommand-resource#status-values) for a description of each.
|
|
74
74
|
# @param [Direction] direction The direction of the IP Command. Can be `to_sim` or `from_sim`. The value of `to_sim` is synonymous with the term `mobile terminated`, and `from_sim` is synonymous with the term `mobile originated`.
|
|
75
75
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
76
76
|
# guarantees to never return more than limit. Default is no limit
|
|
@@ -96,7 +96,7 @@ module Twilio
|
|
|
96
96
|
# is reached.
|
|
97
97
|
# @param [String] sim The SID or unique name of the Sim resource that IP Command was sent to or from.
|
|
98
98
|
# @param [String] sim_iccid The ICCID of the Sim resource that IP Command was sent to or from.
|
|
99
|
-
# @param [Status] status The status of the IP Command. Can be: `queued`, `sent`, `received` or `failed`. See the [IP Command Status Values](https://www.twilio.com/docs/
|
|
99
|
+
# @param [Status] status The status of the IP Command. Can be: `queued`, `sent`, `received` or `failed`. See the [IP Command Status Values](https://www.twilio.com/docs/iot/supersim/api/ipcommand-resource#status-values) for a description of each.
|
|
100
100
|
# @param [Direction] direction The direction of the IP Command. Can be `to_sim` or `from_sim`. The value of `to_sim` is synonymous with the term `mobile terminated`, and `from_sim` is synonymous with the term `mobile originated`.
|
|
101
101
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
102
102
|
# guarantees to never return more than limit. Default is no limit
|
|
@@ -137,7 +137,7 @@ module Twilio
|
|
|
137
137
|
# Request is executed immediately.
|
|
138
138
|
# @param [String] sim The SID or unique name of the Sim resource that IP Command was sent to or from.
|
|
139
139
|
# @param [String] sim_iccid The ICCID of the Sim resource that IP Command was sent to or from.
|
|
140
|
-
# @param [Status] status The status of the IP Command. Can be: `queued`, `sent`, `received` or `failed`. See the [IP Command Status Values](https://www.twilio.com/docs/
|
|
140
|
+
# @param [Status] status The status of the IP Command. Can be: `queued`, `sent`, `received` or `failed`. See the [IP Command Status Values](https://www.twilio.com/docs/iot/supersim/api/ipcommand-resource#status-values) for a description of each.
|
|
141
141
|
# @param [Direction] direction The direction of the IP Command. Can be `to_sim` or `from_sim`. The value of `to_sim` is synonymous with the term `mobile terminated`, and `from_sim` is synonymous with the term `mobile originated`.
|
|
142
142
|
# @param [String] page_token PageToken provided by the API
|
|
143
143
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
@@ -145,15 +145,10 @@ module Twilio
|
|
|
145
145
|
# @return [Page] Page of IpCommandInstance
|
|
146
146
|
def page(sim: :unset, sim_iccid: :unset, status: :unset, direction: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
147
147
|
params = Twilio::Values.of({
|
|
148
|
-
|
|
149
148
|
'Sim' => sim,
|
|
150
|
-
|
|
151
149
|
'SimIccid' => sim_iccid,
|
|
152
|
-
|
|
153
150
|
'Status' => status,
|
|
154
|
-
|
|
155
151
|
'Direction' => direction,
|
|
156
|
-
|
|
157
152
|
'PageToken' => page_token,
|
|
158
153
|
'Page' => page_number,
|
|
159
154
|
'PageSize' => page_size,
|
|
@@ -106,13 +106,9 @@ module Twilio
|
|
|
106
106
|
# @return [Page] Page of NetworkInstance
|
|
107
107
|
def page(iso_country: :unset, mcc: :unset, mnc: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
108
108
|
params = Twilio::Values.of({
|
|
109
|
-
|
|
110
109
|
'IsoCountry' => iso_country,
|
|
111
|
-
|
|
112
110
|
'Mcc' => mcc,
|
|
113
|
-
|
|
114
111
|
'Mnc' => mnc,
|
|
115
|
-
|
|
116
112
|
'PageToken' => page_token,
|
|
117
113
|
'Page' => page_number,
|
|
118
114
|
'PageSize' => page_size,
|
data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb
CHANGED
|
@@ -113,7 +113,6 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of NetworkAccessProfileNetworkInstance
|
|
114
114
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'PageToken' => page_token,
|
|
118
117
|
'Page' => page_number,
|
|
119
118
|
'PageSize' => page_size,
|
|
@@ -113,7 +113,6 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of NetworkAccessProfileInstance
|
|
114
114
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'PageToken' => page_token,
|
|
118
117
|
'Page' => page_number,
|
|
119
118
|
'PageSize' => page_size,
|
|
@@ -101,11 +101,8 @@ module Twilio
|
|
|
101
101
|
# @return [Page] Page of SettingsUpdateInstance
|
|
102
102
|
def page(sim: :unset, status: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
103
103
|
params = Twilio::Values.of({
|
|
104
|
-
|
|
105
104
|
'Sim' => sim,
|
|
106
|
-
|
|
107
105
|
'Status' => status,
|
|
108
|
-
|
|
109
106
|
'PageToken' => page_token,
|
|
110
107
|
'Page' => page_number,
|
|
111
108
|
'PageSize' => page_size,
|
|
@@ -128,13 +128,9 @@ module Twilio
|
|
|
128
128
|
# @return [Page] Page of SimInstance
|
|
129
129
|
def page(status: :unset, fleet: :unset, iccid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
130
130
|
params = Twilio::Values.of({
|
|
131
|
-
|
|
132
131
|
'Status' => status,
|
|
133
|
-
|
|
134
132
|
'Fleet' => fleet,
|
|
135
|
-
|
|
136
133
|
'Iccid' => iccid,
|
|
137
|
-
|
|
138
134
|
'PageToken' => page_token,
|
|
139
135
|
'Page' => page_number,
|
|
140
136
|
'PageSize' => page_size,
|
|
@@ -134,13 +134,9 @@ module Twilio
|
|
|
134
134
|
# @return [Page] Page of SmsCommandInstance
|
|
135
135
|
def page(sim: :unset, status: :unset, direction: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
136
136
|
params = Twilio::Values.of({
|
|
137
|
-
|
|
138
137
|
'Sim' => sim,
|
|
139
|
-
|
|
140
138
|
'Status' => status,
|
|
141
|
-
|
|
142
139
|
'Direction' => direction,
|
|
143
|
-
|
|
144
140
|
'PageToken' => page_token,
|
|
145
141
|
'Page' => page_number,
|
|
146
142
|
'PageSize' => page_size,
|
|
@@ -131,23 +131,14 @@ module Twilio
|
|
|
131
131
|
# @return [Page] Page of UsageRecordInstance
|
|
132
132
|
def page(sim: :unset, fleet: :unset, network: :unset, iso_country: :unset, group: :unset, granularity: :unset, start_time: :unset, end_time: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
133
133
|
params = Twilio::Values.of({
|
|
134
|
-
|
|
135
134
|
'Sim' => sim,
|
|
136
|
-
|
|
137
135
|
'Fleet' => fleet,
|
|
138
|
-
|
|
139
136
|
'Network' => network,
|
|
140
|
-
|
|
141
137
|
'IsoCountry' => iso_country,
|
|
142
|
-
|
|
143
138
|
'Group' => group,
|
|
144
|
-
|
|
145
139
|
'Granularity' => granularity,
|
|
146
|
-
|
|
147
140
|
'StartTime' => Twilio.serialize_iso8601_datetime(start_time),
|
|
148
|
-
|
|
149
141
|
'EndTime' => Twilio.serialize_iso8601_datetime(end_time),
|
|
150
|
-
|
|
151
142
|
'PageToken' => page_token,
|
|
152
143
|
'Page' => page_number,
|
|
153
144
|
'PageSize' => page_size,
|
|
@@ -119,7 +119,6 @@ module Twilio
|
|
|
119
119
|
# @return [Page] Page of DocumentInstance
|
|
120
120
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
121
121
|
params = Twilio::Values.of({
|
|
122
|
-
|
|
123
122
|
'PageToken' => page_token,
|
|
124
123
|
'Page' => page_number,
|
|
125
124
|
'PageSize' => page_size,
|
|
@@ -232,7 +231,7 @@ module Twilio
|
|
|
232
231
|
|
|
233
232
|
unless @document_permissions
|
|
234
233
|
@document_permissions = DocumentPermissionList.new(
|
|
235
|
-
@version, service_sid: @solution[:service_sid],
|
|
234
|
+
@version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
|
|
236
235
|
end
|
|
237
236
|
|
|
238
237
|
@document_permissions
|
|
@@ -139,13 +139,9 @@ module Twilio
|
|
|
139
139
|
# @return [Page] Page of SyncListItemInstance
|
|
140
140
|
def page(order: :unset, from: :unset, bounds: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
141
141
|
params = Twilio::Values.of({
|
|
142
|
-
|
|
143
142
|
'Order' => order,
|
|
144
|
-
|
|
145
143
|
'From' => from,
|
|
146
|
-
|
|
147
144
|
'Bounds' => bounds,
|
|
148
|
-
|
|
149
145
|
'PageToken' => page_token,
|
|
150
146
|
'Page' => page_number,
|
|
151
147
|
'PageSize' => page_size,
|