twilio-ruby 7.10.7 → 7.11.2
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/.github/workflows/test-and-deploy.yml +43 -67
- data/.gitignore +0 -1
- data/CHANGES.md +267 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +154 -0
- data/README.md +3 -3
- data/Rakefile +1 -1
- data/lib/rack/twilio_webhook_authentication.rb +45 -2
- data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +25 -65
- data/lib/twilio-ruby/rest/accounts/v1/bulk_consents.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/bulk_contacts.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +48 -71
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +56 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +0 -59
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +0 -59
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +0 -59
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +0 -59
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +0 -59
- data/lib/twilio-ruby/rest/client.rb +0 -5
- data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +11 -60
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +10 -10
- data/lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +10 -10
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v2/action.rb +2 -61
- data/lib/twilio-ruby/rest/conversations/v2/communication.rb +43 -21
- data/lib/twilio-ruby/rest/conversations/v2/configuration.rb +584 -21
- data/lib/twilio-ruby/rest/conversations/v2/conversation.rb +28 -28
- data/lib/twilio-ruby/rest/conversations/v2/operation.rb +10 -69
- data/lib/twilio-ruby/rest/conversations/v2/participant.rb +58 -58
- data/lib/twilio-ruby/rest/conversations/v2.rb +55 -49
- data/lib/twilio-ruby/rest/events/v1/schema.rb +0 -59
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +0 -59
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_transfer.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +0 -59
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +0 -59
- data/lib/twilio-ruby/rest/iam/v1/api_key.rb +0 -59
- data/lib/twilio-ruby/rest/iam/v1/new_api_key.rb +2 -61
- data/lib/twilio-ruby/rest/iam/v1/o_auth_app.rb +15 -61
- data/lib/twilio-ruby/rest/iam/v1/token.rb +0 -59
- data/lib/twilio-ruby/rest/iam_base.rb +6 -1
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +0 -59
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +7 -59
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +7 -0
- data/lib/twilio-ruby/rest/insights/v1/call.rb +0 -59
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +7 -0
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +0 -59
- data/lib/twilio-ruby/rest/insights/v2/inbound.rb +2 -261
- data/lib/twilio-ruby/rest/insights/v2/inbound_report.rb +258 -0
- data/lib/twilio-ruby/rest/insights/v2/outbound.rb +18 -299
- data/lib/twilio-ruby/rest/insights/v2/outbound_report.rb +258 -0
- data/lib/twilio-ruby/rest/insights/v2/report.rb +27 -184
- data/lib/twilio-ruby/rest/insights/v2.rb +14 -4
- data/lib/twilio-ruby/rest/insights/v3/metadata.rb +1 -60
- data/lib/twilio-ruby/rest/insights/v3/query.rb +1 -60
- data/lib/twilio-ruby/rest/insights/v3/query_job.rb +654 -0
- data/lib/twilio-ruby/rest/insights/v3/result.rb +195 -0
- data/lib/twilio-ruby/rest/insights/v3.rb +17 -1
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v3/conversation.rb +8 -8
- data/lib/twilio-ruby/rest/intelligence/v3/rule_execution.rb +443 -0
- data/lib/twilio-ruby/rest/intelligence/v3.rb +6 -0
- data/lib/twilio-ruby/rest/knowledge/v1/knowledge/knowledge_status.rb +0 -59
- data/lib/twilio-ruby/rest/knowledge/v2/chunk.rb +28 -0
- data/lib/twilio-ruby/rest/knowledge/v2/knowledge.rb +38 -0
- data/lib/twilio-ruby/rest/knowledge/v2/operation.rb +0 -59
- data/lib/twilio-ruby/rest/knowledge/v2/search.rb +8 -176
- data/lib/twilio-ruby/rest/knowledge/v2.rb +1 -2
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/bucket.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/lookup_override.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/query.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/rate_limit.rb +0 -59
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +0 -59
- data/lib/twilio-ruby/rest/marketplace/v1/module_data.rb +0 -59
- data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +0 -59
- data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +0 -59
- data/lib/twilio-ruby/rest/memory/v1/bulk.rb +9 -177
- data/lib/twilio-ruby/rest/memory/v1/conversation_summary.rb +15 -9
- data/lib/twilio-ruby/rest/memory/v1/data_mapping.rb +6 -12
- data/lib/twilio-ruby/rest/memory/v1/identifier.rb +1 -81
- data/lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb +11 -191
- data/lib/twilio-ruby/rest/memory/v1/import.rb +28 -5
- data/lib/twilio-ruby/rest/memory/v1/lookup.rb +1 -60
- data/lib/twilio-ruby/rest/memory/v1/observation.rb +72 -22
- data/lib/twilio-ruby/rest/memory/v1/operation.rb +1 -60
- data/lib/twilio-ruby/rest/memory/v1/profile.rb +2 -2
- data/lib/twilio-ruby/rest/memory/v1/recall.rb +1 -60
- data/lib/twilio-ruby/rest/memory/v1/revision.rb +3 -5
- data/lib/twilio-ruby/rest/memory/v1/store.rb +1 -1
- data/lib/twilio-ruby/rest/memory/v1/trait.rb +1 -1
- data/lib/twilio-ruby/rest/memory/v1/trait_group.rb +56 -6
- data/lib/twilio-ruby/rest/memory/v1.rb +3 -46
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -18
- data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/domain_validate_dn.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +2 -4
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +23 -4
- data/lib/twilio-ruby/rest/messaging/v2/domain_certs.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v2/typing_indicator.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v3/typing_indicator.rb +4 -63
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/embedded_session.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/sender_id_registration.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/sms_verification.rb +172 -0
- data/lib/twilio-ruby/rest/numbers/v1/sms_verification_check.rb +179 -0
- data/lib/twilio-ruby/rest/numbers/v1/voice_verification.rb +186 -0
- data/lib/twilio-ruby/rest/numbers/v1/voice_verification_check.rb +165 -0
- data/lib/twilio-ruby/rest/numbers/v1/webhook.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1.rb +24 -0
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v3/hosted_number_order.rb +0 -59
- data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +0 -59
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -59
- data/lib/twilio-ruby/rest/oauth/v2/authorize.rb +14 -61
- data/lib/twilio-ruby/rest/oauth/v2/oauth_authorization_server.rb +200 -0
- data/lib/twilio-ruby/rest/oauth/v2/token.rb +10 -63
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +0 -59
- data/lib/twilio-ruby/rest/preview_iam/v1/authorize.rb +0 -59
- data/lib/twilio-ruby/rest/preview_iam/v1/token.rb +0 -59
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization.rb +0 -78
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v2/voice.rb +0 -59
- data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +0 -59
- data/lib/twilio-ruby/rest/routes/v2/trunk.rb +0 -59
- data/lib/twilio-ruby/rest/routes/v3/phone_number.rb +406 -0
- data/lib/twilio-ruby/rest/routes/v3.rb +50 -0
- data/lib/twilio-ruby/rest/routes_base.rb +6 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +0 -59
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +0 -59
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/a2p_brand_registration.rb +271 -0
- data/lib/twilio-ruby/rest/trusthub/v1/a2p_brand_registration_embedded_session.rb +174 -0
- data/lib/twilio-ruby/rest/trusthub/v1/a2p_campaign_registration.rb +262 -0
- data/lib/twilio-ruby/rest/trusthub/v1/a2p_campaign_registration_embedded_session.rb +174 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles_provisional_copy.rb +386 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products_provisional_copy.rb +386 -0
- data/lib/twilio-ruby/rest/trusthub/v1.rb +74 -0
- data/lib/twilio-ruby/rest/verify/v2/form.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/approve_challenge.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/new_challenge.rb +3 -62
- data/lib/twilio-ruby/rest/verify/v2/service/new_factor.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/new_verify_factor.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +8 -61
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v2/account_default_configuration.rb +497 -0
- data/lib/twilio-ruby/rest/voice/v2/configuration/default.rb +297 -0
- data/lib/twilio-ruby/rest/voice/v2/configuration.rb +353 -0
- data/lib/twilio-ruby/rest/voice/v2/recording.rb +557 -0
- data/lib/twilio-ruby/rest/voice/v2/transcription.rb +532 -0
- data/lib/twilio-ruby/rest/voice/v2/type.rb +459 -0
- data/lib/twilio-ruby/rest/voice/v2.rb +141 -0
- data/lib/twilio-ruby/rest/voice/v3/transcription.rb +259 -50
- data/lib/twilio-ruby/rest/voice_base.rb +5 -0
- data/lib/twilio-ruby/twiml/voice_response.rb +6 -68
- data/lib/twilio-ruby/version.rb +1 -1
- data/twilio-ruby.gemspec +1 -1
- metadata +36 -22
- data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_knowledge.rb +0 -558
- data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_tool.rb +0 -558
- data/lib/twilio-ruby/rest/assistants/v1/assistant/feedback.rb +0 -431
- data/lib/twilio-ruby/rest/assistants/v1/assistant/message.rb +0 -296
- data/lib/twilio-ruby/rest/assistants/v1/assistant.rb +0 -927
- data/lib/twilio-ruby/rest/assistants/v1/knowledge/chunk.rb +0 -325
- data/lib/twilio-ruby/rest/assistants/v1/knowledge/knowledge_status.rb +0 -349
- data/lib/twilio-ruby/rest/assistants/v1/knowledge.rb +0 -871
- data/lib/twilio-ruby/rest/assistants/v1/policy.rb +0 -364
- data/lib/twilio-ruby/rest/assistants/v1/session/message.rb +0 -360
- data/lib/twilio-ruby/rest/assistants/v1/session.rb +0 -501
- data/lib/twilio-ruby/rest/assistants/v1/tool.rb +0 -847
- data/lib/twilio-ruby/rest/assistants/v1.rb +0 -104
- data/lib/twilio-ruby/rest/assistants.rb +0 -6
- data/lib/twilio-ruby/rest/assistants_base.rb +0 -38
- data/lib/twilio-ruby/rest/memory/v1/event.rb +0 -320
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
##
|
|
2
|
-
# This code was generated by
|
|
3
|
-
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
-
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
-
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
-
#
|
|
7
|
-
# Twilio - Assistants
|
|
8
|
-
# This is the public Twilio REST API.
|
|
9
|
-
#
|
|
10
|
-
# NOTE: This class is auto generated by OpenAPI Generator.
|
|
11
|
-
# https://openapi-generator.tech
|
|
12
|
-
# Do not edit the class manually.
|
|
13
|
-
#
|
|
14
|
-
|
|
15
|
-
module Twilio
|
|
16
|
-
module REST
|
|
17
|
-
class Assistants
|
|
18
|
-
class V1 < Version
|
|
19
|
-
##
|
|
20
|
-
# Initialize the V1 version of Assistants
|
|
21
|
-
def initialize(domain)
|
|
22
|
-
super
|
|
23
|
-
@version = 'v1'
|
|
24
|
-
@assistants = nil
|
|
25
|
-
@knowledge = nil
|
|
26
|
-
@policies = nil
|
|
27
|
-
@sessions = nil
|
|
28
|
-
@tools = nil
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
##
|
|
32
|
-
# @param [String] id
|
|
33
|
-
# @return [Twilio::REST::Assistants::V1::AssistantContext] if id was passed.
|
|
34
|
-
# @return [Twilio::REST::Assistants::V1::AssistantList]
|
|
35
|
-
def assistants(id=:unset)
|
|
36
|
-
if id.nil?
|
|
37
|
-
raise ArgumentError, 'id cannot be nil'
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
if id == :unset
|
|
41
|
-
@assistants ||= AssistantList.new self
|
|
42
|
-
else
|
|
43
|
-
AssistantContext.new(self, id)
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
##
|
|
47
|
-
# @param [String] id
|
|
48
|
-
# @return [Twilio::REST::Assistants::V1::KnowledgeContext] if id was passed.
|
|
49
|
-
# @return [Twilio::REST::Assistants::V1::KnowledgeList]
|
|
50
|
-
def knowledge(id=:unset)
|
|
51
|
-
if id.nil?
|
|
52
|
-
raise ArgumentError, 'id cannot be nil'
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
if id == :unset
|
|
56
|
-
@knowledge ||= KnowledgeList.new self
|
|
57
|
-
else
|
|
58
|
-
KnowledgeContext.new(self, id)
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
|
-
##
|
|
62
|
-
# @return [Twilio::REST::Assistants::V1::PolicyList]
|
|
63
|
-
def policies
|
|
64
|
-
@policies ||= PolicyList.new self
|
|
65
|
-
end
|
|
66
|
-
##
|
|
67
|
-
# @param [String] id
|
|
68
|
-
# @return [Twilio::REST::Assistants::V1::SessionContext] if id was passed.
|
|
69
|
-
# @return [Twilio::REST::Assistants::V1::SessionList]
|
|
70
|
-
def sessions(id=:unset)
|
|
71
|
-
if id.nil?
|
|
72
|
-
raise ArgumentError, 'id cannot be nil'
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
if id == :unset
|
|
76
|
-
@sessions ||= SessionList.new self
|
|
77
|
-
else
|
|
78
|
-
SessionContext.new(self, id)
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
##
|
|
82
|
-
# @param [String] id
|
|
83
|
-
# @return [Twilio::REST::Assistants::V1::ToolContext] if id was passed.
|
|
84
|
-
# @return [Twilio::REST::Assistants::V1::ToolList]
|
|
85
|
-
def tools(id=:unset)
|
|
86
|
-
if id.nil?
|
|
87
|
-
raise ArgumentError, 'id cannot be nil'
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
if id == :unset
|
|
91
|
-
@tools ||= ToolList.new self
|
|
92
|
-
else
|
|
93
|
-
ToolContext.new(self, id)
|
|
94
|
-
end
|
|
95
|
-
end
|
|
96
|
-
##
|
|
97
|
-
# Provide a user friendly representation
|
|
98
|
-
def to_s
|
|
99
|
-
'<Twilio::REST::Assistants::V1>';
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
end
|
|
103
|
-
end
|
|
104
|
-
end
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
##
|
|
2
|
-
# This code was generated by
|
|
3
|
-
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
-
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
-
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
-
#
|
|
7
|
-
# NOTE: This class is auto generated by OpenAPI Generator.
|
|
8
|
-
# https://openapi-generator.tech
|
|
9
|
-
# Do not edit the class manually.
|
|
10
|
-
# frozen_string_literal: true
|
|
11
|
-
module Twilio
|
|
12
|
-
module REST
|
|
13
|
-
class AssistantsBase < Domain
|
|
14
|
-
##
|
|
15
|
-
# Initialize assistants domain
|
|
16
|
-
#
|
|
17
|
-
# @param twilio - The twilio client
|
|
18
|
-
#
|
|
19
|
-
def initialize(twilio)
|
|
20
|
-
super(twilio)
|
|
21
|
-
@base_url = "https://assistants.twilio.com"
|
|
22
|
-
@host = "assistants.twilio.com"
|
|
23
|
-
@port = 443
|
|
24
|
-
@v1 = nil
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
def v1
|
|
28
|
-
@v1 ||= Assistants::V1.new self
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
##
|
|
32
|
-
# Provide a user friendly representation
|
|
33
|
-
def to_s
|
|
34
|
-
'<Twilio::REST::Assistants::V1>';
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
##
|
|
2
|
-
# This code was generated by
|
|
3
|
-
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
-
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
-
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
-
#
|
|
7
|
-
# Twilio Memory API
|
|
8
|
-
# APIs for managing memory stores, profiles, events, and conversational intelligence capabilities.
|
|
9
|
-
#
|
|
10
|
-
# NOTE: This class is auto generated by OpenAPI Generator.
|
|
11
|
-
# https://openapi-generator.tech
|
|
12
|
-
# Do not edit the class manually.
|
|
13
|
-
#
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
module Twilio
|
|
17
|
-
module REST
|
|
18
|
-
class Memory < MemoryBase
|
|
19
|
-
class V1 < Version
|
|
20
|
-
class EventList < ListResource
|
|
21
|
-
|
|
22
|
-
class CommunicationLifecycleEventRecipient
|
|
23
|
-
# @param [address]: [String] The recipient's address. Must be a valid address matching the channel type such as E.164 format for phone numbers.
|
|
24
|
-
# @param [participant_id]: [String] The unique identifier for the recipient participant.
|
|
25
|
-
attr_accessor :address, :participant_id
|
|
26
|
-
def initialize(payload)
|
|
27
|
-
@address = payload["address"]
|
|
28
|
-
@participant_id = payload["participant_id"]
|
|
29
|
-
end
|
|
30
|
-
def to_json(options = {})
|
|
31
|
-
{
|
|
32
|
-
"address": @address,
|
|
33
|
-
"participantId": @participant_id,
|
|
34
|
-
}.to_json(options)
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
class CommunicationLifecycleEventSender
|
|
39
|
-
# @param [address]: [String] The sender's address. Must be a valid address matching the channel type such as E.164 format for phone numbers.
|
|
40
|
-
# @param [participant_id]: [String] The unique identifier for the sender participant.
|
|
41
|
-
attr_accessor :address, :participant_id
|
|
42
|
-
def initialize(payload)
|
|
43
|
-
@address = payload["address"]
|
|
44
|
-
@participant_id = payload["participant_id"]
|
|
45
|
-
end
|
|
46
|
-
def to_json(options = {})
|
|
47
|
-
{
|
|
48
|
-
"address": @address,
|
|
49
|
-
"participantId": @participant_id,
|
|
50
|
-
}.to_json(options)
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
class ProfileEventRequest
|
|
55
|
-
# @param [type]: [String] The type of event being sent.
|
|
56
|
-
# @param [events]: [Array<EventList.ProfileEventRequestEvents>]
|
|
57
|
-
attr_accessor :type, :events
|
|
58
|
-
def initialize(payload)
|
|
59
|
-
@type = payload["type"]
|
|
60
|
-
@events = payload["events"]
|
|
61
|
-
end
|
|
62
|
-
def to_json(options = {})
|
|
63
|
-
{
|
|
64
|
-
"type": @type,
|
|
65
|
-
"events": @events,
|
|
66
|
-
}.to_json(options)
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
class ProfileEventRequestEvents
|
|
71
|
-
# @param [timestamp]: [Time] The time the event occurred in ISO8601 format with millisecond resolution. Defaults to received time if not provided.
|
|
72
|
-
# @param [lifecycle]: [String] The lifecycle event type of the communication.
|
|
73
|
-
# @param [conversation_id]: [String] The unique identifier for the conversation.
|
|
74
|
-
# @param [communication_id]: [String] The unique identifier for the communication.
|
|
75
|
-
# @param [communication_type]: [String] The communication channel type.
|
|
76
|
-
# @param [communication_status]: [String] The lifecycle status of the communication.
|
|
77
|
-
# @param [direction]: [String] The direction of the communication.
|
|
78
|
-
# @param [sender]: [EventList.CommunicationLifecycleEventSender]
|
|
79
|
-
# @param [recipient]: [EventList.CommunicationLifecycleEventRecipient]
|
|
80
|
-
# @param [error_code]: [String] Error code for FAILED communication status.
|
|
81
|
-
# @param [error_message]: [String] Error message for FAILED communication status.
|
|
82
|
-
attr_accessor :timestamp, :lifecycle, :conversation_id, :communication_id, :communication_type, :communication_status, :direction, :sender, :recipient, :error_code, :error_message
|
|
83
|
-
def initialize(payload)
|
|
84
|
-
@timestamp = payload["timestamp"]
|
|
85
|
-
@lifecycle = payload["lifecycle"]
|
|
86
|
-
@conversation_id = payload["conversation_id"]
|
|
87
|
-
@communication_id = payload["communication_id"]
|
|
88
|
-
@communication_type = payload["communication_type"]
|
|
89
|
-
@communication_status = payload["communication_status"]
|
|
90
|
-
@direction = payload["direction"]
|
|
91
|
-
@sender = payload["sender"]
|
|
92
|
-
@recipient = payload["recipient"]
|
|
93
|
-
@error_code = payload["error_code"]
|
|
94
|
-
@error_message = payload["error_message"]
|
|
95
|
-
end
|
|
96
|
-
def to_json(options = {})
|
|
97
|
-
{
|
|
98
|
-
"timestamp": @timestamp,
|
|
99
|
-
"lifecycle": @lifecycle,
|
|
100
|
-
"conversationId": @conversation_id,
|
|
101
|
-
"communicationId": @communication_id,
|
|
102
|
-
"communicationType": @communication_type,
|
|
103
|
-
"communicationStatus": @communication_status,
|
|
104
|
-
"direction": @direction,
|
|
105
|
-
"sender": @sender,
|
|
106
|
-
"recipient": @recipient,
|
|
107
|
-
"errorCode": @error_code,
|
|
108
|
-
"errorMessage": @error_message,
|
|
109
|
-
}.to_json(options)
|
|
110
|
-
end
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
##
|
|
115
|
-
# Initialize the EventList
|
|
116
|
-
# @param [Version] version Version that contains the resource
|
|
117
|
-
# @return [EventList] EventList
|
|
118
|
-
def initialize(version, store_id: nil, profile_id: nil)
|
|
119
|
-
|
|
120
|
-
apiV1Version = ApiV1Version.new version.domain, version
|
|
121
|
-
super(apiV1Version)
|
|
122
|
-
# Path Solution
|
|
123
|
-
@solution = { store_id: store_id, profile_id: profile_id }
|
|
124
|
-
@uri = "/Stores/#{@solution[:store_id]}/Profiles/#{@solution[:profile_id]}/Events"
|
|
125
|
-
|
|
126
|
-
end
|
|
127
|
-
##
|
|
128
|
-
# Create the EventInstance
|
|
129
|
-
# @param [ProfileEventRequest] profile_event_request
|
|
130
|
-
# @return [EventInstance] Created EventInstance
|
|
131
|
-
def create(profile_event_request: :unset
|
|
132
|
-
)
|
|
133
|
-
|
|
134
|
-
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
135
|
-
headers['Content-Type'] = 'application/json'
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
payload = @version.create('POST', @uri, headers: headers, data: profile_event_request.to_json)
|
|
141
|
-
EventInstance.new(
|
|
142
|
-
@version,
|
|
143
|
-
payload,
|
|
144
|
-
store_id: @solution[:store_id],
|
|
145
|
-
profile_id: @solution[:profile_id],
|
|
146
|
-
)
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
##
|
|
150
|
-
# Create the EventInstanceMetadata
|
|
151
|
-
# @param [ProfileEventRequest] profile_event_request
|
|
152
|
-
# @return [EventInstance] Created EventInstance
|
|
153
|
-
def create_with_metadata(profile_event_request: :unset
|
|
154
|
-
)
|
|
155
|
-
|
|
156
|
-
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
157
|
-
headers['Content-Type'] = 'application/json'
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
response = @version.create_with_metadata('POST', @uri, headers: headers, data: profile_event_request.to_json)
|
|
163
|
-
event_instance = EventInstance.new(
|
|
164
|
-
@version,
|
|
165
|
-
response.body,
|
|
166
|
-
store_id: @solution[:store_id],
|
|
167
|
-
profile_id: @solution[:profile_id],
|
|
168
|
-
)
|
|
169
|
-
EventInstanceMetadata.new(
|
|
170
|
-
@version,
|
|
171
|
-
event_instance,
|
|
172
|
-
response.headers,
|
|
173
|
-
response.status_code
|
|
174
|
-
)
|
|
175
|
-
end
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
# Provide a user friendly representation
|
|
181
|
-
def to_s
|
|
182
|
-
'#<Twilio.Memory.V1.EventList>'
|
|
183
|
-
end
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
class EventPage < TokenPage
|
|
187
|
-
##
|
|
188
|
-
# Initialize the EventPage
|
|
189
|
-
# @param [Version] version Version that contains the resource
|
|
190
|
-
# @param [Response] response Response from the API
|
|
191
|
-
# @param [Hash] solution Path solution for the resource
|
|
192
|
-
# @return [EventPage] EventPage
|
|
193
|
-
def initialize(version, response, solution)
|
|
194
|
-
|
|
195
|
-
apiV1Version = ApiV1Version.new version.domain, version
|
|
196
|
-
super(apiV1Version, response)
|
|
197
|
-
|
|
198
|
-
# Path Solution
|
|
199
|
-
@solution = solution
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
##
|
|
203
|
-
# Build an instance of EventInstance
|
|
204
|
-
# @param [Hash] payload Payload response from the API
|
|
205
|
-
# @return [EventInstance] EventInstance
|
|
206
|
-
def get_instance(payload)
|
|
207
|
-
EventInstance.new(@version, payload, store_id: @solution[:store_id], profile_id: @solution[:profile_id])
|
|
208
|
-
end
|
|
209
|
-
|
|
210
|
-
##
|
|
211
|
-
# Provide a user friendly representation
|
|
212
|
-
def to_s
|
|
213
|
-
'<Twilio.Memory.V1.EventPage>'
|
|
214
|
-
end
|
|
215
|
-
end
|
|
216
|
-
|
|
217
|
-
class EventPageMetadata < PageMetadata
|
|
218
|
-
attr_reader :event_page
|
|
219
|
-
|
|
220
|
-
def initialize(version, response, solution, limit)
|
|
221
|
-
super(version, response)
|
|
222
|
-
@event_page = []
|
|
223
|
-
@limit = limit
|
|
224
|
-
key = get_key(response.body)
|
|
225
|
-
records = 0
|
|
226
|
-
while( limit != :unset && records < limit )
|
|
227
|
-
@event_page << EventListResponse.new(version, @payload, key, limit - records)
|
|
228
|
-
@payload = self.next_page
|
|
229
|
-
break unless @payload
|
|
230
|
-
records += (@payload.body[key] || []).size
|
|
231
|
-
end
|
|
232
|
-
# Path Solution
|
|
233
|
-
@solution = solution
|
|
234
|
-
end
|
|
235
|
-
|
|
236
|
-
def each
|
|
237
|
-
@event_page.each do |record|
|
|
238
|
-
yield record
|
|
239
|
-
end
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
def to_s
|
|
243
|
-
'<Twilio::REST::Memory::V1PageMetadata>';
|
|
244
|
-
end
|
|
245
|
-
end
|
|
246
|
-
class EventListResponse < InstanceListResource
|
|
247
|
-
|
|
248
|
-
# @param [Array<EventInstance>] instance
|
|
249
|
-
# @param [Hash{String => Object}] headers
|
|
250
|
-
# @param [Integer] status_code
|
|
251
|
-
def initialize(version, payload, key, limit = :unset)
|
|
252
|
-
data_list = payload.body[key] || []
|
|
253
|
-
if limit != :unset
|
|
254
|
-
data_list = data_list[0, limit]
|
|
255
|
-
end
|
|
256
|
-
@event = data_list.map do |data|
|
|
257
|
-
EventInstance.new(version, data)
|
|
258
|
-
end
|
|
259
|
-
@headers = payload.headers
|
|
260
|
-
@status_code = payload.status_code
|
|
261
|
-
end
|
|
262
|
-
|
|
263
|
-
def event
|
|
264
|
-
@event
|
|
265
|
-
end
|
|
266
|
-
|
|
267
|
-
def headers
|
|
268
|
-
@headers
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
def status_code
|
|
272
|
-
@status_code
|
|
273
|
-
end
|
|
274
|
-
end
|
|
275
|
-
|
|
276
|
-
class EventInstance < InstanceResource
|
|
277
|
-
##
|
|
278
|
-
# Initialize the EventInstance
|
|
279
|
-
# @param [Version] version Version that contains the resource
|
|
280
|
-
# @param [Hash] payload payload that contains response from Twilio
|
|
281
|
-
# @param [String] account_sid The SID of the
|
|
282
|
-
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this Event
|
|
283
|
-
# resource.
|
|
284
|
-
# @param [String] sid The SID of the Call resource to fetch.
|
|
285
|
-
# @return [EventInstance] EventInstance
|
|
286
|
-
def initialize(version, payload , store_id: nil, profile_id: nil)
|
|
287
|
-
|
|
288
|
-
apiV1Version = ApiV1Version.new version.domain, version
|
|
289
|
-
super(apiV1Version)
|
|
290
|
-
|
|
291
|
-
# Marshaled Properties
|
|
292
|
-
@properties = {
|
|
293
|
-
'message' => payload['message'],
|
|
294
|
-
}
|
|
295
|
-
end
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
##
|
|
299
|
-
# @return [String]
|
|
300
|
-
def message
|
|
301
|
-
@properties['message']
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
##
|
|
305
|
-
# Provide a user friendly representation
|
|
306
|
-
def to_s
|
|
307
|
-
"<Twilio.Memory.V1.EventInstance>"
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
##
|
|
311
|
-
# Provide a detailed, user friendly representation
|
|
312
|
-
def inspect
|
|
313
|
-
"<Twilio.Memory.V1.EventInstance>"
|
|
314
|
-
end
|
|
315
|
-
end
|
|
316
|
-
|
|
317
|
-
end
|
|
318
|
-
end
|
|
319
|
-
end
|
|
320
|
-
end
|