From 03de6383a24cc395309ef2af8eed9cbd6bcba554 Mon Sep 17 00:00:00 2001 From: sbansla Date: Fri, 9 Feb 2024 12:58:18 +0530 Subject: [PATCH 1/3] chore: disable cluster test --- .github/workflows/test-and-deploy.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index e94bc5fd9..d8f4f8bde 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -37,16 +37,16 @@ jobs: - name: Run the tests run: make test-with-coverage - - name: Run Cluster Tests - if: (!github.event.pull_request.head.repo.fork) - env: - TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }} - TWILIO_API_KEY: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY}} - TWILIO_API_SECRET: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY_SECRET }} - TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }} - TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }} - TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }} - run: make cluster-test +# - name: Run Cluster Tests +# if: (!github.event.pull_request.head.repo.fork) +# env: +# TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }} +# TWILIO_API_KEY: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY}} +# TWILIO_API_SECRET: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY_SECRET }} +# TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }} +# TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }} +# TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }} +# run: make cluster-test - name: Verify docs generation run: make docs From 53222f2ae70987ea59fcc6ba4e391c9c9c035571 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Fri, 9 Feb 2024 14:02:39 +0530 Subject: [PATCH 2/3] chore: run prettier --- twilio/rest/__init__.py | 1 + .../rest/accounts/v1/auth_token_promotion.py | 2 -- .../rest/accounts/v1/credential/__init__.py | 1 - twilio/rest/accounts/v1/credential/aws.py | 2 -- .../rest/accounts/v1/credential/public_key.py | 2 -- twilio/rest/accounts/v1/safelist.py | 2 -- .../rest/accounts/v1/secondary_auth_token.py | 2 -- twilio/rest/api/v2010/account/__init__.py | 1 - .../api/v2010/account/address/__init__.py | 2 -- .../account/address/dependent_phone_number.py | 1 - twilio/rest/api/v2010/account/application.py | 2 -- .../v2010/account/authorized_connect_app.py | 7 ++--- .../__init__.py | 2 -- .../available_phone_number_country/local.py | 2 -- .../machine_to_machine.py | 2 -- .../available_phone_number_country/mobile.py | 2 -- .../national.py | 2 -- .../shared_cost.py | 2 -- .../toll_free.py | 2 -- .../available_phone_number_country/voip.py | 2 -- twilio/rest/api/v2010/account/balance.py | 2 -- .../rest/api/v2010/account/call/__init__.py | 1 - twilio/rest/api/v2010/account/call/event.py | 2 -- .../rest/api/v2010/account/call/feedback.py | 1 - .../v2010/account/call/feedback_summary.py | 1 - .../api/v2010/account/call/notification.py | 2 -- twilio/rest/api/v2010/account/call/payment.py | 1 - .../rest/api/v2010/account/call/recording.py | 1 - twilio/rest/api/v2010/account/call/siprec.py | 1 - twilio/rest/api/v2010/account/call/stream.py | 1 - .../account/call/user_defined_message.py | 2 -- .../call/user_defined_message_subscription.py | 2 -- .../api/v2010/account/conference/__init__.py | 1 - .../v2010/account/conference/participant.py | 1 - .../api/v2010/account/conference/recording.py | 1 - twilio/rest/api/v2010/account/connect_app.py | 1 - .../account/incoming_phone_number/__init__.py | 1 - .../assigned_add_on/__init__.py | 2 -- .../assigned_add_on_extension.py | 2 -- .../account/incoming_phone_number/local.py | 13 ++++---- .../account/incoming_phone_number/mobile.py | 13 ++++---- .../incoming_phone_number/toll_free.py | 19 ++++++------ twilio/rest/api/v2010/account/key.py | 2 -- .../api/v2010/account/message/__init__.py | 1 - .../api/v2010/account/message/feedback.py | 1 - .../rest/api/v2010/account/message/media.py | 2 -- twilio/rest/api/v2010/account/new_key.py | 2 -- .../rest/api/v2010/account/new_signing_key.py | 2 -- twilio/rest/api/v2010/account/notification.py | 2 -- .../api/v2010/account/outgoing_caller_id.py | 2 -- .../rest/api/v2010/account/queue/__init__.py | 2 -- twilio/rest/api/v2010/account/queue/member.py | 2 -- .../api/v2010/account/recording/__init__.py | 1 - .../recording/add_on_result/__init__.py | 1 - .../recording/add_on_result/payload.py | 2 -- .../v2010/account/recording/transcription.py | 1 - twilio/rest/api/v2010/account/short_code.py | 2 -- twilio/rest/api/v2010/account/signing_key.py | 2 -- twilio/rest/api/v2010/account/sip/__init__.py | 1 - .../account/sip/credential_list/__init__.py | 2 -- .../account/sip/credential_list/credential.py | 2 -- .../api/v2010/account/sip/domain/__init__.py | 2 -- .../account/sip/domain/auth_types/__init__.py | 1 - .../auth_types/auth_type_calls/__init__.py | 7 ++--- .../auth_calls_credential_list_mapping.py | 2 -- ...th_calls_ip_access_control_list_mapping.py | 2 -- .../auth_type_registrations/__init__.py | 1 - ...h_registrations_credential_list_mapping.py | 2 -- .../sip/domain/credential_list_mapping.py | 2 -- .../domain/ip_access_control_list_mapping.py | 2 -- .../sip/ip_access_control_list/__init__.py | 2 -- .../sip/ip_access_control_list/ip_address.py | 2 -- twilio/rest/api/v2010/account/token.py | 2 -- .../rest/api/v2010/account/transcription.py | 1 - .../rest/api/v2010/account/usage/__init__.py | 1 - .../v2010/account/usage/record/__init__.py | 1 - .../v2010/account/usage/record/all_time.py | 1 - .../api/v2010/account/usage/record/daily.py | 1 - .../v2010/account/usage/record/last_month.py | 1 - .../api/v2010/account/usage/record/monthly.py | 1 - .../v2010/account/usage/record/this_month.py | 1 - .../api/v2010/account/usage/record/today.py | 1 - .../api/v2010/account/usage/record/yearly.py | 1 - .../v2010/account/usage/record/yesterday.py | 1 - .../rest/api/v2010/account/usage/trigger.py | 1 - .../api/v2010/account/validation_request.py | 2 -- .../rest/autopilot/v1/assistant/__init__.py | 2 -- .../rest/autopilot/v1/assistant/defaults.py | 2 -- .../rest/autopilot/v1/assistant/dialogue.py | 2 -- .../v1/assistant/field_type/__init__.py | 2 -- .../v1/assistant/field_type/field_value.py | 2 -- .../autopilot/v1/assistant/model_build.py | 1 - twilio/rest/autopilot/v1/assistant/query.py | 2 -- .../autopilot/v1/assistant/style_sheet.py | 2 -- .../autopilot/v1/assistant/task/__init__.py | 2 -- .../rest/autopilot/v1/assistant/task/field.py | 2 -- .../autopilot/v1/assistant/task/sample.py | 2 -- .../v1/assistant/task/task_actions.py | 2 -- .../v1/assistant/task/task_statistics.py | 2 -- twilio/rest/autopilot/v1/assistant/webhook.py | 2 -- twilio/rest/autopilot/v1/restore_assistant.py | 2 -- twilio/rest/bulkexports/v1/export/__init__.py | 2 -- twilio/rest/bulkexports/v1/export/day.py | 2 -- .../v1/export/export_custom_job.py | 2 -- twilio/rest/bulkexports/v1/export/job.py | 2 -- .../bulkexports/v1/export_configuration.py | 2 -- twilio/rest/chat/v1/credential.py | 1 - twilio/rest/chat/v1/service/__init__.py | 2 -- .../rest/chat/v1/service/channel/__init__.py | 1 - twilio/rest/chat/v1/service/channel/invite.py | 2 -- twilio/rest/chat/v1/service/channel/member.py | 8 ++--- .../rest/chat/v1/service/channel/message.py | 1 - twilio/rest/chat/v1/service/role.py | 1 - twilio/rest/chat/v1/service/user/__init__.py | 2 -- .../rest/chat/v1/service/user/user_channel.py | 1 - twilio/rest/chat/v2/credential.py | 1 - twilio/rest/chat/v2/service/__init__.py | 2 -- twilio/rest/chat/v2/service/binding.py | 1 - .../rest/chat/v2/service/channel/__init__.py | 1 - twilio/rest/chat/v2/service/channel/invite.py | 2 -- twilio/rest/chat/v2/service/channel/member.py | 7 ++--- .../rest/chat/v2/service/channel/message.py | 1 - .../rest/chat/v2/service/channel/webhook.py | 1 - twilio/rest/chat/v2/service/role.py | 1 - twilio/rest/chat/v2/service/user/__init__.py | 1 - .../rest/chat/v2/service/user/user_binding.py | 1 - .../rest/chat/v2/service/user/user_channel.py | 7 ++--- twilio/rest/chat/v3/channel.py | 1 - twilio/rest/content/v1/content/__init__.py | 2 -- .../rest/content/v1/content/approval_fetch.py | 2 -- .../rest/content/v1/content_and_approvals.py | 2 -- twilio/rest/content/v1/legacy_content.py | 2 -- .../conversations/v1/address_configuration.py | 1 - .../v1/configuration/__init__.py | 2 -- .../conversations/v1/configuration/webhook.py | 1 - .../conversations/v1/conversation/__init__.py | 1 - .../v1/conversation/message/__init__.py | 1 - .../conversation/message/delivery_receipt.py | 1 - .../v1/conversation/participant.py | 1 - .../conversations/v1/conversation/webhook.py | 1 - twilio/rest/conversations/v1/credential.py | 1 - .../v1/participant_conversation.py | 19 ++++++------ twilio/rest/conversations/v1/role.py | 1 - .../rest/conversations/v1/service/__init__.py | 2 -- .../rest/conversations/v1/service/binding.py | 1 - .../v1/service/configuration/__init__.py | 2 -- .../v1/service/configuration/notification.py | 2 -- .../v1/service/configuration/webhook.py | 1 - .../v1/service/conversation/__init__.py | 1 - .../service/conversation/message/__init__.py | 1 - .../conversation/message/delivery_receipt.py | 1 - .../v1/service/conversation/participant.py | 1 - .../v1/service/conversation/webhook.py | 1 - .../v1/service/participant_conversation.py | 19 ++++++------ twilio/rest/conversations/v1/service/role.py | 1 - .../conversations/v1/service/user/__init__.py | 1 - .../v1/service/user/user_conversation.py | 7 ++--- twilio/rest/conversations/v1/user/__init__.py | 1 - .../v1/user/user_conversation.py | 7 ++--- twilio/rest/events/v1/event_type.py | 2 -- twilio/rest/events/v1/schema/__init__.py | 8 ++--- .../rest/events/v1/schema/schema_version.py | 2 -- twilio/rest/events/v1/sink/__init__.py | 1 - twilio/rest/events/v1/sink/sink_test.py | 2 -- twilio/rest/events/v1/sink/sink_validate.py | 2 -- .../rest/events/v1/subscription/__init__.py | 2 -- .../v1/subscription/subscribed_event.py | 2 -- twilio/rest/flex_api/v1/__init__.py | 6 ++-- twilio/rest/flex_api/v1/assessments.py | 2 -- twilio/rest/flex_api/v1/channel.py | 2 -- twilio/rest/flex_api/v1/configuration.py | 1 - twilio/rest/flex_api/v1/flex_flow.py | 7 ++--- .../v1/insights_assessments_comment.py | 2 -- .../flex_api/v1/insights_conversations.py | 2 -- .../flex_api/v1/insights_questionnaires.py | 2 -- .../v1/insights_questionnaires_category.py | 2 -- .../v1/insights_questionnaires_question.py | 2 -- twilio/rest/flex_api/v1/insights_segments.py | 2 -- twilio/rest/flex_api/v1/insights_session.py | 2 -- .../v1/insights_settings_answer_sets.py | 2 -- .../flex_api/v1/insights_settings_comment.py | 2 -- .../rest/flex_api/v1/insights_user_roles.py | 2 -- .../rest/flex_api/v1/interaction/__init__.py | 2 -- .../interaction_channel/__init__.py | 1 - .../interaction_channel_invite.py | 2 -- .../interaction_channel_participant.py | 1 - twilio/rest/flex_api/v1/web_channel.py | 1 - twilio/rest/flex_api/v2/web_channels.py | 2 -- twilio/rest/frontline_api/v1/user.py | 1 - twilio/rest/insights/v1/call/__init__.py | 2 -- twilio/rest/insights/v1/call/annotation.py | 7 ++--- twilio/rest/insights/v1/call/call_summary.py | 7 ++--- twilio/rest/insights/v1/call/event.py | 1 - twilio/rest/insights/v1/call/metric.py | 1 - twilio/rest/insights/v1/call_summaries.py | 7 ++--- .../rest/insights/v1/conference/__init__.py | 19 ++++++------ .../v1/conference/conference_participant.py | 31 +++++++++---------- twilio/rest/insights/v1/room/__init__.py | 1 - twilio/rest/insights/v1/room/participant.py | 1 - twilio/rest/insights/v1/setting.py | 2 -- twilio/rest/intelligence/v2/service.py | 1 - .../intelligence/v2/transcript/__init__.py | 1 - .../rest/intelligence/v2/transcript/media.py | 2 -- .../v2/transcript/operator_result.py | 7 ++--- .../intelligence/v2/transcript/sentence.py | 2 -- twilio/rest/ip_messaging/v1/credential.py | 1 - .../rest/ip_messaging/v1/service/__init__.py | 2 -- .../v1/service/channel/__init__.py | 1 - .../ip_messaging/v1/service/channel/invite.py | 2 -- .../ip_messaging/v1/service/channel/member.py | 8 ++--- .../v1/service/channel/message.py | 1 - twilio/rest/ip_messaging/v1/service/role.py | 1 - .../ip_messaging/v1/service/user/__init__.py | 2 -- .../v1/service/user/user_channel.py | 1 - twilio/rest/ip_messaging/v2/credential.py | 1 - .../rest/ip_messaging/v2/service/__init__.py | 2 -- .../rest/ip_messaging/v2/service/binding.py | 1 - .../v2/service/channel/__init__.py | 1 - .../ip_messaging/v2/service/channel/invite.py | 2 -- .../ip_messaging/v2/service/channel/member.py | 7 ++--- .../v2/service/channel/message.py | 1 - .../v2/service/channel/webhook.py | 1 - twilio/rest/ip_messaging/v2/service/role.py | 1 - .../ip_messaging/v2/service/user/__init__.py | 1 - .../v2/service/user/user_binding.py | 1 - .../v2/service/user/user_channel.py | 7 ++--- twilio/rest/lookups/v1/phone_number.py | 2 -- twilio/rest/lookups/v2/phone_number.py | 1 - twilio/rest/media/v1/media_processor.py | 1 - twilio/rest/media/v1/media_recording.py | 1 - .../rest/media/v1/player_streamer/__init__.py | 1 - .../v1/player_streamer/playback_grant.py | 2 -- .../v1/brand_registration/__init__.py | 7 ++--- .../brand_registration_otp.py | 2 -- .../v1/brand_registration/brand_vetting.py | 7 ++--- twilio/rest/messaging/v1/deactivations.py | 2 -- twilio/rest/messaging/v1/domain_certs.py | 2 -- twilio/rest/messaging/v1/domain_config.py | 2 -- .../v1/domain_config_messaging_service.py | 2 -- twilio/rest/messaging/v1/external_campaign.py | 2 -- .../v1/linkshortening_messaging_service.py | 2 -- ...ng_messaging_service_domain_association.py | 2 -- twilio/rest/messaging/v1/service/__init__.py | 7 ++--- .../rest/messaging/v1/service/alpha_sender.py | 2 -- .../messaging/v1/service/channel_sender.py | 2 -- .../rest/messaging/v1/service/phone_number.py | 2 -- .../rest/messaging/v1/service/short_code.py | 2 -- .../messaging/v1/service/us_app_to_person.py | 2 -- .../v1/service/us_app_to_person_usecase.py | 2 -- .../messaging/v1/tollfree_verification.py | 7 ++--- twilio/rest/messaging/v1/usecase.py | 2 -- twilio/rest/microvisor/v1/account_config.py | 2 -- twilio/rest/microvisor/v1/account_secret.py | 2 -- twilio/rest/microvisor/v1/app/__init__.py | 2 -- twilio/rest/microvisor/v1/app/app_manifest.py | 2 -- twilio/rest/microvisor/v1/device/__init__.py | 2 -- .../microvisor/v1/device/device_config.py | 2 -- .../microvisor/v1/device/device_secret.py | 2 -- twilio/rest/monitor/v1/alert.py | 2 -- twilio/rest/monitor/v1/event.py | 2 -- twilio/rest/notify/v1/credential.py | 1 - twilio/rest/notify/v1/service/__init__.py | 2 -- twilio/rest/notify/v1/service/binding.py | 1 - twilio/rest/notify/v1/service/notification.py | 1 - twilio/rest/numbers/v1/bulk_eligibility.py | 2 -- .../numbers/v1/porting_bulk_portability.py | 1 - twilio/rest/numbers/v1/porting_portability.py | 7 ++--- .../v2/authorization_document/__init__.py | 1 - .../dependent_hosted_number_order.py | 7 ++--- .../numbers/v2/bulk_hosted_number_order.py | 7 ++--- twilio/rest/numbers/v2/hosted_number_order.py | 1 - .../v2/regulatory_compliance/__init__.py | 1 - .../regulatory_compliance/bundle/__init__.py | 1 - .../bundle/bundle_copy.py | 1 - .../bundle/evaluation.py | 1 - .../bundle/item_assignment.py | 2 -- .../bundle/replace_items.py | 1 - .../v2/regulatory_compliance/end_user.py | 1 - .../v2/regulatory_compliance/end_user_type.py | 2 -- .../v2/regulatory_compliance/regulation.py | 1 - .../supporting_document.py | 1 - .../supporting_document_type.py | 2 -- twilio/rest/oauth/v1/device_code.py | 2 -- twilio/rest/oauth/v1/oauth.py | 2 -- twilio/rest/oauth/v1/openid_discovery.py | 2 -- twilio/rest/oauth/v1/token.py | 8 ++--- twilio/rest/oauth/v1/user_info.py | 2 -- .../deployed_devices/fleet/__init__.py | 2 -- .../deployed_devices/fleet/certificate.py | 2 -- .../deployed_devices/fleet/deployment.py | 2 -- .../preview/deployed_devices/fleet/device.py | 2 -- .../preview/deployed_devices/fleet/key.py | 2 -- .../authorization_document/__init__.py | 1 - .../dependent_hosted_number_order.py | 7 ++--- .../hosted_numbers/hosted_number_order.py | 1 - .../marketplace/available_add_on/__init__.py | 2 -- .../available_add_on_extension.py | 2 -- .../marketplace/installed_add_on/__init__.py | 2 -- .../installed_add_on_extension.py | 2 -- twilio/rest/preview/sync/service/__init__.py | 2 -- .../preview/sync/service/document/__init__.py | 2 -- .../service/document/document_permission.py | 2 -- .../sync/service/sync_list/__init__.py | 2 -- .../sync/service/sync_list/sync_list_item.py | 1 - .../service/sync_list/sync_list_permission.py | 2 -- .../preview/sync/service/sync_map/__init__.py | 2 -- .../sync/service/sync_map/sync_map_item.py | 1 - .../service/sync_map/sync_map_permission.py | 2 -- .../preview/understand/assistant/__init__.py | 8 ++--- .../assistant/assistant_fallback_actions.py | 2 -- .../assistant/assistant_initiation_actions.py | 2 -- .../preview/understand/assistant/dialogue.py | 2 -- .../assistant/field_type/__init__.py | 2 -- .../assistant/field_type/field_value.py | 2 -- .../understand/assistant/model_build.py | 1 - .../preview/understand/assistant/query.py | 2 -- .../understand/assistant/style_sheet.py | 2 -- .../understand/assistant/task/__init__.py | 2 -- .../understand/assistant/task/field.py | 2 -- .../understand/assistant/task/sample.py | 2 -- .../understand/assistant/task/task_actions.py | 2 -- .../assistant/task/task_statistics.py | 2 -- twilio/rest/preview/wireless/command.py | 2 -- twilio/rest/preview/wireless/rate_plan.py | 2 -- twilio/rest/preview/wireless/sim/__init__.py | 2 -- twilio/rest/preview/wireless/sim/usage.py | 2 -- twilio/rest/pricing/v1/messaging/__init__.py | 1 - twilio/rest/pricing/v1/messaging/country.py | 2 -- .../rest/pricing/v1/phone_number/__init__.py | 1 - .../rest/pricing/v1/phone_number/country.py | 2 -- twilio/rest/pricing/v1/voice/__init__.py | 1 - twilio/rest/pricing/v1/voice/country.py | 2 -- twilio/rest/pricing/v1/voice/number.py | 2 -- twilio/rest/pricing/v2/country.py | 2 -- twilio/rest/pricing/v2/number.py | 2 -- twilio/rest/pricing/v2/voice/__init__.py | 1 - twilio/rest/pricing/v2/voice/country.py | 2 -- twilio/rest/pricing/v2/voice/number.py | 2 -- twilio/rest/proxy/v1/service/__init__.py | 1 - twilio/rest/proxy/v1/service/phone_number.py | 2 -- .../rest/proxy/v1/service/session/__init__.py | 1 - .../proxy/v1/service/session/interaction.py | 7 ++--- .../service/session/participant/__init__.py | 2 -- .../participant/message_interaction.py | 1 - twilio/rest/proxy/v1/service/short_code.py | 2 -- twilio/rest/routes/v2/phone_number.py | 2 -- twilio/rest/routes/v2/sip_domain.py | 2 -- twilio/rest/routes/v2/trunk.py | 2 -- twilio/rest/serverless/v1/service/__init__.py | 2 -- .../serverless/v1/service/asset/__init__.py | 2 -- .../v1/service/asset/asset_version.py | 1 - .../v1/service/environment/__init__.py | 2 -- .../v1/service/environment/deployment.py | 2 -- .../serverless/v1/service/environment/log.py | 1 - .../v1/service/environment/variable.py | 2 -- .../v1/service/function/__init__.py | 2 -- .../function/function_version/__init__.py | 1 - .../function_version_content.py | 2 -- twilio/rest/studio/v1/flow/__init__.py | 1 - .../studio/v1/flow/engagement/__init__.py | 1 - .../v1/flow/engagement/engagement_context.py | 2 -- .../v1/flow/engagement/step/__init__.py | 2 -- .../v1/flow/engagement/step/step_context.py | 2 -- .../rest/studio/v1/flow/execution/__init__.py | 1 - .../v1/flow/execution/execution_context.py | 2 -- .../flow/execution/execution_step/__init__.py | 2 -- .../execution_step/execution_step_context.py | 2 -- twilio/rest/studio/v2/flow/__init__.py | 1 - .../rest/studio/v2/flow/execution/__init__.py | 1 - .../v2/flow/execution/execution_context.py | 2 -- .../flow/execution/execution_step/__init__.py | 2 -- .../execution_step/execution_step_context.py | 2 -- twilio/rest/studio/v2/flow/flow_revision.py | 1 - twilio/rest/studio/v2/flow/flow_test_user.py | 2 -- twilio/rest/studio/v2/flow_validate.py | 1 - twilio/rest/supersim/v1/esim_profile.py | 1 - twilio/rest/supersim/v1/fleet.py | 1 - twilio/rest/supersim/v1/ip_command.py | 1 - twilio/rest/supersim/v1/network.py | 2 -- .../v1/network_access_profile/__init__.py | 2 -- .../network_access_profile_network.py | 2 -- twilio/rest/supersim/v1/settings_update.py | 1 - twilio/rest/supersim/v1/sim/__init__.py | 1 - twilio/rest/supersim/v1/sim/billing_period.py | 1 - twilio/rest/supersim/v1/sim/sim_ip_address.py | 7 ++--- twilio/rest/supersim/v1/sms_command.py | 1 - twilio/rest/supersim/v1/usage_record.py | 1 - twilio/rest/sync/v1/service/__init__.py | 2 -- .../rest/sync/v1/service/document/__init__.py | 2 -- .../service/document/document_permission.py | 2 -- .../sync/v1/service/sync_list/__init__.py | 2 -- .../v1/service/sync_list/sync_list_item.py | 1 - .../service/sync_list/sync_list_permission.py | 2 -- .../rest/sync/v1/service/sync_map/__init__.py | 2 -- .../sync/v1/service/sync_map/sync_map_item.py | 1 - .../service/sync_map/sync_map_permission.py | 2 -- .../sync/v1/service/sync_stream/__init__.py | 2 -- .../v1/service/sync_stream/stream_message.py | 2 -- .../rest/taskrouter/v1/workspace/__init__.py | 7 ++--- .../rest/taskrouter/v1/workspace/activity.py | 2 -- twilio/rest/taskrouter/v1/workspace/event.py | 2 -- .../taskrouter/v1/workspace/task/__init__.py | 1 - .../v1/workspace/task/reservation.py | 1 - .../taskrouter/v1/workspace/task_channel.py | 2 -- .../v1/workspace/task_queue/__init__.py | 1 - .../task_queue_cumulative_statistics.py | 8 ++--- .../task_queue_real_time_statistics.py | 2 -- .../task_queue/task_queue_statistics.py | 2 -- .../task_queue/task_queues_statistics.py | 2 -- .../v1/workspace/worker/__init__.py | 2 -- .../v1/workspace/worker/reservation.py | 1 - .../v1/workspace/worker/worker_channel.py | 2 -- .../v1/workspace/worker/worker_statistics.py | 2 -- .../worker/workers_cumulative_statistics.py | 2 -- .../worker/workers_real_time_statistics.py | 2 -- .../v1/workspace/worker/workers_statistics.py | 2 -- .../v1/workspace/workflow/__init__.py | 2 -- .../workflow_cumulative_statistics.py | 2 -- .../workflow/workflow_real_time_statistics.py | 2 -- .../workspace/workflow/workflow_statistics.py | 2 -- .../workspace_cumulative_statistics.py | 2 -- .../workspace_real_time_statistics.py | 2 -- .../v1/workspace/workspace_statistics.py | 2 -- twilio/rest/trunking/v1/trunk/__init__.py | 7 ++--- .../rest/trunking/v1/trunk/credential_list.py | 2 -- .../v1/trunk/ip_access_control_list.py | 2 -- .../rest/trunking/v1/trunk/origination_url.py | 2 -- twilio/rest/trunking/v1/trunk/phone_number.py | 1 - twilio/rest/trunking/v1/trunk/recording.py | 1 - .../rest/trusthub/v1/compliance_inquiries.py | 2 -- .../trusthub/v1/customer_profiles/__init__.py | 1 - ...er_profiles_channel_endpoint_assignment.py | 2 -- .../customer_profiles_entity_assignments.py | 2 -- .../customer_profiles_evaluations.py | 7 ++--- twilio/rest/trusthub/v1/end_user.py | 2 -- twilio/rest/trusthub/v1/end_user_type.py | 2 -- twilio/rest/trusthub/v1/policies.py | 2 -- .../rest/trusthub/v1/supporting_document.py | 1 - .../trusthub/v1/supporting_document_type.py | 2 -- .../trusthub/v1/trust_products/__init__.py | 1 - ...st_products_channel_endpoint_assignment.py | 2 -- .../trust_products_entity_assignments.py | 2 -- .../trust_products_evaluations.py | 1 - twilio/rest/verify/v2/form.py | 1 - twilio/rest/verify/v2/safelist.py | 2 -- twilio/rest/verify/v2/service/__init__.py | 2 -- twilio/rest/verify/v2/service/access_token.py | 1 - .../rest/verify/v2/service/entity/__init__.py | 2 -- .../v2/service/entity/challenge/__init__.py | 7 ++--- .../service/entity/challenge/notification.py | 2 -- .../rest/verify/v2/service/entity/factor.py | 1 - .../verify/v2/service/entity/new_factor.py | 1 - .../v2/service/messaging_configuration.py | 2 -- .../verify/v2/service/rate_limit/__init__.py | 2 -- .../verify/v2/service/rate_limit/bucket.py | 2 -- twilio/rest/verify/v2/service/verification.py | 1 - .../verify/v2/service/verification_check.py | 1 - twilio/rest/verify/v2/service/webhook.py | 1 - twilio/rest/verify/v2/template.py | 2 -- twilio/rest/verify/v2/verification_attempt.py | 1 - .../v2/verification_attempts_summary.py | 1 - twilio/rest/video/v1/composition.py | 1 - twilio/rest/video/v1/composition_hook.py | 1 - twilio/rest/video/v1/composition_settings.py | 2 -- twilio/rest/video/v1/recording.py | 1 - twilio/rest/video/v1/recording_settings.py | 2 -- twilio/rest/video/v1/room/__init__.py | 1 - .../video/v1/room/participant/__init__.py | 1 - .../video/v1/room/participant/anonymize.py | 1 - .../v1/room/participant/published_track.py | 1 - .../v1/room/participant/subscribe_rules.py | 2 -- .../v1/room/participant/subscribed_track.py | 1 - twilio/rest/video/v1/room/recording_rules.py | 2 -- twilio/rest/video/v1/room/room_recording.py | 1 - twilio/rest/voice/v1/archived_call.py | 1 - twilio/rest/voice/v1/byoc_trunk.py | 2 -- .../voice/v1/connection_policy/__init__.py | 2 -- .../connection_policy_target.py | 2 -- .../voice/v1/dialing_permissions/__init__.py | 1 - .../bulk_country_update.py | 2 -- .../dialing_permissions/country/__init__.py | 2 -- .../country/highrisk_special_prefix.py | 2 -- .../voice/v1/dialing_permissions/settings.py | 2 -- twilio/rest/voice/v1/ip_record.py | 2 -- twilio/rest/voice/v1/source_ip_mapping.py | 2 -- twilio/rest/wireless/v1/command.py | 1 - twilio/rest/wireless/v1/rate_plan.py | 2 -- twilio/rest/wireless/v1/sim/__init__.py | 1 - twilio/rest/wireless/v1/sim/data_session.py | 2 -- twilio/rest/wireless/v1/sim/usage_record.py | 1 - twilio/rest/wireless/v1/usage_record.py | 1 - 491 files changed, 166 insertions(+), 931 deletions(-) diff --git a/twilio/rest/__init__.py b/twilio/rest/__init__.py index e883e66ec..9f2d2e963 100644 --- a/twilio/rest/__init__.py +++ b/twilio/rest/__init__.py @@ -8,6 +8,7 @@ https://openapi-generator.tech Do not edit the class manually. """ + from typing import TYPE_CHECKING, Optional from twilio.base.client_base import ClientBase diff --git a/twilio/rest/accounts/v1/auth_token_promotion.py b/twilio/rest/accounts/v1/auth_token_promotion.py index 0dbf1eb75..140b5b180 100644 --- a/twilio/rest/accounts/v1/auth_token_promotion.py +++ b/twilio/rest/accounts/v1/auth_token_promotion.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class AuthTokenPromotionInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the secondary Auth Token was created for. :ivar auth_token: The promoted Auth Token that must be used to authenticate future API requests. diff --git a/twilio/rest/accounts/v1/credential/__init__.py b/twilio/rest/accounts/v1/credential/__init__.py index d76ce584f..f2ee3c735 100644 --- a/twilio/rest/accounts/v1/credential/__init__.py +++ b/twilio/rest/accounts/v1/credential/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/accounts/v1/credential/aws.py b/twilio/rest/accounts/v1/credential/aws.py index 0e17164ec..b49b07507 100644 --- a/twilio/rest/accounts/v1/credential/aws.py +++ b/twilio/rest/accounts/v1/credential/aws.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class AwsInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the AWS resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AWS resource. diff --git a/twilio/rest/accounts/v1/credential/public_key.py b/twilio/rest/accounts/v1/credential/public_key.py index f78a6728c..6ed07b4e4 100644 --- a/twilio/rest/accounts/v1/credential/public_key.py +++ b/twilio/rest/accounts/v1/credential/public_key.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class PublicKeyInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the PublicKey resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Credential that the PublicKey resource belongs to. diff --git a/twilio/rest/accounts/v1/safelist.py b/twilio/rest/accounts/v1/safelist.py index fb658a677..90b1ee819 100644 --- a/twilio/rest/accounts/v1/safelist.py +++ b/twilio/rest/accounts/v1/safelist.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import values @@ -22,7 +21,6 @@ class SafelistInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the SafeList resource. :ivar phone_number: The phone number in SafeList. diff --git a/twilio/rest/accounts/v1/secondary_auth_token.py b/twilio/rest/accounts/v1/secondary_auth_token.py index 76b09a764..4d2e09947 100644 --- a/twilio/rest/accounts/v1/secondary_auth_token.py +++ b/twilio/rest/accounts/v1/secondary_auth_token.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class SecondaryAuthTokenInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the secondary Auth Token was created for. :ivar date_created: The date and time in UTC when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. diff --git a/twilio/rest/api/v2010/account/__init__.py b/twilio/rest/api/v2010/account/__init__.py index fafb4f573..97e878526 100644 --- a/twilio/rest/api/v2010/account/__init__.py +++ b/twilio/rest/api/v2010/account/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/address/__init__.py b/twilio/rest/api/v2010/account/address/__init__.py index 224601e27..066c493fd 100644 --- a/twilio/rest/api/v2010/account/address/__init__.py +++ b/twilio/rest/api/v2010/account/address/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class AddressInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource. :ivar city: The city in which the address is located. diff --git a/twilio/rest/api/v2010/account/address/dependent_phone_number.py b/twilio/rest/api/v2010/account/address/dependent_phone_number.py index 6e9ff957a..5db5d89b5 100644 --- a/twilio/rest/api/v2010/account/address/dependent_phone_number.py +++ b/twilio/rest/api/v2010/account/address/dependent_phone_number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/application.py b/twilio/rest/api/v2010/account/application.py index 5179d5d55..50f0e4ad7 100644 --- a/twilio/rest/api/v2010/account/application.py +++ b/twilio/rest/api/v2010/account/application.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ApplicationInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resource. :ivar api_version: The API version used to start a new TwiML session. diff --git a/twilio/rest/api/v2010/account/authorized_connect_app.py b/twilio/rest/api/v2010/account/authorized_connect_app.py index 4d71766b6..1e48d606b 100644 --- a/twilio/rest/api/v2010/account/authorized_connect_app.py +++ b/twilio/rest/api/v2010/account/authorized_connect_app.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -70,9 +69,9 @@ def __init__( self.date_updated: Optional[datetime] = deserialize.rfc2822_datetime( payload.get("date_updated") ) - self.permissions: Optional[ - List["AuthorizedConnectAppInstance.Permission"] - ] = payload.get("permissions") + self.permissions: Optional[List["AuthorizedConnectAppInstance.Permission"]] = ( + payload.get("permissions") + ) self.uri: Optional[str] = payload.get("uri") self._solution = { diff --git a/twilio/rest/api/v2010/account/available_phone_number_country/__init__.py b/twilio/rest/api/v2010/account/available_phone_number_country/__init__.py index 5645844cf..32583e778 100644 --- a/twilio/rest/api/v2010/account/available_phone_number_country/__init__.py +++ b/twilio/rest/api/v2010/account/available_phone_number_country/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -40,7 +39,6 @@ class AvailablePhoneNumberCountryInstance(InstanceResource): - """ :ivar country_code: The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country. :ivar country: The name of the country. diff --git a/twilio/rest/api/v2010/account/available_phone_number_country/local.py b/twilio/rest/api/v2010/account/available_phone_number_country/local.py index b8e0cee71..c64739cc8 100644 --- a/twilio/rest/api/v2010/account/available_phone_number_country/local.py +++ b/twilio/rest/api/v2010/account/available_phone_number_country/local.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class LocalInstance(InstanceResource): - """ :ivar friendly_name: A formatted version of the phone number. :ivar phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/api/v2010/account/available_phone_number_country/machine_to_machine.py b/twilio/rest/api/v2010/account/available_phone_number_country/machine_to_machine.py index 65e0be2b8..860983f2a 100644 --- a/twilio/rest/api/v2010/account/available_phone_number_country/machine_to_machine.py +++ b/twilio/rest/api/v2010/account/available_phone_number_country/machine_to_machine.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class MachineToMachineInstance(InstanceResource): - """ :ivar friendly_name: A formatted version of the phone number. :ivar phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/api/v2010/account/available_phone_number_country/mobile.py b/twilio/rest/api/v2010/account/available_phone_number_country/mobile.py index 5ef6f891d..624ccbb30 100644 --- a/twilio/rest/api/v2010/account/available_phone_number_country/mobile.py +++ b/twilio/rest/api/v2010/account/available_phone_number_country/mobile.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class MobileInstance(InstanceResource): - """ :ivar friendly_name: A formatted version of the phone number. :ivar phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/api/v2010/account/available_phone_number_country/national.py b/twilio/rest/api/v2010/account/available_phone_number_country/national.py index 8b2edb640..259603284 100644 --- a/twilio/rest/api/v2010/account/available_phone_number_country/national.py +++ b/twilio/rest/api/v2010/account/available_phone_number_country/national.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class NationalInstance(InstanceResource): - """ :ivar friendly_name: A formatted version of the phone number. :ivar phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/api/v2010/account/available_phone_number_country/shared_cost.py b/twilio/rest/api/v2010/account/available_phone_number_country/shared_cost.py index d167c2f03..75b890592 100644 --- a/twilio/rest/api/v2010/account/available_phone_number_country/shared_cost.py +++ b/twilio/rest/api/v2010/account/available_phone_number_country/shared_cost.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class SharedCostInstance(InstanceResource): - """ :ivar friendly_name: A formatted version of the phone number. :ivar phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/api/v2010/account/available_phone_number_country/toll_free.py b/twilio/rest/api/v2010/account/available_phone_number_country/toll_free.py index aea21d701..b46af0039 100644 --- a/twilio/rest/api/v2010/account/available_phone_number_country/toll_free.py +++ b/twilio/rest/api/v2010/account/available_phone_number_country/toll_free.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class TollFreeInstance(InstanceResource): - """ :ivar friendly_name: A formatted version of the phone number. :ivar phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/api/v2010/account/available_phone_number_country/voip.py b/twilio/rest/api/v2010/account/available_phone_number_country/voip.py index fba53f035..b0bb21369 100644 --- a/twilio/rest/api/v2010/account/available_phone_number_country/voip.py +++ b/twilio/rest/api/v2010/account/available_phone_number_country/voip.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class VoipInstance(InstanceResource): - """ :ivar friendly_name: A formatted version of the phone number. :ivar phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/api/v2010/account/balance.py b/twilio/rest/api/v2010/account/balance.py index e3c2d5e7e..402e25d5f 100644 --- a/twilio/rest/api/v2010/account/balance.py +++ b/twilio/rest/api/v2010/account/balance.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class BalanceInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Account. :ivar balance: The balance of the Account, in units specified by the unit parameter. Balance changes may not be reflected immediately. Child accounts do not contain balance information diff --git a/twilio/rest/api/v2010/account/call/__init__.py b/twilio/rest/api/v2010/account/call/__init__.py index 7c969eff7..f35c25f6b 100644 --- a/twilio/rest/api/v2010/account/call/__init__.py +++ b/twilio/rest/api/v2010/account/call/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/call/event.py b/twilio/rest/api/v2010/account/call/event.py index bb77d6510..734d3e6cb 100644 --- a/twilio/rest/api/v2010/account/call/event.py +++ b/twilio/rest/api/v2010/account/call/event.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values @@ -23,7 +22,6 @@ class EventInstance(InstanceResource): - """ :ivar request: Contains a dictionary representing the request of the call. :ivar response: Contains a dictionary representing the call response, including a list of the call events. diff --git a/twilio/rest/api/v2010/account/call/feedback.py b/twilio/rest/api/v2010/account/call/feedback.py index 8eb84a966..342b032eb 100644 --- a/twilio/rest/api/v2010/account/call/feedback.py +++ b/twilio/rest/api/v2010/account/call/feedback.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/call/feedback_summary.py b/twilio/rest/api/v2010/account/call/feedback_summary.py index fcfb4e0ab..3df166038 100644 --- a/twilio/rest/api/v2010/account/call/feedback_summary.py +++ b/twilio/rest/api/v2010/account/call/feedback_summary.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date, datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/call/notification.py b/twilio/rest/api/v2010/account/call/notification.py index 5db223c85..2f704e2c4 100644 --- a/twilio/rest/api/v2010/account/call/notification.py +++ b/twilio/rest/api/v2010/account/call/notification.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date, datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class NotificationInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification resource. :ivar api_version: The API version used to create the Call Notification resource. diff --git a/twilio/rest/api/v2010/account/call/payment.py b/twilio/rest/api/v2010/account/call/payment.py index 10d00441b..229332139 100644 --- a/twilio/rest/api/v2010/account/call/payment.py +++ b/twilio/rest/api/v2010/account/call/payment.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/call/recording.py b/twilio/rest/api/v2010/account/call/recording.py index 7ca36f3e0..4a852d67e 100644 --- a/twilio/rest/api/v2010/account/call/recording.py +++ b/twilio/rest/api/v2010/account/call/recording.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date, datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/call/siprec.py b/twilio/rest/api/v2010/account/call/siprec.py index 86bfd5c6b..d7742ed39 100644 --- a/twilio/rest/api/v2010/account/call/siprec.py +++ b/twilio/rest/api/v2010/account/call/siprec.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/call/stream.py b/twilio/rest/api/v2010/account/call/stream.py index 1999e9379..36b6bbe33 100644 --- a/twilio/rest/api/v2010/account/call/stream.py +++ b/twilio/rest/api/v2010/account/call/stream.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/call/user_defined_message.py b/twilio/rest/api/v2010/account/call/user_defined_message.py index 0beef389d..7529a5074 100644 --- a/twilio/rest/api/v2010/account/call/user_defined_message.py +++ b/twilio/rest/api/v2010/account/call/user_defined_message.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class UserDefinedMessageInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created User Defined Message. :ivar call_sid: The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message is associated with. diff --git a/twilio/rest/api/v2010/account/call/user_defined_message_subscription.py b/twilio/rest/api/v2010/account/call/user_defined_message_subscription.py index c34905dcd..8d9054bc2 100644 --- a/twilio/rest/api/v2010/account/call/user_defined_message_subscription.py +++ b/twilio/rest/api/v2010/account/call/user_defined_message_subscription.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class UserDefinedMessageSubscriptionInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that subscribed to the User Defined Messages. :ivar call_sid: The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages. diff --git a/twilio/rest/api/v2010/account/conference/__init__.py b/twilio/rest/api/v2010/account/conference/__init__.py index 062c7013e..cd4ec2200 100644 --- a/twilio/rest/api/v2010/account/conference/__init__.py +++ b/twilio/rest/api/v2010/account/conference/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date, datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/conference/participant.py b/twilio/rest/api/v2010/account/conference/participant.py index e1c2e90b3..5b3d7857e 100644 --- a/twilio/rest/api/v2010/account/conference/participant.py +++ b/twilio/rest/api/v2010/account/conference/participant.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/conference/recording.py b/twilio/rest/api/v2010/account/conference/recording.py index e9ac5789c..cd8abd95d 100644 --- a/twilio/rest/api/v2010/account/conference/recording.py +++ b/twilio/rest/api/v2010/account/conference/recording.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date, datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/connect_app.py b/twilio/rest/api/v2010/account/connect_app.py index e34fbeae4..50c489745 100644 --- a/twilio/rest/api/v2010/account/connect_app.py +++ b/twilio/rest/api/v2010/account/connect_app.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/api/v2010/account/incoming_phone_number/__init__.py b/twilio/rest/api/v2010/account/incoming_phone_number/__init__.py index 121d2f03c..805a1b6f0 100644 --- a/twilio/rest/api/v2010/account/incoming_phone_number/__init__.py +++ b/twilio/rest/api/v2010/account/incoming_phone_number/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/incoming_phone_number/assigned_add_on/__init__.py b/twilio/rest/api/v2010/account/incoming_phone_number/assigned_add_on/__init__.py index 4b04d7525..a1206eaa9 100644 --- a/twilio/rest/api/v2010/account/incoming_phone_number/assigned_add_on/__init__.py +++ b/twilio/rest/api/v2010/account/incoming_phone_number/assigned_add_on/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class AssignedAddOnInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource. diff --git a/twilio/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.py b/twilio/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.py index 54b1c2a80..1c1e4b55c 100644 --- a/twilio/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.py +++ b/twilio/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class AssignedAddOnExtensionInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource. diff --git a/twilio/rest/api/v2010/account/incoming_phone_number/local.py b/twilio/rest/api/v2010/account/incoming_phone_number/local.py index 4af79dcf8..0b2bd0341 100644 --- a/twilio/rest/api/v2010/account/incoming_phone_number/local.py +++ b/twilio/rest/api/v2010/account/incoming_phone_number/local.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -88,9 +87,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], account_sid: str): self.account_sid: Optional[str] = payload.get("account_sid") self.address_sid: Optional[str] = payload.get("address_sid") - self.address_requirements: Optional[ - "LocalInstance.AddressRequirement" - ] = payload.get("address_requirements") + self.address_requirements: Optional["LocalInstance.AddressRequirement"] = ( + payload.get("address_requirements") + ) self.api_version: Optional[str] = payload.get("api_version") self.beta: Optional[bool] = payload.get("beta") self.capabilities: Optional[str] = payload.get("capabilities") @@ -116,9 +115,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], account_sid: str): ) self.trunk_sid: Optional[str] = payload.get("trunk_sid") self.uri: Optional[str] = payload.get("uri") - self.voice_receive_mode: Optional[ - "LocalInstance.VoiceReceiveMode" - ] = payload.get("voice_receive_mode") + self.voice_receive_mode: Optional["LocalInstance.VoiceReceiveMode"] = ( + payload.get("voice_receive_mode") + ) self.voice_application_sid: Optional[str] = payload.get("voice_application_sid") self.voice_caller_id_lookup: Optional[bool] = payload.get( "voice_caller_id_lookup" diff --git a/twilio/rest/api/v2010/account/incoming_phone_number/mobile.py b/twilio/rest/api/v2010/account/incoming_phone_number/mobile.py index 2ab5a652c..09714c657 100644 --- a/twilio/rest/api/v2010/account/incoming_phone_number/mobile.py +++ b/twilio/rest/api/v2010/account/incoming_phone_number/mobile.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -88,9 +87,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], account_sid: str): self.account_sid: Optional[str] = payload.get("account_sid") self.address_sid: Optional[str] = payload.get("address_sid") - self.address_requirements: Optional[ - "MobileInstance.AddressRequirement" - ] = payload.get("address_requirements") + self.address_requirements: Optional["MobileInstance.AddressRequirement"] = ( + payload.get("address_requirements") + ) self.api_version: Optional[str] = payload.get("api_version") self.beta: Optional[bool] = payload.get("beta") self.capabilities: Optional[str] = payload.get("capabilities") @@ -116,9 +115,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], account_sid: str): ) self.trunk_sid: Optional[str] = payload.get("trunk_sid") self.uri: Optional[str] = payload.get("uri") - self.voice_receive_mode: Optional[ - "MobileInstance.VoiceReceiveMode" - ] = payload.get("voice_receive_mode") + self.voice_receive_mode: Optional["MobileInstance.VoiceReceiveMode"] = ( + payload.get("voice_receive_mode") + ) self.voice_application_sid: Optional[str] = payload.get("voice_application_sid") self.voice_caller_id_lookup: Optional[bool] = payload.get( "voice_caller_id_lookup" diff --git a/twilio/rest/api/v2010/account/incoming_phone_number/toll_free.py b/twilio/rest/api/v2010/account/incoming_phone_number/toll_free.py index 3b995504a..bb753adc0 100644 --- a/twilio/rest/api/v2010/account/incoming_phone_number/toll_free.py +++ b/twilio/rest/api/v2010/account/incoming_phone_number/toll_free.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -88,9 +87,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], account_sid: str): self.account_sid: Optional[str] = payload.get("account_sid") self.address_sid: Optional[str] = payload.get("address_sid") - self.address_requirements: Optional[ - "TollFreeInstance.AddressRequirement" - ] = payload.get("address_requirements") + self.address_requirements: Optional["TollFreeInstance.AddressRequirement"] = ( + payload.get("address_requirements") + ) self.api_version: Optional[str] = payload.get("api_version") self.beta: Optional[bool] = payload.get("beta") self.capabilities: Optional[str] = payload.get("capabilities") @@ -116,9 +115,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], account_sid: str): ) self.trunk_sid: Optional[str] = payload.get("trunk_sid") self.uri: Optional[str] = payload.get("uri") - self.voice_receive_mode: Optional[ - "TollFreeInstance.VoiceReceiveMode" - ] = payload.get("voice_receive_mode") + self.voice_receive_mode: Optional["TollFreeInstance.VoiceReceiveMode"] = ( + payload.get("voice_receive_mode") + ) self.voice_application_sid: Optional[str] = payload.get("voice_application_sid") self.voice_caller_id_lookup: Optional[bool] = payload.get( "voice_caller_id_lookup" @@ -127,9 +126,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], account_sid: str): self.voice_fallback_url: Optional[str] = payload.get("voice_fallback_url") self.voice_method: Optional[str] = payload.get("voice_method") self.voice_url: Optional[str] = payload.get("voice_url") - self.emergency_status: Optional[ - "TollFreeInstance.EmergencyStatus" - ] = payload.get("emergency_status") + self.emergency_status: Optional["TollFreeInstance.EmergencyStatus"] = ( + payload.get("emergency_status") + ) self.emergency_address_sid: Optional[str] = payload.get("emergency_address_sid") self.emergency_address_status: Optional[ "TollFreeInstance.EmergencyAddressStatus" diff --git a/twilio/rest/api/v2010/account/key.py b/twilio/rest/api/v2010/account/key.py index 76c8f1d55..e4ff85955 100644 --- a/twilio/rest/api/v2010/account/key.py +++ b/twilio/rest/api/v2010/account/key.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class KeyInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the Key resource. :ivar friendly_name: The string that you assigned to describe the resource. diff --git a/twilio/rest/api/v2010/account/message/__init__.py b/twilio/rest/api/v2010/account/message/__init__.py index 58ea4f32b..f84b821fd 100644 --- a/twilio/rest/api/v2010/account/message/__init__.py +++ b/twilio/rest/api/v2010/account/message/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/message/feedback.py b/twilio/rest/api/v2010/account/message/feedback.py index 7c371ee88..59758491f 100644 --- a/twilio/rest/api/v2010/account/message/feedback.py +++ b/twilio/rest/api/v2010/account/message/feedback.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/message/media.py b/twilio/rest/api/v2010/account/message/media.py index 45638e9c5..900c73a60 100644 --- a/twilio/rest/api/v2010/account/message/media.py +++ b/twilio/rest/api/v2010/account/message/media.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class MediaInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this Media resource. :ivar content_type: The default [MIME type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`. diff --git a/twilio/rest/api/v2010/account/new_key.py b/twilio/rest/api/v2010/account/new_key.py index e7af236eb..51581f4f8 100644 --- a/twilio/rest/api/v2010/account/new_key.py +++ b/twilio/rest/api/v2010/account/new_key.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class NewKeyInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the NewKey resource. You will use this as the basic-auth `user` when authenticating to the API. :ivar friendly_name: The string that you assigned to describe the resource. diff --git a/twilio/rest/api/v2010/account/new_signing_key.py b/twilio/rest/api/v2010/account/new_signing_key.py index d24e833b8..7cc775839 100644 --- a/twilio/rest/api/v2010/account/new_signing_key.py +++ b/twilio/rest/api/v2010/account/new_signing_key.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class NewSigningKeyInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the NewSigningKey resource. :ivar friendly_name: The string that you assigned to describe the resource. diff --git a/twilio/rest/api/v2010/account/notification.py b/twilio/rest/api/v2010/account/notification.py index 69e647cd4..0892b2db6 100644 --- a/twilio/rest/api/v2010/account/notification.py +++ b/twilio/rest/api/v2010/account/notification.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date, datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class NotificationInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Notification resource. :ivar api_version: The API version used to generate the notification. Can be empty for events that don't have a specific API version, such as incoming phone calls. diff --git a/twilio/rest/api/v2010/account/outgoing_caller_id.py b/twilio/rest/api/v2010/account/outgoing_caller_id.py index 90d5e472e..a0504da87 100644 --- a/twilio/rest/api/v2010/account/outgoing_caller_id.py +++ b/twilio/rest/api/v2010/account/outgoing_caller_id.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class OutgoingCallerIdInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the OutgoingCallerId resource. :ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/api/v2010/account/queue/__init__.py b/twilio/rest/api/v2010/account/queue/__init__.py index 73589708f..5b9d21269 100644 --- a/twilio/rest/api/v2010/account/queue/__init__.py +++ b/twilio/rest/api/v2010/account/queue/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class QueueInstance(InstanceResource): - """ :ivar date_updated: The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. :ivar current_size: The number of calls currently in the queue. diff --git a/twilio/rest/api/v2010/account/queue/member.py b/twilio/rest/api/v2010/account/queue/member.py index 842a17895..9d8e26ead 100644 --- a/twilio/rest/api/v2010/account/queue/member.py +++ b/twilio/rest/api/v2010/account/queue/member.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class MemberInstance(InstanceResource): - """ :ivar call_sid: The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Member resource is associated with. :ivar date_enqueued: The date that the member was enqueued, given in RFC 2822 format. diff --git a/twilio/rest/api/v2010/account/recording/__init__.py b/twilio/rest/api/v2010/account/recording/__init__.py index 10ee3e1b9..c03c48c7a 100644 --- a/twilio/rest/api/v2010/account/recording/__init__.py +++ b/twilio/rest/api/v2010/account/recording/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/recording/add_on_result/__init__.py b/twilio/rest/api/v2010/account/recording/add_on_result/__init__.py index 79d3a7136..2e7bab380 100644 --- a/twilio/rest/api/v2010/account/recording/add_on_result/__init__.py +++ b/twilio/rest/api/v2010/account/recording/add_on_result/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/recording/add_on_result/payload.py b/twilio/rest/api/v2010/account/recording/add_on_result/payload.py index 08e882220..2b2aa7648 100644 --- a/twilio/rest/api/v2010/account/recording/add_on_result/payload.py +++ b/twilio/rest/api/v2010/account/recording/add_on_result/payload.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class PayloadInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the Recording AddOnResult Payload resource. :ivar add_on_result_sid: The SID of the AddOnResult to which the payload belongs. diff --git a/twilio/rest/api/v2010/account/recording/transcription.py b/twilio/rest/api/v2010/account/recording/transcription.py index 6aa104d42..a89b5e0ca 100644 --- a/twilio/rest/api/v2010/account/recording/transcription.py +++ b/twilio/rest/api/v2010/account/recording/transcription.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/short_code.py b/twilio/rest/api/v2010/account/short_code.py index 831cb770a..5644f9214 100644 --- a/twilio/rest/api/v2010/account/short_code.py +++ b/twilio/rest/api/v2010/account/short_code.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ShortCodeInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this ShortCode resource. :ivar api_version: The API version used to start a new TwiML session when an SMS message is sent to this short code. diff --git a/twilio/rest/api/v2010/account/signing_key.py b/twilio/rest/api/v2010/account/signing_key.py index e14f42c77..51ee4a409 100644 --- a/twilio/rest/api/v2010/account/signing_key.py +++ b/twilio/rest/api/v2010/account/signing_key.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class SigningKeyInstance(InstanceResource): - """ :ivar sid: :ivar friendly_name: diff --git a/twilio/rest/api/v2010/account/sip/__init__.py b/twilio/rest/api/v2010/account/sip/__init__.py index a0780cb1e..49d5a5db4 100644 --- a/twilio/rest/api/v2010/account/sip/__init__.py +++ b/twilio/rest/api/v2010/account/sip/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/api/v2010/account/sip/credential_list/__init__.py b/twilio/rest/api/v2010/account/sip/credential_list/__init__.py index 08ac5bcfe..d56f55a81 100644 --- a/twilio/rest/api/v2010/account/sip/credential_list/__init__.py +++ b/twilio/rest/api/v2010/account/sip/credential_list/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class CredentialListInstance(InstanceResource): - """ :ivar account_sid: The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) that owns this resource. :ivar date_created: The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. diff --git a/twilio/rest/api/v2010/account/sip/credential_list/credential.py b/twilio/rest/api/v2010/account/sip/credential_list/credential.py index 585950c25..5a9dbe60b 100644 --- a/twilio/rest/api/v2010/account/sip/credential_list/credential.py +++ b/twilio/rest/api/v2010/account/sip/credential_list/credential.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class CredentialInstance(InstanceResource): - """ :ivar sid: A 34 character string that uniquely identifies this resource. :ivar account_sid: The unique id of the Account that is responsible for this resource. diff --git a/twilio/rest/api/v2010/account/sip/domain/__init__.py b/twilio/rest/api/v2010/account/sip/domain/__init__.py index 29a2aaeb2..e43083641 100644 --- a/twilio/rest/api/v2010/account/sip/domain/__init__.py +++ b/twilio/rest/api/v2010/account/sip/domain/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -31,7 +30,6 @@ class DomainInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resource. :ivar api_version: The API version used to process the call. diff --git a/twilio/rest/api/v2010/account/sip/domain/auth_types/__init__.py b/twilio/rest/api/v2010/account/sip/domain/auth_types/__init__.py index 282d3b64e..19935cf60 100644 --- a/twilio/rest/api/v2010/account/sip/domain/auth_types/__init__.py +++ b/twilio/rest/api/v2010/account/sip/domain/auth_types/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/__init__.py b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/__init__.py index 9d822b4fe..8f7548524 100644 --- a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/__init__.py +++ b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional @@ -50,9 +49,9 @@ def __init__(self, version: Version, account_sid: str, domain_sid: str): ) ) - self._credential_list_mappings: Optional[ - AuthCallsCredentialListMappingList - ] = None + self._credential_list_mappings: Optional[AuthCallsCredentialListMappingList] = ( + None + ) self._ip_access_control_list_mappings: Optional[ AuthCallsIpAccessControlListMappingList ] = None diff --git a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.py b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.py index c9cade64f..05935b417 100644 --- a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.py +++ b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class AuthCallsCredentialListMappingInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource. :ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.py b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.py index f83393c37..b4ad167af 100644 --- a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.py +++ b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class AuthCallsIpAccessControlListMappingInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resource. :ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/__init__.py b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/__init__.py index 41c1805ff..20229d899 100644 --- a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/__init__.py +++ b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.py b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.py index a63a6e329..488145957 100644 --- a/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.py +++ b/twilio/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class AuthRegistrationsCredentialListMappingInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource. :ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/api/v2010/account/sip/domain/credential_list_mapping.py b/twilio/rest/api/v2010/account/sip/domain/credential_list_mapping.py index 248e0ca37..d951074aa 100644 --- a/twilio/rest/api/v2010/account/sip/domain/credential_list_mapping.py +++ b/twilio/rest/api/v2010/account/sip/domain/credential_list_mapping.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class CredentialListMappingInstance(InstanceResource): - """ :ivar account_sid: The unique id of the Account that is responsible for this resource. :ivar date_created: The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. diff --git a/twilio/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.py b/twilio/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.py index cfe65e99d..b534af960 100644 --- a/twilio/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.py +++ b/twilio/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class IpAccessControlListMappingInstance(InstanceResource): - """ :ivar account_sid: The unique id of the Account that is responsible for this resource. :ivar date_created: The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. diff --git a/twilio/rest/api/v2010/account/sip/ip_access_control_list/__init__.py b/twilio/rest/api/v2010/account/sip/ip_access_control_list/__init__.py index fac56d857..38ea58900 100644 --- a/twilio/rest/api/v2010/account/sip/ip_access_control_list/__init__.py +++ b/twilio/rest/api/v2010/account/sip/ip_access_control_list/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class IpAccessControlListInstance(InstanceResource): - """ :ivar sid: A 34 character string that uniquely identifies this resource. :ivar account_sid: The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) that owns this resource. diff --git a/twilio/rest/api/v2010/account/sip/ip_access_control_list/ip_address.py b/twilio/rest/api/v2010/account/sip/ip_access_control_list/ip_address.py index 2ce7f69f1..0f96c154b 100644 --- a/twilio/rest/api/v2010/account/sip/ip_access_control_list/ip_address.py +++ b/twilio/rest/api/v2010/account/sip/ip_access_control_list/ip_address.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class IpAddressInstance(InstanceResource): - """ :ivar sid: A 34 character string that uniquely identifies this resource. :ivar account_sid: The unique id of the Account that is responsible for this resource. diff --git a/twilio/rest/api/v2010/account/token.py b/twilio/rest/api/v2010/account/token.py index 744bedd29..d726fe709 100644 --- a/twilio/rest/api/v2010/account/token.py +++ b/twilio/rest/api/v2010/account/token.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class TokenInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Token resource. :ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/api/v2010/account/transcription.py b/twilio/rest/api/v2010/account/transcription.py index 2baa8af86..b757351ae 100644 --- a/twilio/rest/api/v2010/account/transcription.py +++ b/twilio/rest/api/v2010/account/transcription.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/usage/__init__.py b/twilio/rest/api/v2010/account/usage/__init__.py index 3f3f2c76f..0e7d123ee 100644 --- a/twilio/rest/api/v2010/account/usage/__init__.py +++ b/twilio/rest/api/v2010/account/usage/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/api/v2010/account/usage/record/__init__.py b/twilio/rest/api/v2010/account/usage/record/__init__.py index 356526f85..dab521ac9 100644 --- a/twilio/rest/api/v2010/account/usage/record/__init__.py +++ b/twilio/rest/api/v2010/account/usage/record/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/record/all_time.py b/twilio/rest/api/v2010/account/usage/record/all_time.py index e61511d41..a40bdcbb7 100644 --- a/twilio/rest/api/v2010/account/usage/record/all_time.py +++ b/twilio/rest/api/v2010/account/usage/record/all_time.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/record/daily.py b/twilio/rest/api/v2010/account/usage/record/daily.py index 783a16ac8..5716e1c45 100644 --- a/twilio/rest/api/v2010/account/usage/record/daily.py +++ b/twilio/rest/api/v2010/account/usage/record/daily.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/record/last_month.py b/twilio/rest/api/v2010/account/usage/record/last_month.py index 22ed568cf..2c61b5713 100644 --- a/twilio/rest/api/v2010/account/usage/record/last_month.py +++ b/twilio/rest/api/v2010/account/usage/record/last_month.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/record/monthly.py b/twilio/rest/api/v2010/account/usage/record/monthly.py index b64ef27f7..aa397d46b 100644 --- a/twilio/rest/api/v2010/account/usage/record/monthly.py +++ b/twilio/rest/api/v2010/account/usage/record/monthly.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/record/this_month.py b/twilio/rest/api/v2010/account/usage/record/this_month.py index 351583126..4b11038ca 100644 --- a/twilio/rest/api/v2010/account/usage/record/this_month.py +++ b/twilio/rest/api/v2010/account/usage/record/this_month.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/record/today.py b/twilio/rest/api/v2010/account/usage/record/today.py index 9b47ad696..32ca2f48f 100644 --- a/twilio/rest/api/v2010/account/usage/record/today.py +++ b/twilio/rest/api/v2010/account/usage/record/today.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/record/yearly.py b/twilio/rest/api/v2010/account/usage/record/yearly.py index b53ae265a..3e83d5bc7 100644 --- a/twilio/rest/api/v2010/account/usage/record/yearly.py +++ b/twilio/rest/api/v2010/account/usage/record/yearly.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/record/yesterday.py b/twilio/rest/api/v2010/account/usage/record/yesterday.py index 4a7e246f0..f9e7f41e9 100644 --- a/twilio/rest/api/v2010/account/usage/record/yesterday.py +++ b/twilio/rest/api/v2010/account/usage/record/yesterday.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/api/v2010/account/usage/trigger.py b/twilio/rest/api/v2010/account/usage/trigger.py index bd165916e..fe070c356 100644 --- a/twilio/rest/api/v2010/account/usage/trigger.py +++ b/twilio/rest/api/v2010/account/usage/trigger.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/api/v2010/account/validation_request.py b/twilio/rest/api/v2010/account/validation_request.py index 84ef8ee25..922cc25c8 100644 --- a/twilio/rest/api/v2010/account/validation_request.py +++ b/twilio/rest/api/v2010/account/validation_request.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values @@ -22,7 +21,6 @@ class ValidationRequestInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for the Caller ID. :ivar call_sid: The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Caller ID is associated with. diff --git a/twilio/rest/autopilot/v1/assistant/__init__.py b/twilio/rest/autopilot/v1/assistant/__init__.py index a25268fc4..8ac157ed6 100644 --- a/twilio/rest/autopilot/v1/assistant/__init__.py +++ b/twilio/rest/autopilot/v1/assistant/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -32,7 +31,6 @@ class AssistantInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Assistant resource. :ivar date_created: The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/autopilot/v1/assistant/defaults.py b/twilio/rest/autopilot/v1/assistant/defaults.py index 0db77b841..f46030107 100644 --- a/twilio/rest/autopilot/v1/assistant/defaults.py +++ b/twilio/rest/autopilot/v1/assistant/defaults.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class DefaultsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Defaults resource. :ivar assistant_sid: The SID of the [Assistant](https://www.twilio.com/docs/autopilot/api/assistant) that is the parent of the resource. diff --git a/twilio/rest/autopilot/v1/assistant/dialogue.py b/twilio/rest/autopilot/v1/assistant/dialogue.py index 6e06f4ff2..0630694fb 100644 --- a/twilio/rest/autopilot/v1/assistant/dialogue.py +++ b/twilio/rest/autopilot/v1/assistant/dialogue.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class DialogueInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Dialogue resource. :ivar assistant_sid: The SID of the [Assistant](https://www.twilio.com/docs/autopilot/api/assistant) that is the parent of the resource. diff --git a/twilio/rest/autopilot/v1/assistant/field_type/__init__.py b/twilio/rest/autopilot/v1/assistant/field_type/__init__.py index 4639a6e96..ce9f8ba34 100644 --- a/twilio/rest/autopilot/v1/assistant/field_type/__init__.py +++ b/twilio/rest/autopilot/v1/assistant/field_type/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class FieldTypeInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the FieldType resource. :ivar date_created: The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/autopilot/v1/assistant/field_type/field_value.py b/twilio/rest/autopilot/v1/assistant/field_type/field_value.py index 38cb71161..4180f3168 100644 --- a/twilio/rest/autopilot/v1/assistant/field_type/field_value.py +++ b/twilio/rest/autopilot/v1/assistant/field_type/field_value.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class FieldValueInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the FieldValue resource. :ivar date_created: The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/autopilot/v1/assistant/model_build.py b/twilio/rest/autopilot/v1/assistant/model_build.py index ccfb8a1c3..f3c4b708a 100644 --- a/twilio/rest/autopilot/v1/assistant/model_build.py +++ b/twilio/rest/autopilot/v1/assistant/model_build.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/autopilot/v1/assistant/query.py b/twilio/rest/autopilot/v1/assistant/query.py index 500f6bb7f..0d4286d50 100644 --- a/twilio/rest/autopilot/v1/assistant/query.py +++ b/twilio/rest/autopilot/v1/assistant/query.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class QueryInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Query resource. :ivar date_created: The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/autopilot/v1/assistant/style_sheet.py b/twilio/rest/autopilot/v1/assistant/style_sheet.py index 980ab4011..54a0533e2 100644 --- a/twilio/rest/autopilot/v1/assistant/style_sheet.py +++ b/twilio/rest/autopilot/v1/assistant/style_sheet.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class StyleSheetInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the StyleSheet resource. :ivar assistant_sid: The SID of the [Assistant](https://www.twilio.com/docs/autopilot/api/assistant) that is the parent of the resource. diff --git a/twilio/rest/autopilot/v1/assistant/task/__init__.py b/twilio/rest/autopilot/v1/assistant/task/__init__.py index c90b412ac..7efae4594 100644 --- a/twilio/rest/autopilot/v1/assistant/task/__init__.py +++ b/twilio/rest/autopilot/v1/assistant/task/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -28,7 +27,6 @@ class TaskInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Task resource. :ivar date_created: The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/autopilot/v1/assistant/task/field.py b/twilio/rest/autopilot/v1/assistant/task/field.py index dc48c4465..bf256ab4d 100644 --- a/twilio/rest/autopilot/v1/assistant/task/field.py +++ b/twilio/rest/autopilot/v1/assistant/task/field.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class FieldInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Field resource. :ivar date_created: The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/autopilot/v1/assistant/task/sample.py b/twilio/rest/autopilot/v1/assistant/task/sample.py index ce413aeaa..e61906bf2 100644 --- a/twilio/rest/autopilot/v1/assistant/task/sample.py +++ b/twilio/rest/autopilot/v1/assistant/task/sample.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class SampleInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Sample resource. :ivar date_created: The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/autopilot/v1/assistant/task/task_actions.py b/twilio/rest/autopilot/v1/assistant/task/task_actions.py index 01d4efa2c..46f5f20d8 100644 --- a/twilio/rest/autopilot/v1/assistant/task/task_actions.py +++ b/twilio/rest/autopilot/v1/assistant/task/task_actions.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class TaskActionsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskActions resource. :ivar assistant_sid: The SID of the [Assistant](https://www.twilio.com/docs/autopilot/api/assistant) that is the parent of the Task associated with the resource. diff --git a/twilio/rest/autopilot/v1/assistant/task/task_statistics.py b/twilio/rest/autopilot/v1/assistant/task/task_statistics.py index 3d92b05cb..c0749fabc 100644 --- a/twilio/rest/autopilot/v1/assistant/task/task_statistics.py +++ b/twilio/rest/autopilot/v1/assistant/task/task_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import deserialize from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class TaskStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskStatistics resource. :ivar assistant_sid: The SID of the [Assistant](https://www.twilio.com/docs/autopilot/api/assistant) that is the parent of the Task associated with the resource. diff --git a/twilio/rest/autopilot/v1/assistant/webhook.py b/twilio/rest/autopilot/v1/assistant/webhook.py index 8a3e3da2f..13fcadb79 100644 --- a/twilio/rest/autopilot/v1/assistant/webhook.py +++ b/twilio/rest/autopilot/v1/assistant/webhook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class WebhookInstance(InstanceResource): - """ :ivar url: The absolute URL of the Webhook resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Webhook resource. diff --git a/twilio/rest/autopilot/v1/restore_assistant.py b/twilio/rest/autopilot/v1/restore_assistant.py index aae8dd3f8..7b6daf8ec 100644 --- a/twilio/rest/autopilot/v1/restore_assistant.py +++ b/twilio/rest/autopilot/v1/restore_assistant.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class RestoreAssistantInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Assistant resource. :ivar sid: The unique string that we created to identify the Assistant resource. diff --git a/twilio/rest/bulkexports/v1/export/__init__.py b/twilio/rest/bulkexports/v1/export/__init__.py index 03d6c449e..938bf8d88 100644 --- a/twilio/rest/bulkexports/v1/export/__init__.py +++ b/twilio/rest/bulkexports/v1/export/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -25,7 +24,6 @@ class ExportInstance(InstanceResource): - """ :ivar resource_type: The type of communication – Messages, Calls, Conferences, and Participants :ivar url: The URL of this resource. diff --git a/twilio/rest/bulkexports/v1/export/day.py b/twilio/rest/bulkexports/v1/export/day.py index 26daf02ed..af0313137 100644 --- a/twilio/rest/bulkexports/v1/export/day.py +++ b/twilio/rest/bulkexports/v1/export/day.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class DayInstance(InstanceResource): - """ :ivar redirect_to: :ivar day: The ISO 8601 format date of the resources in the file, for a UTC day diff --git a/twilio/rest/bulkexports/v1/export/export_custom_job.py b/twilio/rest/bulkexports/v1/export/export_custom_job.py index 2c571489d..da66ae08d 100644 --- a/twilio/rest/bulkexports/v1/export/export_custom_job.py +++ b/twilio/rest/bulkexports/v1/export/export_custom_job.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values @@ -23,7 +22,6 @@ class ExportCustomJobInstance(InstanceResource): - """ :ivar friendly_name: The friendly name specified when creating the job :ivar resource_type: The type of communication – Messages, Calls, Conferences, and Participants diff --git a/twilio/rest/bulkexports/v1/export/job.py b/twilio/rest/bulkexports/v1/export/job.py index 64c3c0f46..65cebd0e5 100644 --- a/twilio/rest/bulkexports/v1/export/job.py +++ b/twilio/rest/bulkexports/v1/export/job.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class JobInstance(InstanceResource): - """ :ivar resource_type: The type of communication – Messages, Calls, Conferences, and Participants :ivar friendly_name: The friendly name specified when creating the job diff --git a/twilio/rest/bulkexports/v1/export_configuration.py b/twilio/rest/bulkexports/v1/export_configuration.py index 28e64c5cd..bfb6307f5 100644 --- a/twilio/rest/bulkexports/v1/export_configuration.py +++ b/twilio/rest/bulkexports/v1/export_configuration.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class ExportConfigurationInstance(InstanceResource): - """ :ivar enabled: If true, Twilio will automatically generate every day's file when the day is over. :ivar webhook_url: Stores the URL destination for the method specified in webhook_method. diff --git a/twilio/rest/chat/v1/credential.py b/twilio/rest/chat/v1/credential.py index ecdf1d58e..9e6503f46 100644 --- a/twilio/rest/chat/v1/credential.py +++ b/twilio/rest/chat/v1/credential.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/chat/v1/service/__init__.py b/twilio/rest/chat/v1/service/__init__.py index f8a377057..b6feae0cc 100644 --- a/twilio/rest/chat/v1/service/__init__.py +++ b/twilio/rest/chat/v1/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -27,7 +26,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Service resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the Service resource. diff --git a/twilio/rest/chat/v1/service/channel/__init__.py b/twilio/rest/chat/v1/service/channel/__init__.py index e04d95a43..fbfe141fc 100644 --- a/twilio/rest/chat/v1/service/channel/__init__.py +++ b/twilio/rest/chat/v1/service/channel/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/chat/v1/service/channel/invite.py b/twilio/rest/chat/v1/service/channel/invite.py index e3dbbae07..639c4c509 100644 --- a/twilio/rest/chat/v1/service/channel/invite.py +++ b/twilio/rest/chat/v1/service/channel/invite.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class InviteInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Invite resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the Invite resource. diff --git a/twilio/rest/chat/v1/service/channel/member.py b/twilio/rest/chat/v1/service/channel/member.py index 62e3912bf..6880f064e 100644 --- a/twilio/rest/chat/v1/service/channel/member.py +++ b/twilio/rest/chat/v1/service/channel/member.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class MemberInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Member resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the Member resource. @@ -64,9 +62,9 @@ def __init__( self.last_consumed_message_index: Optional[int] = deserialize.integer( payload.get("last_consumed_message_index") ) - self.last_consumption_timestamp: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("last_consumption_timestamp")) + self.last_consumption_timestamp: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("last_consumption_timestamp")) + ) self.url: Optional[str] = payload.get("url") self._solution = { diff --git a/twilio/rest/chat/v1/service/channel/message.py b/twilio/rest/chat/v1/service/channel/message.py index ad45b6eb5..bf4db73dd 100644 --- a/twilio/rest/chat/v1/service/channel/message.py +++ b/twilio/rest/chat/v1/service/channel/message.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/chat/v1/service/role.py b/twilio/rest/chat/v1/service/role.py index e1a5e5cd5..e83e30fd5 100644 --- a/twilio/rest/chat/v1/service/role.py +++ b/twilio/rest/chat/v1/service/role.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/chat/v1/service/user/__init__.py b/twilio/rest/chat/v1/service/user/__init__.py index fd6e9d6c4..ba5d038e2 100644 --- a/twilio/rest/chat/v1/service/user/__init__.py +++ b/twilio/rest/chat/v1/service/user/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class UserInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the User resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the User resource. diff --git a/twilio/rest/chat/v1/service/user/user_channel.py b/twilio/rest/chat/v1/service/user/user_channel.py index 353f6bf68..6a781e9ff 100644 --- a/twilio/rest/chat/v1/service/user/user_channel.py +++ b/twilio/rest/chat/v1/service/user/user_channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/chat/v2/credential.py b/twilio/rest/chat/v2/credential.py index 4a3df30e9..1c2f8a5cf 100644 --- a/twilio/rest/chat/v2/credential.py +++ b/twilio/rest/chat/v2/credential.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/chat/v2/service/__init__.py b/twilio/rest/chat/v2/service/__init__.py index 208805c7b..d7ba975bd 100644 --- a/twilio/rest/chat/v2/service/__init__.py +++ b/twilio/rest/chat/v2/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -28,7 +27,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Service resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Service resource. diff --git a/twilio/rest/chat/v2/service/binding.py b/twilio/rest/chat/v2/service/binding.py index 424ad98c0..cf792202c 100644 --- a/twilio/rest/chat/v2/service/binding.py +++ b/twilio/rest/chat/v2/service/binding.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/chat/v2/service/channel/__init__.py b/twilio/rest/chat/v2/service/channel/__init__.py index 82fc71f80..421d2a7df 100644 --- a/twilio/rest/chat/v2/service/channel/__init__.py +++ b/twilio/rest/chat/v2/service/channel/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/chat/v2/service/channel/invite.py b/twilio/rest/chat/v2/service/channel/invite.py index 3b89e94f8..3c6ed8244 100644 --- a/twilio/rest/chat/v2/service/channel/invite.py +++ b/twilio/rest/chat/v2/service/channel/invite.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class InviteInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Invite resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Invite resource. diff --git a/twilio/rest/chat/v2/service/channel/member.py b/twilio/rest/chat/v2/service/channel/member.py index aa03d8bac..689233b28 100644 --- a/twilio/rest/chat/v2/service/channel/member.py +++ b/twilio/rest/chat/v2/service/channel/member.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -68,9 +67,9 @@ def __init__( self.last_consumed_message_index: Optional[int] = deserialize.integer( payload.get("last_consumed_message_index") ) - self.last_consumption_timestamp: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("last_consumption_timestamp")) + self.last_consumption_timestamp: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("last_consumption_timestamp")) + ) self.url: Optional[str] = payload.get("url") self.attributes: Optional[str] = payload.get("attributes") diff --git a/twilio/rest/chat/v2/service/channel/message.py b/twilio/rest/chat/v2/service/channel/message.py index 07f6a9dc9..847f063dc 100644 --- a/twilio/rest/chat/v2/service/channel/message.py +++ b/twilio/rest/chat/v2/service/channel/message.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/chat/v2/service/channel/webhook.py b/twilio/rest/chat/v2/service/channel/webhook.py index 6e05e4174..072fe1cba 100644 --- a/twilio/rest/chat/v2/service/channel/webhook.py +++ b/twilio/rest/chat/v2/service/channel/webhook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/chat/v2/service/role.py b/twilio/rest/chat/v2/service/role.py index 7f77ee6e4..4fddd4c9e 100644 --- a/twilio/rest/chat/v2/service/role.py +++ b/twilio/rest/chat/v2/service/role.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/chat/v2/service/user/__init__.py b/twilio/rest/chat/v2/service/user/__init__.py index 9977023e7..bfb71480c 100644 --- a/twilio/rest/chat/v2/service/user/__init__.py +++ b/twilio/rest/chat/v2/service/user/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/chat/v2/service/user/user_binding.py b/twilio/rest/chat/v2/service/user/user_binding.py index 5ea162884..ef934a6d3 100644 --- a/twilio/rest/chat/v2/service/user/user_binding.py +++ b/twilio/rest/chat/v2/service/user/user_binding.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/chat/v2/service/user/user_channel.py b/twilio/rest/chat/v2/service/user/user_channel.py index 2f72e8c59..94b9ddbd7 100644 --- a/twilio/rest/chat/v2/service/user/user_channel.py +++ b/twilio/rest/chat/v2/service/user/user_channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -77,9 +76,9 @@ def __init__( ) self.links: Optional[Dict[str, object]] = payload.get("links") self.url: Optional[str] = payload.get("url") - self.notification_level: Optional[ - "UserChannelInstance.NotificationLevel" - ] = payload.get("notification_level") + self.notification_level: Optional["UserChannelInstance.NotificationLevel"] = ( + payload.get("notification_level") + ) self._solution = { "service_sid": service_sid, diff --git a/twilio/rest/chat/v3/channel.py b/twilio/rest/chat/v3/channel.py index 001334e85..92ba531ed 100644 --- a/twilio/rest/chat/v3/channel.py +++ b/twilio/rest/chat/v3/channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values diff --git a/twilio/rest/content/v1/content/__init__.py b/twilio/rest/content/v1/content/__init__.py index b0eaaa0fa..87ed5b58e 100644 --- a/twilio/rest/content/v1/content/__init__.py +++ b/twilio/rest/content/v1/content/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class ContentInstance(InstanceResource): - """ :ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. :ivar date_updated: The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/content/v1/content/approval_fetch.py b/twilio/rest/content/v1/content/approval_fetch.py index ccd3b96d8..31466a4e9 100644 --- a/twilio/rest/content/v1/content/approval_fetch.py +++ b/twilio/rest/content/v1/content/approval_fetch.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class ApprovalFetchInstance(InstanceResource): - """ :ivar sid: The unique string that that we created to identify the Content resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/usage/api/account) that created Content resource. diff --git a/twilio/rest/content/v1/content_and_approvals.py b/twilio/rest/content/v1/content_and_approvals.py index 914376ea0..b826a1b28 100644 --- a/twilio/rest/content/v1/content_and_approvals.py +++ b/twilio/rest/content/v1/content_and_approvals.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ContentAndApprovalsInstance(InstanceResource): - """ :ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. :ivar date_updated: The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/content/v1/legacy_content.py b/twilio/rest/content/v1/legacy_content.py index 9a1370b98..15ea2f939 100644 --- a/twilio/rest/content/v1/legacy_content.py +++ b/twilio/rest/content/v1/legacy_content.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class LegacyContentInstance(InstanceResource): - """ :ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. :ivar date_updated: The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. diff --git a/twilio/rest/conversations/v1/address_configuration.py b/twilio/rest/conversations/v1/address_configuration.py index ccaf87dee..17310d8e3 100644 --- a/twilio/rest/conversations/v1/address_configuration.py +++ b/twilio/rest/conversations/v1/address_configuration.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/configuration/__init__.py b/twilio/rest/conversations/v1/configuration/__init__.py index afd5a6cfa..64a5a6b1b 100644 --- a/twilio/rest/conversations/v1/configuration/__init__.py +++ b/twilio/rest/conversations/v1/configuration/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -24,7 +23,6 @@ class ConfigurationInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this configuration. :ivar default_chat_service_sid: The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) used when creating a conversation. diff --git a/twilio/rest/conversations/v1/configuration/webhook.py b/twilio/rest/conversations/v1/configuration/webhook.py index 4b2f1c1d7..d357acbea 100644 --- a/twilio/rest/conversations/v1/configuration/webhook.py +++ b/twilio/rest/conversations/v1/configuration/webhook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/conversations/v1/conversation/__init__.py b/twilio/rest/conversations/v1/conversation/__init__.py index 9194b3093..d3ea6dfb1 100644 --- a/twilio/rest/conversations/v1/conversation/__init__.py +++ b/twilio/rest/conversations/v1/conversation/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/conversation/message/__init__.py b/twilio/rest/conversations/v1/conversation/message/__init__.py index 3250a59dd..87b3fd048 100644 --- a/twilio/rest/conversations/v1/conversation/message/__init__.py +++ b/twilio/rest/conversations/v1/conversation/message/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/conversation/message/delivery_receipt.py b/twilio/rest/conversations/v1/conversation/message/delivery_receipt.py index 3949c6703..f8b74d74b 100644 --- a/twilio/rest/conversations/v1/conversation/message/delivery_receipt.py +++ b/twilio/rest/conversations/v1/conversation/message/delivery_receipt.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/conversations/v1/conversation/participant.py b/twilio/rest/conversations/v1/conversation/participant.py index e9cb028ff..2a9c45a59 100644 --- a/twilio/rest/conversations/v1/conversation/participant.py +++ b/twilio/rest/conversations/v1/conversation/participant.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/conversation/webhook.py b/twilio/rest/conversations/v1/conversation/webhook.py index 8b7493388..cb7690cfc 100644 --- a/twilio/rest/conversations/v1/conversation/webhook.py +++ b/twilio/rest/conversations/v1/conversation/webhook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/credential.py b/twilio/rest/conversations/v1/credential.py index 0b6dfd828..1a5c0fb95 100644 --- a/twilio/rest/conversations/v1/credential.py +++ b/twilio/rest/conversations/v1/credential.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/conversations/v1/participant_conversation.py b/twilio/rest/conversations/v1/participant_conversation.py index 0a7d0634b..e61383c32 100644 --- a/twilio/rest/conversations/v1/participant_conversation.py +++ b/twilio/rest/conversations/v1/participant_conversation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -69,18 +68,18 @@ def __init__(self, version: Version, payload: Dict[str, Any]): self.conversation_attributes: Optional[str] = payload.get( "conversation_attributes" ) - self.conversation_date_created: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("conversation_date_created")) - self.conversation_date_updated: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("conversation_date_updated")) + self.conversation_date_created: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("conversation_date_created")) + ) + self.conversation_date_updated: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("conversation_date_updated")) + ) self.conversation_created_by: Optional[str] = payload.get( "conversation_created_by" ) - self.conversation_state: Optional[ - "ParticipantConversationInstance.State" - ] = payload.get("conversation_state") + self.conversation_state: Optional["ParticipantConversationInstance.State"] = ( + payload.get("conversation_state") + ) self.conversation_timers: Optional[Dict[str, object]] = payload.get( "conversation_timers" ) diff --git a/twilio/rest/conversations/v1/role.py b/twilio/rest/conversations/v1/role.py index fb7626ce0..4a8dccfaa 100644 --- a/twilio/rest/conversations/v1/role.py +++ b/twilio/rest/conversations/v1/role.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/service/__init__.py b/twilio/rest/conversations/v1/service/__init__.py index ad4066710..e8bf95e97 100644 --- a/twilio/rest/conversations/v1/service/__init__.py +++ b/twilio/rest/conversations/v1/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -32,7 +31,6 @@ class ServiceInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this service. :ivar sid: A 34 character string that uniquely identifies this resource. diff --git a/twilio/rest/conversations/v1/service/binding.py b/twilio/rest/conversations/v1/service/binding.py index 264ef0490..5a9f2d1e2 100644 --- a/twilio/rest/conversations/v1/service/binding.py +++ b/twilio/rest/conversations/v1/service/binding.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/service/configuration/__init__.py b/twilio/rest/conversations/v1/service/configuration/__init__.py index f5e96dc27..4f2191882 100644 --- a/twilio/rest/conversations/v1/service/configuration/__init__.py +++ b/twilio/rest/conversations/v1/service/configuration/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -27,7 +26,6 @@ class ConfigurationInstance(InstanceResource): - """ :ivar chat_service_sid: The unique string that we created to identify the Service configuration resource. :ivar default_conversation_creator_role_sid: The conversation-level role assigned to a conversation creator when they join a new conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. diff --git a/twilio/rest/conversations/v1/service/configuration/notification.py b/twilio/rest/conversations/v1/service/configuration/notification.py index 388f310e9..cc79c5362 100644 --- a/twilio/rest/conversations/v1/service/configuration/notification.py +++ b/twilio/rest/conversations/v1/service/configuration/notification.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class NotificationInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this configuration. :ivar chat_service_sid: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Configuration applies to. diff --git a/twilio/rest/conversations/v1/service/configuration/webhook.py b/twilio/rest/conversations/v1/service/configuration/webhook.py index 6152c4433..7d6ad0df0 100644 --- a/twilio/rest/conversations/v1/service/configuration/webhook.py +++ b/twilio/rest/conversations/v1/service/configuration/webhook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/conversations/v1/service/conversation/__init__.py b/twilio/rest/conversations/v1/service/conversation/__init__.py index 3fe88d556..8f072a653 100644 --- a/twilio/rest/conversations/v1/service/conversation/__init__.py +++ b/twilio/rest/conversations/v1/service/conversation/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/service/conversation/message/__init__.py b/twilio/rest/conversations/v1/service/conversation/message/__init__.py index 3c4215153..d6bc253b6 100644 --- a/twilio/rest/conversations/v1/service/conversation/message/__init__.py +++ b/twilio/rest/conversations/v1/service/conversation/message/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/service/conversation/message/delivery_receipt.py b/twilio/rest/conversations/v1/service/conversation/message/delivery_receipt.py index 01e6f392f..73c197cd7 100644 --- a/twilio/rest/conversations/v1/service/conversation/message/delivery_receipt.py +++ b/twilio/rest/conversations/v1/service/conversation/message/delivery_receipt.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/conversations/v1/service/conversation/participant.py b/twilio/rest/conversations/v1/service/conversation/participant.py index 70345aed6..a2f4497db 100644 --- a/twilio/rest/conversations/v1/service/conversation/participant.py +++ b/twilio/rest/conversations/v1/service/conversation/participant.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/service/conversation/webhook.py b/twilio/rest/conversations/v1/service/conversation/webhook.py index 88e848f35..cd3b8a73d 100644 --- a/twilio/rest/conversations/v1/service/conversation/webhook.py +++ b/twilio/rest/conversations/v1/service/conversation/webhook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/service/participant_conversation.py b/twilio/rest/conversations/v1/service/participant_conversation.py index b4de04f27..156fc6534 100644 --- a/twilio/rest/conversations/v1/service/participant_conversation.py +++ b/twilio/rest/conversations/v1/service/participant_conversation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -71,18 +70,18 @@ def __init__( self.conversation_attributes: Optional[str] = payload.get( "conversation_attributes" ) - self.conversation_date_created: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("conversation_date_created")) - self.conversation_date_updated: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("conversation_date_updated")) + self.conversation_date_created: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("conversation_date_created")) + ) + self.conversation_date_updated: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("conversation_date_updated")) + ) self.conversation_created_by: Optional[str] = payload.get( "conversation_created_by" ) - self.conversation_state: Optional[ - "ParticipantConversationInstance.State" - ] = payload.get("conversation_state") + self.conversation_state: Optional["ParticipantConversationInstance.State"] = ( + payload.get("conversation_state") + ) self.conversation_timers: Optional[Dict[str, object]] = payload.get( "conversation_timers" ) diff --git a/twilio/rest/conversations/v1/service/role.py b/twilio/rest/conversations/v1/service/role.py index 2ae2c16fb..dfd7391c6 100644 --- a/twilio/rest/conversations/v1/service/role.py +++ b/twilio/rest/conversations/v1/service/role.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/conversations/v1/service/user/__init__.py b/twilio/rest/conversations/v1/service/user/__init__.py index 10747179b..7d8be91f8 100644 --- a/twilio/rest/conversations/v1/service/user/__init__.py +++ b/twilio/rest/conversations/v1/service/user/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/conversations/v1/service/user/user_conversation.py b/twilio/rest/conversations/v1/service/user/user_conversation.py index 40e02f746..625d219d4 100644 --- a/twilio/rest/conversations/v1/service/user/user_conversation.py +++ b/twilio/rest/conversations/v1/service/user/user_conversation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -76,9 +75,9 @@ def __init__( self.participant_sid: Optional[str] = payload.get("participant_sid") self.user_sid: Optional[str] = payload.get("user_sid") self.friendly_name: Optional[str] = payload.get("friendly_name") - self.conversation_state: Optional[ - "UserConversationInstance.State" - ] = payload.get("conversation_state") + self.conversation_state: Optional["UserConversationInstance.State"] = ( + payload.get("conversation_state") + ) self.timers: Optional[Dict[str, object]] = payload.get("timers") self.attributes: Optional[str] = payload.get("attributes") self.date_created: Optional[datetime] = deserialize.iso8601_datetime( diff --git a/twilio/rest/conversations/v1/user/__init__.py b/twilio/rest/conversations/v1/user/__init__.py index 72a285885..e983da13a 100644 --- a/twilio/rest/conversations/v1/user/__init__.py +++ b/twilio/rest/conversations/v1/user/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/conversations/v1/user/user_conversation.py b/twilio/rest/conversations/v1/user/user_conversation.py index 4134066af..d7d06a6ee 100644 --- a/twilio/rest/conversations/v1/user/user_conversation.py +++ b/twilio/rest/conversations/v1/user/user_conversation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -75,9 +74,9 @@ def __init__( self.participant_sid: Optional[str] = payload.get("participant_sid") self.user_sid: Optional[str] = payload.get("user_sid") self.friendly_name: Optional[str] = payload.get("friendly_name") - self.conversation_state: Optional[ - "UserConversationInstance.State" - ] = payload.get("conversation_state") + self.conversation_state: Optional["UserConversationInstance.State"] = ( + payload.get("conversation_state") + ) self.timers: Optional[Dict[str, object]] = payload.get("timers") self.attributes: Optional[str] = payload.get("attributes") self.date_created: Optional[datetime] = deserialize.iso8601_datetime( diff --git a/twilio/rest/events/v1/event_type.py b/twilio/rest/events/v1/event_type.py index beaeed332..451c74d2a 100644 --- a/twilio/rest/events/v1/event_type.py +++ b/twilio/rest/events/v1/event_type.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class EventTypeInstance(InstanceResource): - """ :ivar type: A string that uniquely identifies this Event Type. :ivar schema_id: A string that uniquely identifies the Schema this Event Type adheres to. diff --git a/twilio/rest/events/v1/schema/__init__.py b/twilio/rest/events/v1/schema/__init__.py index 5bd099d56..22383e76d 100644 --- a/twilio/rest/events/v1/schema/__init__.py +++ b/twilio/rest/events/v1/schema/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize @@ -25,7 +24,6 @@ class SchemaInstance(InstanceResource): - """ :ivar id: The unique identifier of the schema. Each schema can have multiple versions, that share the same id. :ivar url: The URL of this resource. @@ -42,9 +40,9 @@ def __init__( self.id: Optional[str] = payload.get("id") self.url: Optional[str] = payload.get("url") self.links: Optional[Dict[str, object]] = payload.get("links") - self.latest_version_date_created: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("latest_version_date_created")) + self.latest_version_date_created: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("latest_version_date_created")) + ) self.latest_version: Optional[int] = deserialize.integer( payload.get("latest_version") ) diff --git a/twilio/rest/events/v1/schema/schema_version.py b/twilio/rest/events/v1/schema/schema_version.py index 823aefbf7..58c8207ca 100644 --- a/twilio/rest/events/v1/schema/schema_version.py +++ b/twilio/rest/events/v1/schema/schema_version.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class SchemaVersionInstance(InstanceResource): - """ :ivar id: The unique identifier of the schema. Each schema can have multiple versions, that share the same id. :ivar schema_version: The version of this schema. diff --git a/twilio/rest/events/v1/sink/__init__.py b/twilio/rest/events/v1/sink/__init__.py index 5a7626ad8..51d25b800 100644 --- a/twilio/rest/events/v1/sink/__init__.py +++ b/twilio/rest/events/v1/sink/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/events/v1/sink/sink_test.py b/twilio/rest/events/v1/sink/sink_test.py index c85c422e7..3b49a36cf 100644 --- a/twilio/rest/events/v1/sink/sink_test.py +++ b/twilio/rest/events/v1/sink/sink_test.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class SinkTestInstance(InstanceResource): - """ :ivar result: Feedback indicating whether the test event was generated. """ diff --git a/twilio/rest/events/v1/sink/sink_validate.py b/twilio/rest/events/v1/sink/sink_validate.py index 8539a1ef4..be24c8869 100644 --- a/twilio/rest/events/v1/sink/sink_validate.py +++ b/twilio/rest/events/v1/sink/sink_validate.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import values @@ -22,7 +21,6 @@ class SinkValidateInstance(InstanceResource): - """ :ivar result: Feedback indicating whether the given Sink was validated. """ diff --git a/twilio/rest/events/v1/subscription/__init__.py b/twilio/rest/events/v1/subscription/__init__.py index 458177d48..5b0651a01 100644 --- a/twilio/rest/events/v1/subscription/__init__.py +++ b/twilio/rest/events/v1/subscription/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -25,7 +24,6 @@ class SubscriptionInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Account. :ivar sid: A 34 character string that uniquely identifies this Subscription. diff --git a/twilio/rest/events/v1/subscription/subscribed_event.py b/twilio/rest/events/v1/subscription/subscribed_event.py index f45fe0b2e..03017f0dd 100644 --- a/twilio/rest/events/v1/subscription/subscribed_event.py +++ b/twilio/rest/events/v1/subscription/subscribed_event.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class SubscribedEventInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Account. :ivar type: Type of event being subscribed to. diff --git a/twilio/rest/flex_api/v1/__init__.py b/twilio/rest/flex_api/v1/__init__.py index 64701c623..1b895467f 100644 --- a/twilio/rest/flex_api/v1/__init__.py +++ b/twilio/rest/flex_api/v1/__init__.py @@ -55,9 +55,9 @@ def __init__(self, domain: Domain): self._channel: Optional[ChannelList] = None self._configuration: Optional[ConfigurationList] = None self._flex_flow: Optional[FlexFlowList] = None - self._insights_assessments_comment: Optional[ - InsightsAssessmentsCommentList - ] = None + self._insights_assessments_comment: Optional[InsightsAssessmentsCommentList] = ( + None + ) self._insights_conversations: Optional[InsightsConversationsList] = None self._insights_questionnaires: Optional[InsightsQuestionnairesList] = None self._insights_questionnaires_category: Optional[ diff --git a/twilio/rest/flex_api/v1/assessments.py b/twilio/rest/flex_api/v1/assessments.py index 06a335189..1e2030a8f 100644 --- a/twilio/rest/flex_api/v1/assessments.py +++ b/twilio/rest/flex_api/v1/assessments.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class AssessmentsInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Account. :ivar assessment_sid: The SID of the assessment diff --git a/twilio/rest/flex_api/v1/channel.py b/twilio/rest/flex_api/v1/channel.py index cf2d76587..5b2300952 100644 --- a/twilio/rest/flex_api/v1/channel.py +++ b/twilio/rest/flex_api/v1/channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ChannelInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Channel resource and owns this Workflow. :ivar flex_flow_sid: The SID of the Flex Flow. diff --git a/twilio/rest/flex_api/v1/configuration.py b/twilio/rest/flex_api/v1/configuration.py index d46150795..fc9a60923 100644 --- a/twilio/rest/flex_api/v1/configuration.py +++ b/twilio/rest/flex_api/v1/configuration.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values diff --git a/twilio/rest/flex_api/v1/flex_flow.py b/twilio/rest/flex_api/v1/flex_flow.py index 45402a43b..15e327650 100644 --- a/twilio/rest/flex_api/v1/flex_flow.py +++ b/twilio/rest/flex_api/v1/flex_flow.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -74,9 +73,9 @@ def __init__( ) self.contact_identity: Optional[str] = payload.get("contact_identity") self.enabled: Optional[bool] = payload.get("enabled") - self.integration_type: Optional[ - "FlexFlowInstance.IntegrationType" - ] = payload.get("integration_type") + self.integration_type: Optional["FlexFlowInstance.IntegrationType"] = ( + payload.get("integration_type") + ) self.integration: Optional[Dict[str, object]] = payload.get("integration") self.long_lived: Optional[bool] = payload.get("long_lived") self.janitor_enabled: Optional[bool] = payload.get("janitor_enabled") diff --git a/twilio/rest/flex_api/v1/insights_assessments_comment.py b/twilio/rest/flex_api/v1/insights_assessments_comment.py index 05b2dfb3e..8ac4a527a 100644 --- a/twilio/rest/flex_api/v1/insights_assessments_comment.py +++ b/twilio/rest/flex_api/v1/insights_assessments_comment.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class InsightsAssessmentsCommentInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. :ivar assessment_sid: The SID of the assessment. diff --git a/twilio/rest/flex_api/v1/insights_conversations.py b/twilio/rest/flex_api/v1/insights_conversations.py index 204d9807f..54b33ad8e 100644 --- a/twilio/rest/flex_api/v1/insights_conversations.py +++ b/twilio/rest/flex_api/v1/insights_conversations.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class InsightsConversationsInstance(InstanceResource): - """ :ivar account_id: The id of the account. :ivar conversation_id: The unique id of the conversation diff --git a/twilio/rest/flex_api/v1/insights_questionnaires.py b/twilio/rest/flex_api/v1/insights_questionnaires.py index d65c33aaf..f4bb0fad0 100644 --- a/twilio/rest/flex_api/v1/insights_questionnaires.py +++ b/twilio/rest/flex_api/v1/insights_questionnaires.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class InsightsQuestionnairesInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. :ivar questionnaire_sid: The sid of this questionnaire diff --git a/twilio/rest/flex_api/v1/insights_questionnaires_category.py b/twilio/rest/flex_api/v1/insights_questionnaires_category.py index 74a05e68b..3f95d9656 100644 --- a/twilio/rest/flex_api/v1/insights_questionnaires_category.py +++ b/twilio/rest/flex_api/v1/insights_questionnaires_category.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class InsightsQuestionnairesCategoryInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. :ivar category_sid: The SID of the category diff --git a/twilio/rest/flex_api/v1/insights_questionnaires_question.py b/twilio/rest/flex_api/v1/insights_questionnaires_question.py index 78739bbcb..e68e04e2a 100644 --- a/twilio/rest/flex_api/v1/insights_questionnaires_question.py +++ b/twilio/rest/flex_api/v1/insights_questionnaires_question.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class InsightsQuestionnairesQuestionInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. :ivar question_sid: The SID of the question diff --git a/twilio/rest/flex_api/v1/insights_segments.py b/twilio/rest/flex_api/v1/insights_segments.py index 3de3138ff..a0d12d4bf 100644 --- a/twilio/rest/flex_api/v1/insights_segments.py +++ b/twilio/rest/flex_api/v1/insights_segments.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import serialize, values @@ -23,7 +22,6 @@ class InsightsSegmentsInstance(InstanceResource): - """ :ivar segment_id: To unique id of the segment :ivar external_id: The unique id for the conversation. diff --git a/twilio/rest/flex_api/v1/insights_session.py b/twilio/rest/flex_api/v1/insights_session.py index d0b889822..32fa5c81e 100644 --- a/twilio/rest/flex_api/v1/insights_session.py +++ b/twilio/rest/flex_api/v1/insights_session.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class InsightsSessionInstance(InstanceResource): - """ :ivar workspace_id: Unique ID to identify the user's workspace :ivar session_expiry: The session expiry date and time, given in ISO 8601 format. diff --git a/twilio/rest/flex_api/v1/insights_settings_answer_sets.py b/twilio/rest/flex_api/v1/insights_settings_answer_sets.py index 4a38d3b13..a8be81c91 100644 --- a/twilio/rest/flex_api/v1/insights_settings_answer_sets.py +++ b/twilio/rest/flex_api/v1/insights_settings_answer_sets.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class InsightsSettingsAnswerSetsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. :ivar answer_sets: The lis of answer sets diff --git a/twilio/rest/flex_api/v1/insights_settings_comment.py b/twilio/rest/flex_api/v1/insights_settings_comment.py index 681dc5800..1d4c2f19a 100644 --- a/twilio/rest/flex_api/v1/insights_settings_comment.py +++ b/twilio/rest/flex_api/v1/insights_settings_comment.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class InsightsSettingsCommentInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. :ivar comments: diff --git a/twilio/rest/flex_api/v1/insights_user_roles.py b/twilio/rest/flex_api/v1/insights_user_roles.py index 25d406bcb..705c0e97d 100644 --- a/twilio/rest/flex_api/v1/insights_user_roles.py +++ b/twilio/rest/flex_api/v1/insights_user_roles.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class InsightsUserRolesInstance(InstanceResource): - """ :ivar roles: Flex Insights roles for the user :ivar url: diff --git a/twilio/rest/flex_api/v1/interaction/__init__.py b/twilio/rest/flex_api/v1/interaction/__init__.py index 40fe054fd..90a48bc06 100644 --- a/twilio/rest/flex_api/v1/interaction/__init__.py +++ b/twilio/rest/flex_api/v1/interaction/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -26,7 +25,6 @@ class InteractionInstance(InstanceResource): - """ :ivar sid: The unique string created by Twilio to identify an Interaction resource, prefixed with KD. :ivar channel: A JSON object that defines the Interaction’s communication channel and includes details about the channel. See the [Outbound SMS](https://www.twilio.com/docs/flex/developer/conversations/interactions-api/interactions#agent-initiated-outbound-interactions) and [inbound (API-initiated)](https://www.twilio.com/docs/flex/developer/conversations/interactions-api/interactions#api-initiated-contact) Channel object examples. diff --git a/twilio/rest/flex_api/v1/interaction/interaction_channel/__init__.py b/twilio/rest/flex_api/v1/interaction/interaction_channel/__init__.py index d15ff2408..791ad4d67 100644 --- a/twilio/rest/flex_api/v1/interaction/interaction_channel/__init__.py +++ b/twilio/rest/flex_api/v1/interaction/interaction_channel/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.py b/twilio/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.py index b585176ec..9c97a85ce 100644 --- a/twilio/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.py +++ b/twilio/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import serialize, values @@ -23,7 +22,6 @@ class InteractionChannelInviteInstance(InstanceResource): - """ :ivar sid: The unique string created by Twilio to identify an Interaction Channel Invite resource. :ivar interaction_sid: The Interaction SID for this Channel. diff --git a/twilio/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.py b/twilio/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.py index 761516f9f..d76a2275a 100644 --- a/twilio/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.py +++ b/twilio/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/flex_api/v1/web_channel.py b/twilio/rest/flex_api/v1/web_channel.py index 436c0be8b..0ff675533 100644 --- a/twilio/rest/flex_api/v1/web_channel.py +++ b/twilio/rest/flex_api/v1/web_channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/flex_api/v2/web_channels.py b/twilio/rest/flex_api/v2/web_channels.py index b8953bd65..d4c2e3396 100644 --- a/twilio/rest/flex_api/v2/web_channels.py +++ b/twilio/rest/flex_api/v2/web_channels.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values @@ -22,7 +21,6 @@ class WebChannelsInstance(InstanceResource): - """ :ivar conversation_sid: The unique string representing the [Conversation resource](https://www.twilio.com/docs/conversations/api/conversation-resource) created. :ivar identity: The unique string representing the User created and should be authorized to participate in the Conversation. For more details, see [User Identity & Access Tokens](https://www.twilio.com/docs/conversations/identity). diff --git a/twilio/rest/frontline_api/v1/user.py b/twilio/rest/frontline_api/v1/user.py index aa279937e..7c032ac5e 100644 --- a/twilio/rest/frontline_api/v1/user.py +++ b/twilio/rest/frontline_api/v1/user.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/insights/v1/call/__init__.py b/twilio/rest/insights/v1/call/__init__.py index 32672015b..824793a6a 100644 --- a/twilio/rest/insights/v1/call/__init__.py +++ b/twilio/rest/insights/v1/call/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -26,7 +25,6 @@ class CallInstance(InstanceResource): - """ :ivar sid: :ivar url: diff --git a/twilio/rest/insights/v1/call/annotation.py b/twilio/rest/insights/v1/call/annotation.py index acb256754..ddf1f829f 100644 --- a/twilio/rest/insights/v1/call/annotation.py +++ b/twilio/rest/insights/v1/call/annotation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -56,9 +55,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], call_sid: str): self.answered_by: Optional["AnnotationInstance.AnsweredBy"] = payload.get( "answered_by" ) - self.connectivity_issue: Optional[ - "AnnotationInstance.ConnectivityIssue" - ] = payload.get("connectivity_issue") + self.connectivity_issue: Optional["AnnotationInstance.ConnectivityIssue"] = ( + payload.get("connectivity_issue") + ) self.quality_issues: Optional[List[str]] = payload.get("quality_issues") self.spam: Optional[bool] = payload.get("spam") self.call_score: Optional[int] = deserialize.integer(payload.get("call_score")) diff --git a/twilio/rest/insights/v1/call/call_summary.py b/twilio/rest/insights/v1/call/call_summary.py index bb1244369..ce52583a1 100644 --- a/twilio/rest/insights/v1/call/call_summary.py +++ b/twilio/rest/insights/v1/call/call_summary.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values @@ -92,9 +91,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], call_sid: str): self.answered_by: Optional["CallSummaryInstance.AnsweredBy"] = payload.get( "answered_by" ) - self.processing_state: Optional[ - "CallSummaryInstance.ProcessingState" - ] = payload.get("processing_state") + self.processing_state: Optional["CallSummaryInstance.ProcessingState"] = ( + payload.get("processing_state") + ) self.created_time: Optional[datetime] = deserialize.iso8601_datetime( payload.get("created_time") ) diff --git a/twilio/rest/insights/v1/call/event.py b/twilio/rest/insights/v1/call/event.py index f970b8298..fa118a726 100644 --- a/twilio/rest/insights/v1/call/event.py +++ b/twilio/rest/insights/v1/call/event.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values diff --git a/twilio/rest/insights/v1/call/metric.py b/twilio/rest/insights/v1/call/metric.py index fea59cc28..586952773 100644 --- a/twilio/rest/insights/v1/call/metric.py +++ b/twilio/rest/insights/v1/call/metric.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values diff --git a/twilio/rest/insights/v1/call_summaries.py b/twilio/rest/insights/v1/call_summaries.py index 98555812e..e7c27ea73 100644 --- a/twilio/rest/insights/v1/call_summaries.py +++ b/twilio/rest/insights/v1/call_summaries.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -103,9 +102,9 @@ def __init__(self, version: Version, payload: Dict[str, Any]): self.call_state: Optional["CallSummariesInstance.CallState"] = payload.get( "call_state" ) - self.processing_state: Optional[ - "CallSummariesInstance.ProcessingState" - ] = payload.get("processing_state") + self.processing_state: Optional["CallSummariesInstance.ProcessingState"] = ( + payload.get("processing_state") + ) self.created_time: Optional[datetime] = deserialize.iso8601_datetime( payload.get("created_time") ) diff --git a/twilio/rest/insights/v1/conference/__init__.py b/twilio/rest/insights/v1/conference/__init__.py index ca0a316ee..cd3203aa1 100644 --- a/twilio/rest/insights/v1/conference/__init__.py +++ b/twilio/rest/insights/v1/conference/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -135,25 +134,25 @@ def __init__( self.unique_participants: Optional[int] = deserialize.integer( payload.get("unique_participants") ) - self.end_reason: Optional[ - "ConferenceInstance.ConferenceEndReason" - ] = payload.get("end_reason") + self.end_reason: Optional["ConferenceInstance.ConferenceEndReason"] = ( + payload.get("end_reason") + ) self.ended_by: Optional[str] = payload.get("ended_by") self.mixer_region: Optional["ConferenceInstance.Region"] = payload.get( "mixer_region" ) - self.mixer_region_requested: Optional[ - "ConferenceInstance.Region" - ] = payload.get("mixer_region_requested") + self.mixer_region_requested: Optional["ConferenceInstance.Region"] = ( + payload.get("mixer_region_requested") + ) self.recording_enabled: Optional[bool] = payload.get("recording_enabled") self.detected_issues: Optional[Dict[str, object]] = payload.get( "detected_issues" ) self.tags: Optional[List["ConferenceInstance.Tag"]] = payload.get("tags") self.tag_info: Optional[Dict[str, object]] = payload.get("tag_info") - self.processing_state: Optional[ - "ConferenceInstance.ProcessingState" - ] = payload.get("processing_state") + self.processing_state: Optional["ConferenceInstance.ProcessingState"] = ( + payload.get("processing_state") + ) self.url: Optional[str] = payload.get("url") self.links: Optional[Dict[str, object]] = payload.get("links") diff --git a/twilio/rest/insights/v1/conference/conference_participant.py b/twilio/rest/insights/v1/conference/conference_participant.py index e6c5489b4..6489c50ed 100644 --- a/twilio/rest/insights/v1/conference/conference_participant.py +++ b/twilio/rest/insights/v1/conference/conference_participant.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -107,14 +106,14 @@ def __init__( self.conference_sid: Optional[str] = payload.get("conference_sid") self.call_sid: Optional[str] = payload.get("call_sid") self.account_sid: Optional[str] = payload.get("account_sid") - self.call_direction: Optional[ - "ConferenceParticipantInstance.CallDirection" - ] = payload.get("call_direction") + self.call_direction: Optional["ConferenceParticipantInstance.CallDirection"] = ( + payload.get("call_direction") + ) self._from: Optional[str] = payload.get("from") self.to: Optional[str] = payload.get("to") - self.call_status: Optional[ - "ConferenceParticipantInstance.CallStatus" - ] = payload.get("call_status") + self.call_status: Optional["ConferenceParticipantInstance.CallStatus"] = ( + payload.get("call_status") + ) self.country_code: Optional[str] = payload.get("country_code") self.is_moderator: Optional[bool] = payload.get("is_moderator") self.join_time: Optional[datetime] = deserialize.iso8601_datetime( @@ -139,15 +138,15 @@ def __init__( self.coached_participants: Optional[List[str]] = payload.get( "coached_participants" ) - self.participant_region: Optional[ - "ConferenceParticipantInstance.Region" - ] = payload.get("participant_region") - self.conference_region: Optional[ - "ConferenceParticipantInstance.Region" - ] = payload.get("conference_region") - self.call_type: Optional[ - "ConferenceParticipantInstance.CallType" - ] = payload.get("call_type") + self.participant_region: Optional["ConferenceParticipantInstance.Region"] = ( + payload.get("participant_region") + ) + self.conference_region: Optional["ConferenceParticipantInstance.Region"] = ( + payload.get("conference_region") + ) + self.call_type: Optional["ConferenceParticipantInstance.CallType"] = ( + payload.get("call_type") + ) self.processing_state: Optional[ "ConferenceParticipantInstance.ProcessingState" ] = payload.get("processing_state") diff --git a/twilio/rest/insights/v1/room/__init__.py b/twilio/rest/insights/v1/room/__init__.py index c17dd2564..1730be8b3 100644 --- a/twilio/rest/insights/v1/room/__init__.py +++ b/twilio/rest/insights/v1/room/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/insights/v1/room/participant.py b/twilio/rest/insights/v1/room/participant.py index f9ed4723e..7d7103af3 100644 --- a/twilio/rest/insights/v1/room/participant.py +++ b/twilio/rest/insights/v1/room/participant.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/insights/v1/setting.py b/twilio/rest/insights/v1/setting.py index 10dc57423..649fd001a 100644 --- a/twilio/rest/insights/v1/setting.py +++ b/twilio/rest/insights/v1/setting.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class SettingInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Account. :ivar advanced_features: A boolean flag indicating whether Advanced Features for Voice Insights are enabled. diff --git a/twilio/rest/intelligence/v2/service.py b/twilio/rest/intelligence/v2/service.py index ae63037ed..fa27ee1a9 100644 --- a/twilio/rest/intelligence/v2/service.py +++ b/twilio/rest/intelligence/v2/service.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/intelligence/v2/transcript/__init__.py b/twilio/rest/intelligence/v2/transcript/__init__.py index 7b479526c..4f4b3bb58 100644 --- a/twilio/rest/intelligence/v2/transcript/__init__.py +++ b/twilio/rest/intelligence/v2/transcript/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/intelligence/v2/transcript/media.py b/twilio/rest/intelligence/v2/transcript/media.py index 89a675a95..469d4a4f6 100644 --- a/twilio/rest/intelligence/v2/transcript/media.py +++ b/twilio/rest/intelligence/v2/transcript/media.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class MediaInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Account. :ivar media_url: Downloadable URL for media, if stored in Twilio AI. diff --git a/twilio/rest/intelligence/v2/transcript/operator_result.py b/twilio/rest/intelligence/v2/transcript/operator_result.py index 662828ce5..00e9cbae4 100644 --- a/twilio/rest/intelligence/v2/transcript/operator_result.py +++ b/twilio/rest/intelligence/v2/transcript/operator_result.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -56,9 +55,9 @@ def __init__( ): super().__init__(version) - self.operator_type: Optional[ - "OperatorResultInstance.OperatorType" - ] = payload.get("operator_type") + self.operator_type: Optional["OperatorResultInstance.OperatorType"] = ( + payload.get("operator_type") + ) self.name: Optional[str] = payload.get("name") self.operator_sid: Optional[str] = payload.get("operator_sid") self.extract_match: Optional[bool] = payload.get("extract_match") diff --git a/twilio/rest/intelligence/v2/transcript/sentence.py b/twilio/rest/intelligence/v2/transcript/sentence.py index 0f3176944..a85953b80 100644 --- a/twilio/rest/intelligence/v2/transcript/sentence.py +++ b/twilio/rest/intelligence/v2/transcript/sentence.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class SentenceInstance(InstanceResource): - """ :ivar media_channel: The channel number. :ivar sentence_index: The index of the sentence in the transcript. diff --git a/twilio/rest/ip_messaging/v1/credential.py b/twilio/rest/ip_messaging/v1/credential.py index 6a193aa1f..f7f847e83 100644 --- a/twilio/rest/ip_messaging/v1/credential.py +++ b/twilio/rest/ip_messaging/v1/credential.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/ip_messaging/v1/service/__init__.py b/twilio/rest/ip_messaging/v1/service/__init__.py index c07b4cc25..f70358dad 100644 --- a/twilio/rest/ip_messaging/v1/service/__init__.py +++ b/twilio/rest/ip_messaging/v1/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -27,7 +26,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: :ivar account_sid: diff --git a/twilio/rest/ip_messaging/v1/service/channel/__init__.py b/twilio/rest/ip_messaging/v1/service/channel/__init__.py index 32961bcff..343f744df 100644 --- a/twilio/rest/ip_messaging/v1/service/channel/__init__.py +++ b/twilio/rest/ip_messaging/v1/service/channel/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/ip_messaging/v1/service/channel/invite.py b/twilio/rest/ip_messaging/v1/service/channel/invite.py index 476e89f4c..b76f91fac 100644 --- a/twilio/rest/ip_messaging/v1/service/channel/invite.py +++ b/twilio/rest/ip_messaging/v1/service/channel/invite.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class InviteInstance(InstanceResource): - """ :ivar sid: :ivar account_sid: diff --git a/twilio/rest/ip_messaging/v1/service/channel/member.py b/twilio/rest/ip_messaging/v1/service/channel/member.py index 2414e72c9..4bc382774 100644 --- a/twilio/rest/ip_messaging/v1/service/channel/member.py +++ b/twilio/rest/ip_messaging/v1/service/channel/member.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class MemberInstance(InstanceResource): - """ :ivar sid: :ivar account_sid: @@ -64,9 +62,9 @@ def __init__( self.last_consumed_message_index: Optional[int] = deserialize.integer( payload.get("last_consumed_message_index") ) - self.last_consumption_timestamp: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("last_consumption_timestamp")) + self.last_consumption_timestamp: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("last_consumption_timestamp")) + ) self.url: Optional[str] = payload.get("url") self._solution = { diff --git a/twilio/rest/ip_messaging/v1/service/channel/message.py b/twilio/rest/ip_messaging/v1/service/channel/message.py index e562faafb..c5e597377 100644 --- a/twilio/rest/ip_messaging/v1/service/channel/message.py +++ b/twilio/rest/ip_messaging/v1/service/channel/message.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/ip_messaging/v1/service/role.py b/twilio/rest/ip_messaging/v1/service/role.py index e637e2c90..05234ed2e 100644 --- a/twilio/rest/ip_messaging/v1/service/role.py +++ b/twilio/rest/ip_messaging/v1/service/role.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/ip_messaging/v1/service/user/__init__.py b/twilio/rest/ip_messaging/v1/service/user/__init__.py index e19eb82be..76888f912 100644 --- a/twilio/rest/ip_messaging/v1/service/user/__init__.py +++ b/twilio/rest/ip_messaging/v1/service/user/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class UserInstance(InstanceResource): - """ :ivar sid: :ivar account_sid: diff --git a/twilio/rest/ip_messaging/v1/service/user/user_channel.py b/twilio/rest/ip_messaging/v1/service/user/user_channel.py index 4d00fa50c..8286725e6 100644 --- a/twilio/rest/ip_messaging/v1/service/user/user_channel.py +++ b/twilio/rest/ip_messaging/v1/service/user/user_channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/ip_messaging/v2/credential.py b/twilio/rest/ip_messaging/v2/credential.py index 3d72b3a0d..93f54df5f 100644 --- a/twilio/rest/ip_messaging/v2/credential.py +++ b/twilio/rest/ip_messaging/v2/credential.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/ip_messaging/v2/service/__init__.py b/twilio/rest/ip_messaging/v2/service/__init__.py index b94def1fa..8bea3947c 100644 --- a/twilio/rest/ip_messaging/v2/service/__init__.py +++ b/twilio/rest/ip_messaging/v2/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -28,7 +27,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: :ivar account_sid: diff --git a/twilio/rest/ip_messaging/v2/service/binding.py b/twilio/rest/ip_messaging/v2/service/binding.py index 70dbc78fb..dcc7e93d7 100644 --- a/twilio/rest/ip_messaging/v2/service/binding.py +++ b/twilio/rest/ip_messaging/v2/service/binding.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/ip_messaging/v2/service/channel/__init__.py b/twilio/rest/ip_messaging/v2/service/channel/__init__.py index 6e62c3109..1eda6522f 100644 --- a/twilio/rest/ip_messaging/v2/service/channel/__init__.py +++ b/twilio/rest/ip_messaging/v2/service/channel/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/ip_messaging/v2/service/channel/invite.py b/twilio/rest/ip_messaging/v2/service/channel/invite.py index aeb07b7b9..ab862e72c 100644 --- a/twilio/rest/ip_messaging/v2/service/channel/invite.py +++ b/twilio/rest/ip_messaging/v2/service/channel/invite.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class InviteInstance(InstanceResource): - """ :ivar sid: :ivar account_sid: diff --git a/twilio/rest/ip_messaging/v2/service/channel/member.py b/twilio/rest/ip_messaging/v2/service/channel/member.py index 823c37b6d..9c50f8d56 100644 --- a/twilio/rest/ip_messaging/v2/service/channel/member.py +++ b/twilio/rest/ip_messaging/v2/service/channel/member.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -68,9 +67,9 @@ def __init__( self.last_consumed_message_index: Optional[int] = deserialize.integer( payload.get("last_consumed_message_index") ) - self.last_consumption_timestamp: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("last_consumption_timestamp")) + self.last_consumption_timestamp: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("last_consumption_timestamp")) + ) self.url: Optional[str] = payload.get("url") self.attributes: Optional[str] = payload.get("attributes") diff --git a/twilio/rest/ip_messaging/v2/service/channel/message.py b/twilio/rest/ip_messaging/v2/service/channel/message.py index c2401c53f..d0d5ceca7 100644 --- a/twilio/rest/ip_messaging/v2/service/channel/message.py +++ b/twilio/rest/ip_messaging/v2/service/channel/message.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/ip_messaging/v2/service/channel/webhook.py b/twilio/rest/ip_messaging/v2/service/channel/webhook.py index 077bbfa8e..bf02e7c63 100644 --- a/twilio/rest/ip_messaging/v2/service/channel/webhook.py +++ b/twilio/rest/ip_messaging/v2/service/channel/webhook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/ip_messaging/v2/service/role.py b/twilio/rest/ip_messaging/v2/service/role.py index c8e3b9561..bb816fd5f 100644 --- a/twilio/rest/ip_messaging/v2/service/role.py +++ b/twilio/rest/ip_messaging/v2/service/role.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/ip_messaging/v2/service/user/__init__.py b/twilio/rest/ip_messaging/v2/service/user/__init__.py index 1f1179387..6d87f2b71 100644 --- a/twilio/rest/ip_messaging/v2/service/user/__init__.py +++ b/twilio/rest/ip_messaging/v2/service/user/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/ip_messaging/v2/service/user/user_binding.py b/twilio/rest/ip_messaging/v2/service/user/user_binding.py index c2e389fc9..9ff3bb9e0 100644 --- a/twilio/rest/ip_messaging/v2/service/user/user_binding.py +++ b/twilio/rest/ip_messaging/v2/service/user/user_binding.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/ip_messaging/v2/service/user/user_channel.py b/twilio/rest/ip_messaging/v2/service/user/user_channel.py index 51239956f..cb7f1a4fc 100644 --- a/twilio/rest/ip_messaging/v2/service/user/user_channel.py +++ b/twilio/rest/ip_messaging/v2/service/user/user_channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -73,9 +72,9 @@ def __init__( ) self.links: Optional[Dict[str, object]] = payload.get("links") self.url: Optional[str] = payload.get("url") - self.notification_level: Optional[ - "UserChannelInstance.NotificationLevel" - ] = payload.get("notification_level") + self.notification_level: Optional["UserChannelInstance.NotificationLevel"] = ( + payload.get("notification_level") + ) self._solution = { "service_sid": service_sid, diff --git a/twilio/rest/lookups/v1/phone_number.py b/twilio/rest/lookups/v1/phone_number.py index f38a5c9f0..b5d8c8351 100644 --- a/twilio/rest/lookups/v1/phone_number.py +++ b/twilio/rest/lookups/v1/phone_number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class PhoneNumberInstance(InstanceResource): - """ :ivar caller_name: The name of the phone number's owner. If `null`, that information was not available. :ivar country_code: The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) for the phone number. diff --git a/twilio/rest/lookups/v2/phone_number.py b/twilio/rest/lookups/v2/phone_number.py index 3a3640fbe..f72f112f2 100644 --- a/twilio/rest/lookups/v2/phone_number.py +++ b/twilio/rest/lookups/v2/phone_number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/media/v1/media_processor.py b/twilio/rest/media/v1/media_processor.py index 16ac32aa2..a55c80db9 100644 --- a/twilio/rest/media/v1/media_processor.py +++ b/twilio/rest/media/v1/media_processor.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/media/v1/media_recording.py b/twilio/rest/media/v1/media_recording.py index 16d47af34..837845306 100644 --- a/twilio/rest/media/v1/media_recording.py +++ b/twilio/rest/media/v1/media_recording.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/media/v1/player_streamer/__init__.py b/twilio/rest/media/v1/player_streamer/__init__.py index 6bc535cdf..e25fc3f4a 100644 --- a/twilio/rest/media/v1/player_streamer/__init__.py +++ b/twilio/rest/media/v1/player_streamer/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/media/v1/player_streamer/playback_grant.py b/twilio/rest/media/v1/player_streamer/playback_grant.py index 4ea581b47..2aa42efad 100644 --- a/twilio/rest/media/v1/player_streamer/playback_grant.py +++ b/twilio/rest/media/v1/player_streamer/playback_grant.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class PlaybackGrantInstance(InstanceResource): - """ :ivar sid: The unique string generated to identify the PlayerStreamer resource that this PlaybackGrant authorizes views for. :ivar url: The absolute URL of the resource. diff --git a/twilio/rest/messaging/v1/brand_registration/__init__.py b/twilio/rest/messaging/v1/brand_registration/__init__.py index 68a669e3c..54be98b15 100644 --- a/twilio/rest/messaging/v1/brand_registration/__init__.py +++ b/twilio/rest/messaging/v1/brand_registration/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -103,9 +102,9 @@ def __init__( self.brand_feedback: Optional[ List["BrandRegistrationInstance.BrandFeedback"] ] = payload.get("brand_feedback") - self.identity_status: Optional[ - "BrandRegistrationInstance.IdentityStatus" - ] = payload.get("identity_status") + self.identity_status: Optional["BrandRegistrationInstance.IdentityStatus"] = ( + payload.get("identity_status") + ) self.russell_3000: Optional[bool] = payload.get("russell_3000") self.government_entity: Optional[bool] = payload.get("government_entity") self.tax_exempt_status: Optional[str] = payload.get("tax_exempt_status") diff --git a/twilio/rest/messaging/v1/brand_registration/brand_registration_otp.py b/twilio/rest/messaging/v1/brand_registration/brand_registration_otp.py index 3cc7d364b..676d11660 100644 --- a/twilio/rest/messaging/v1/brand_registration/brand_registration_otp.py +++ b/twilio/rest/messaging/v1/brand_registration/brand_registration_otp.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class BrandRegistrationOtpInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Brand Registration resource. :ivar brand_registration_sid: The unique string to identify Brand Registration of Sole Proprietor Brand diff --git a/twilio/rest/messaging/v1/brand_registration/brand_vetting.py b/twilio/rest/messaging/v1/brand_registration/brand_vetting.py index 2fff9ebbe..6517d0860 100644 --- a/twilio/rest/messaging/v1/brand_registration/brand_vetting.py +++ b/twilio/rest/messaging/v1/brand_registration/brand_vetting.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -61,9 +60,9 @@ def __init__( self.vetting_id: Optional[str] = payload.get("vetting_id") self.vetting_class: Optional[str] = payload.get("vetting_class") self.vetting_status: Optional[str] = payload.get("vetting_status") - self.vetting_provider: Optional[ - "BrandVettingInstance.VettingProvider" - ] = payload.get("vetting_provider") + self.vetting_provider: Optional["BrandVettingInstance.VettingProvider"] = ( + payload.get("vetting_provider") + ) self.url: Optional[str] = payload.get("url") self._solution = { diff --git a/twilio/rest/messaging/v1/deactivations.py b/twilio/rest/messaging/v1/deactivations.py index 972ee62e3..9081be42a 100644 --- a/twilio/rest/messaging/v1/deactivations.py +++ b/twilio/rest/messaging/v1/deactivations.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from typing import Any, Dict, Optional, Union from twilio.base import serialize, values @@ -23,7 +22,6 @@ class DeactivationsInstance(InstanceResource): - """ :ivar redirect_to: Returns an authenticated url that redirects to a file containing the deactivated numbers for the requested day. This url is valid for up to two minutes. """ diff --git a/twilio/rest/messaging/v1/domain_certs.py b/twilio/rest/messaging/v1/domain_certs.py index 71ef3105b..e5586d238 100644 --- a/twilio/rest/messaging/v1/domain_certs.py +++ b/twilio/rest/messaging/v1/domain_certs.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class DomainCertsInstance(InstanceResource): - """ :ivar domain_sid: The unique string that we created to identify the Domain resource. :ivar date_updated: Date that this Domain was last updated. diff --git a/twilio/rest/messaging/v1/domain_config.py b/twilio/rest/messaging/v1/domain_config.py index fa8a65912..048ad7952 100644 --- a/twilio/rest/messaging/v1/domain_config.py +++ b/twilio/rest/messaging/v1/domain_config.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class DomainConfigInstance(InstanceResource): - """ :ivar domain_sid: The unique string that we created to identify the Domain resource. :ivar config_sid: The unique string that we created to identify the Domain config (prefix ZK). diff --git a/twilio/rest/messaging/v1/domain_config_messaging_service.py b/twilio/rest/messaging/v1/domain_config_messaging_service.py index 8cded6fb4..864e487bd 100644 --- a/twilio/rest/messaging/v1/domain_config_messaging_service.py +++ b/twilio/rest/messaging/v1/domain_config_messaging_service.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize @@ -23,7 +22,6 @@ class DomainConfigMessagingServiceInstance(InstanceResource): - """ :ivar domain_sid: The unique string that we created to identify the Domain resource. :ivar config_sid: The unique string that we created to identify the Domain config (prefix ZK). diff --git a/twilio/rest/messaging/v1/external_campaign.py b/twilio/rest/messaging/v1/external_campaign.py index 53af9869d..a57261c5a 100644 --- a/twilio/rest/messaging/v1/external_campaign.py +++ b/twilio/rest/messaging/v1/external_campaign.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class ExternalCampaignInstance(InstanceResource): - """ :ivar sid: The unique string that identifies a US A2P Compliance resource `QE2c6890da8086d771620e9b13fadeba0b`. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the Campaign belongs to. diff --git a/twilio/rest/messaging/v1/linkshortening_messaging_service.py b/twilio/rest/messaging/v1/linkshortening_messaging_service.py index c5b20e28a..8c1475da9 100644 --- a/twilio/rest/messaging/v1/linkshortening_messaging_service.py +++ b/twilio/rest/messaging/v1/linkshortening_messaging_service.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class LinkshorteningMessagingServiceInstance(InstanceResource): - """ :ivar domain_sid: The unique string identifies the domain resource :ivar messaging_service_sid: The unique string that identifies the messaging service diff --git a/twilio/rest/messaging/v1/linkshortening_messaging_service_domain_association.py b/twilio/rest/messaging/v1/linkshortening_messaging_service_domain_association.py index 37e9e7a86..1ec176e0c 100644 --- a/twilio/rest/messaging/v1/linkshortening_messaging_service_domain_association.py +++ b/twilio/rest/messaging/v1/linkshortening_messaging_service_domain_association.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class LinkshorteningMessagingServiceDomainAssociationInstance(InstanceResource): - """ :ivar domain_sid: The unique string that we created to identify the Domain resource. :ivar messaging_service_sid: The unique string that identifies the messaging service diff --git a/twilio/rest/messaging/v1/service/__init__.py b/twilio/rest/messaging/v1/service/__init__.py index d1772d7d7..24d707579 100644 --- a/twilio/rest/messaging/v1/service/__init__.py +++ b/twilio/rest/messaging/v1/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -85,9 +84,9 @@ def __init__( self.sticky_sender: Optional[bool] = payload.get("sticky_sender") self.mms_converter: Optional[bool] = payload.get("mms_converter") self.smart_encoding: Optional[bool] = payload.get("smart_encoding") - self.scan_message_content: Optional[ - "ServiceInstance.ScanMessageContent" - ] = payload.get("scan_message_content") + self.scan_message_content: Optional["ServiceInstance.ScanMessageContent"] = ( + payload.get("scan_message_content") + ) self.fallback_to_long_code: Optional[bool] = payload.get( "fallback_to_long_code" ) diff --git a/twilio/rest/messaging/v1/service/alpha_sender.py b/twilio/rest/messaging/v1/service/alpha_sender.py index 92d81e9fc..77a1e4e37 100644 --- a/twilio/rest/messaging/v1/service/alpha_sender.py +++ b/twilio/rest/messaging/v1/service/alpha_sender.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class AlphaSenderInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the AlphaSender resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AlphaSender resource. diff --git a/twilio/rest/messaging/v1/service/channel_sender.py b/twilio/rest/messaging/v1/service/channel_sender.py index 579c6d39f..c165e64d6 100644 --- a/twilio/rest/messaging/v1/service/channel_sender.py +++ b/twilio/rest/messaging/v1/service/channel_sender.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ChannelSenderInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ChannelSender resource. :ivar messaging_service_sid: The SID of the [Service](https://www.twilio.com/docs/messaging/services) the resource is associated with. diff --git a/twilio/rest/messaging/v1/service/phone_number.py b/twilio/rest/messaging/v1/service/phone_number.py index c01c76a3b..4252b40b1 100644 --- a/twilio/rest/messaging/v1/service/phone_number.py +++ b/twilio/rest/messaging/v1/service/phone_number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class PhoneNumberInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the PhoneNumber resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the PhoneNumber resource. diff --git a/twilio/rest/messaging/v1/service/short_code.py b/twilio/rest/messaging/v1/service/short_code.py index 104f03f6e..ca3b0d749 100644 --- a/twilio/rest/messaging/v1/service/short_code.py +++ b/twilio/rest/messaging/v1/service/short_code.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ShortCodeInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the ShortCode resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource. diff --git a/twilio/rest/messaging/v1/service/us_app_to_person.py b/twilio/rest/messaging/v1/service/us_app_to_person.py index 7ccb53431..6cae9d709 100644 --- a/twilio/rest/messaging/v1/service/us_app_to_person.py +++ b/twilio/rest/messaging/v1/service/us_app_to_person.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class UsAppToPersonInstance(InstanceResource): - """ :ivar sid: The unique string that identifies a US A2P Compliance resource `QE2c6890da8086d771620e9b13fadeba0b`. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the Campaign belongs to. diff --git a/twilio/rest/messaging/v1/service/us_app_to_person_usecase.py b/twilio/rest/messaging/v1/service/us_app_to_person_usecase.py index 0c25e6892..2d77f51be 100644 --- a/twilio/rest/messaging/v1/service/us_app_to_person_usecase.py +++ b/twilio/rest/messaging/v1/service/us_app_to_person_usecase.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class UsAppToPersonUsecaseInstance(InstanceResource): - """ :ivar us_app_to_person_usecases: Human readable name, code, description and post_approval_required (indicates whether or not post approval is required for this Use Case) of A2P Campaign Use Cases. """ diff --git a/twilio/rest/messaging/v1/tollfree_verification.py b/twilio/rest/messaging/v1/tollfree_verification.py index 47b73d7da..b8ec79f00 100644 --- a/twilio/rest/messaging/v1/tollfree_verification.py +++ b/twilio/rest/messaging/v1/tollfree_verification.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -126,9 +125,9 @@ def __init__( "production_message_sample" ) self.opt_in_image_urls: Optional[List[str]] = payload.get("opt_in_image_urls") - self.opt_in_type: Optional[ - "TollfreeVerificationInstance.OptInType" - ] = payload.get("opt_in_type") + self.opt_in_type: Optional["TollfreeVerificationInstance.OptInType"] = ( + payload.get("opt_in_type") + ) self.message_volume: Optional[str] = payload.get("message_volume") self.additional_information: Optional[str] = payload.get( "additional_information" diff --git a/twilio/rest/messaging/v1/usecase.py b/twilio/rest/messaging/v1/usecase.py index ba65e8b10..0b35400e4 100644 --- a/twilio/rest/messaging/v1/usecase.py +++ b/twilio/rest/messaging/v1/usecase.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class UsecaseInstance(InstanceResource): - """ :ivar usecases: Human readable use case details (usecase, description and purpose) of Messaging Service Use Cases. """ diff --git a/twilio/rest/microvisor/v1/account_config.py b/twilio/rest/microvisor/v1/account_config.py index 7d8119a3d..03198f6f6 100644 --- a/twilio/rest/microvisor/v1/account_config.py +++ b/twilio/rest/microvisor/v1/account_config.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class AccountConfigInstance(InstanceResource): - """ :ivar key: The config key; up to 100 characters. :ivar date_updated: diff --git a/twilio/rest/microvisor/v1/account_secret.py b/twilio/rest/microvisor/v1/account_secret.py index a7fc4f896..d4012b3b1 100644 --- a/twilio/rest/microvisor/v1/account_secret.py +++ b/twilio/rest/microvisor/v1/account_secret.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class AccountSecretInstance(InstanceResource): - """ :ivar key: The secret key; up to 100 characters. :ivar date_rotated: diff --git a/twilio/rest/microvisor/v1/app/__init__.py b/twilio/rest/microvisor/v1/app/__init__.py index e9f547af7..517e523c7 100644 --- a/twilio/rest/microvisor/v1/app/__init__.py +++ b/twilio/rest/microvisor/v1/app/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class AppInstance(InstanceResource): - """ :ivar sid: A 34-character string that uniquely identifies this App. :ivar account_sid: The unique SID identifier of the Account. diff --git a/twilio/rest/microvisor/v1/app/app_manifest.py b/twilio/rest/microvisor/v1/app/app_manifest.py index dba0240e9..143154b32 100644 --- a/twilio/rest/microvisor/v1/app/app_manifest.py +++ b/twilio/rest/microvisor/v1/app/app_manifest.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class AppManifestInstance(InstanceResource): - """ :ivar app_sid: A 34-character string that uniquely identifies this App. :ivar hash: App manifest hash represented as `hash_algorithm:hash_value`. diff --git a/twilio/rest/microvisor/v1/device/__init__.py b/twilio/rest/microvisor/v1/device/__init__.py index e3023ae49..0a6bea2d6 100644 --- a/twilio/rest/microvisor/v1/device/__init__.py +++ b/twilio/rest/microvisor/v1/device/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -26,7 +25,6 @@ class DeviceInstance(InstanceResource): - """ :ivar sid: A 34-character string that uniquely identifies this Device. :ivar unique_name: A developer-defined string that uniquely identifies the Device. This value must be unique for all Devices on this Account. The `unique_name` value may be used as an alternative to the `sid` in the URL path to address the resource. diff --git a/twilio/rest/microvisor/v1/device/device_config.py b/twilio/rest/microvisor/v1/device/device_config.py index a954727bf..0b027ecb5 100644 --- a/twilio/rest/microvisor/v1/device/device_config.py +++ b/twilio/rest/microvisor/v1/device/device_config.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class DeviceConfigInstance(InstanceResource): - """ :ivar device_sid: A 34-character string that uniquely identifies the parent Device. :ivar key: The config key; up to 100 characters. diff --git a/twilio/rest/microvisor/v1/device/device_secret.py b/twilio/rest/microvisor/v1/device/device_secret.py index 7f2ee0eeb..2f1f1add7 100644 --- a/twilio/rest/microvisor/v1/device/device_secret.py +++ b/twilio/rest/microvisor/v1/device/device_secret.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class DeviceSecretInstance(InstanceResource): - """ :ivar device_sid: A 34-character string that uniquely identifies the parent Device. :ivar key: The secret key; up to 100 characters. diff --git a/twilio/rest/monitor/v1/alert.py b/twilio/rest/monitor/v1/alert.py index b3c44374e..e531f58e7 100644 --- a/twilio/rest/monitor/v1/alert.py +++ b/twilio/rest/monitor/v1/alert.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class AlertInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Alert resource. :ivar alert_text: The text of the alert. diff --git a/twilio/rest/monitor/v1/event.py b/twilio/rest/monitor/v1/event.py index 63829c43e..7a810bd6c 100644 --- a/twilio/rest/monitor/v1/event.py +++ b/twilio/rest/monitor/v1/event.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class EventInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Event resource. :ivar actor_sid: The SID of the actor that caused the event, if available. Can be `null`. diff --git a/twilio/rest/notify/v1/credential.py b/twilio/rest/notify/v1/credential.py index 2b1efcf82..bd895da81 100644 --- a/twilio/rest/notify/v1/credential.py +++ b/twilio/rest/notify/v1/credential.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/notify/v1/service/__init__.py b/twilio/rest/notify/v1/service/__init__.py index fa0704547..7a9f3f730 100644 --- a/twilio/rest/notify/v1/service/__init__.py +++ b/twilio/rest/notify/v1/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -26,7 +25,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Service resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Service resource. diff --git a/twilio/rest/notify/v1/service/binding.py b/twilio/rest/notify/v1/service/binding.py index dba36be72..52a800f33 100644 --- a/twilio/rest/notify/v1/service/binding.py +++ b/twilio/rest/notify/v1/service/binding.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date, datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/notify/v1/service/notification.py b/twilio/rest/notify/v1/service/notification.py index 980dbe633..5d5106b2c 100644 --- a/twilio/rest/notify/v1/service/notification.py +++ b/twilio/rest/notify/v1/service/notification.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/numbers/v1/bulk_eligibility.py b/twilio/rest/numbers/v1/bulk_eligibility.py index 805f6b1bd..acd8d3ecf 100644 --- a/twilio/rest/numbers/v1/bulk_eligibility.py +++ b/twilio/rest/numbers/v1/bulk_eligibility.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional from twilio.base import deserialize @@ -23,7 +22,6 @@ class BulkEligibilityInstance(InstanceResource): - """ :ivar request_id: The SID of the bulk eligibility check that you want to know about. :ivar url: This is the url of the request that you're trying to reach out to locate the resource. diff --git a/twilio/rest/numbers/v1/porting_bulk_portability.py b/twilio/rest/numbers/v1/porting_bulk_portability.py index 3abc24b6e..20e47ca6d 100644 --- a/twilio/rest/numbers/v1/porting_bulk_portability.py +++ b/twilio/rest/numbers/v1/porting_bulk_portability.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/numbers/v1/porting_portability.py b/twilio/rest/numbers/v1/porting_portability.py index cb08535d1..c2f3398c8 100644 --- a/twilio/rest/numbers/v1/porting_portability.py +++ b/twilio/rest/numbers/v1/porting_portability.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -60,9 +59,9 @@ def __init__( self.not_portable_reason_code: Optional[int] = deserialize.integer( payload.get("not_portable_reason_code") ) - self.number_type: Optional[ - "PortingPortabilityInstance.NumberType" - ] = payload.get("number_type") + self.number_type: Optional["PortingPortabilityInstance.NumberType"] = ( + payload.get("number_type") + ) self.country: Optional[str] = payload.get("country") self.messaging_carrier: Optional[str] = payload.get("messaging_carrier") self.voice_carrier: Optional[str] = payload.get("voice_carrier") diff --git a/twilio/rest/numbers/v2/authorization_document/__init__.py b/twilio/rest/numbers/v2/authorization_document/__init__.py index f8ac50dcc..2456debf6 100644 --- a/twilio/rest/numbers/v2/authorization_document/__init__.py +++ b/twilio/rest/numbers/v2/authorization_document/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/numbers/v2/authorization_document/dependent_hosted_number_order.py b/twilio/rest/numbers/v2/authorization_document/dependent_hosted_number_order.py index 51587325c..013b12874 100644 --- a/twilio/rest/numbers/v2/authorization_document/dependent_hosted_number_order.py +++ b/twilio/rest/numbers/v2/authorization_document/dependent_hosted_number_order.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -73,9 +72,9 @@ def __init__( self.phone_number: Optional[str] = payload.get("phone_number") self.capabilities: Optional[str] = payload.get("capabilities") self.friendly_name: Optional[str] = payload.get("friendly_name") - self.status: Optional[ - "DependentHostedNumberOrderInstance.Status" - ] = payload.get("status") + self.status: Optional["DependentHostedNumberOrderInstance.Status"] = ( + payload.get("status") + ) self.failure_reason: Optional[str] = payload.get("failure_reason") self.date_created: Optional[datetime] = deserialize.iso8601_datetime( payload.get("date_created") diff --git a/twilio/rest/numbers/v2/bulk_hosted_number_order.py b/twilio/rest/numbers/v2/bulk_hosted_number_order.py index 57e8723e7..3a7383904 100644 --- a/twilio/rest/numbers/v2/bulk_hosted_number_order.py +++ b/twilio/rest/numbers/v2/bulk_hosted_number_order.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values @@ -49,9 +48,9 @@ def __init__( super().__init__(version) self.bulk_hosting_sid: Optional[str] = payload.get("bulk_hosting_sid") - self.request_status: Optional[ - "BulkHostedNumberOrderInstance.RequestStatus" - ] = payload.get("request_status") + self.request_status: Optional["BulkHostedNumberOrderInstance.RequestStatus"] = ( + payload.get("request_status") + ) self.friendly_name: Optional[str] = payload.get("friendly_name") self.notification_email: Optional[str] = payload.get("notification_email") self.date_created: Optional[datetime] = deserialize.iso8601_datetime( diff --git a/twilio/rest/numbers/v2/hosted_number_order.py b/twilio/rest/numbers/v2/hosted_number_order.py index 813b9b482..985faa1f1 100644 --- a/twilio/rest/numbers/v2/hosted_number_order.py +++ b/twilio/rest/numbers/v2/hosted_number_order.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/numbers/v2/regulatory_compliance/__init__.py b/twilio/rest/numbers/v2/regulatory_compliance/__init__.py index 9afca8a97..10d88d813 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/__init__.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/numbers/v2/regulatory_compliance/bundle/__init__.py b/twilio/rest/numbers/v2/regulatory_compliance/bundle/__init__.py index ff7b1d7c0..684259fc9 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/bundle/__init__.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/bundle/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.py b/twilio/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.py index 5a0cf036b..9af90f46d 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/numbers/v2/regulatory_compliance/bundle/evaluation.py b/twilio/rest/numbers/v2/regulatory_compliance/bundle/evaluation.py index 53ad9d769..8bfeae12e 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/bundle/evaluation.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/bundle/evaluation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.py b/twilio/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.py index f5f36206b..1483cdb36 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ItemAssignmentInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Item Assignment resource. :ivar bundle_sid: The unique string that we created to identify the Bundle resource. diff --git a/twilio/rest/numbers/v2/regulatory_compliance/bundle/replace_items.py b/twilio/rest/numbers/v2/regulatory_compliance/bundle/replace_items.py index e8ab99ad7..fcf31e953 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/bundle/replace_items.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/bundle/replace_items.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize, values diff --git a/twilio/rest/numbers/v2/regulatory_compliance/end_user.py b/twilio/rest/numbers/v2/regulatory_compliance/end_user.py index f9bc9d270..bbc133b33 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/end_user.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/end_user.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/numbers/v2/regulatory_compliance/end_user_type.py b/twilio/rest/numbers/v2/regulatory_compliance/end_user_type.py index 0a762cea3..f9b8069ee 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/end_user_type.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/end_user_type.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class EndUserTypeInstance(InstanceResource): - """ :ivar sid: The unique string that identifies the End-User Type resource. :ivar friendly_name: A human-readable description that is assigned to describe the End-User Type resource. Examples can include first name, last name, email, business name, etc diff --git a/twilio/rest/numbers/v2/regulatory_compliance/regulation.py b/twilio/rest/numbers/v2/regulatory_compliance/regulation.py index ab0bf1a33..2698bf0b4 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/regulation.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/regulation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/numbers/v2/regulatory_compliance/supporting_document.py b/twilio/rest/numbers/v2/regulatory_compliance/supporting_document.py index e619ecdc2..236139eee 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/supporting_document.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/supporting_document.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/numbers/v2/regulatory_compliance/supporting_document_type.py b/twilio/rest/numbers/v2/regulatory_compliance/supporting_document_type.py index 65c097b99..907cc1924 100644 --- a/twilio/rest/numbers/v2/regulatory_compliance/supporting_document_type.py +++ b/twilio/rest/numbers/v2/regulatory_compliance/supporting_document_type.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class SupportingDocumentTypeInstance(InstanceResource): - """ :ivar sid: The unique string that identifies the Supporting Document Type resource. :ivar friendly_name: A human-readable description of the Supporting Document Type resource. diff --git a/twilio/rest/oauth/v1/device_code.py b/twilio/rest/oauth/v1/device_code.py index ed0998ee9..a50af2cad 100644 --- a/twilio/rest/oauth/v1/device_code.py +++ b/twilio/rest/oauth/v1/device_code.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, serialize, values @@ -22,7 +21,6 @@ class DeviceCodeInstance(InstanceResource): - """ :ivar device_code: The device verification code. :ivar user_code: The verification code which end user uses to verify authorization request. diff --git a/twilio/rest/oauth/v1/oauth.py b/twilio/rest/oauth/v1/oauth.py index 3765b6518..5a45ae9d9 100644 --- a/twilio/rest/oauth/v1/oauth.py +++ b/twilio/rest/oauth/v1/oauth.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class OauthInstance(InstanceResource): - """ :ivar keys: A collection of certificates where are signed Twilio-issued tokens. :ivar url: diff --git a/twilio/rest/oauth/v1/openid_discovery.py b/twilio/rest/oauth/v1/openid_discovery.py index 00a551a2f..242f3b6d7 100644 --- a/twilio/rest/oauth/v1/openid_discovery.py +++ b/twilio/rest/oauth/v1/openid_discovery.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class OpenidDiscoveryInstance(InstanceResource): - """ :ivar issuer: The URL of the party that will create the token and sign it with its private key. :ivar authorization_endpoint: The endpoint that validates all authorization requests. diff --git a/twilio/rest/oauth/v1/token.py b/twilio/rest/oauth/v1/token.py index d236731a9..d3fd5888a 100644 --- a/twilio/rest/oauth/v1/token.py +++ b/twilio/rest/oauth/v1/token.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class TokenInstance(InstanceResource): - """ :ivar access_token: Token which carries the necessary information to access a Twilio resource directly. :ivar refresh_token: Token which carries the information necessary to get a new access token. @@ -38,9 +36,9 @@ def __init__(self, version: Version, payload: Dict[str, Any]): self.access_token: Optional[str] = payload.get("access_token") self.refresh_token: Optional[str] = payload.get("refresh_token") self.id_token: Optional[str] = payload.get("id_token") - self.refresh_token_expires_at: Optional[ - datetime - ] = deserialize.iso8601_datetime(payload.get("refresh_token_expires_at")) + self.refresh_token_expires_at: Optional[datetime] = ( + deserialize.iso8601_datetime(payload.get("refresh_token_expires_at")) + ) self.access_token_expires_at: Optional[datetime] = deserialize.iso8601_datetime( payload.get("access_token_expires_at") ) diff --git a/twilio/rest/oauth/v1/user_info.py b/twilio/rest/oauth/v1/user_info.py index f7b7f0f5d..e59ab8b0c 100644 --- a/twilio/rest/oauth/v1/user_info.py +++ b/twilio/rest/oauth/v1/user_info.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class UserInfoInstance(InstanceResource): - """ :ivar user_sid: The URL of the party that will create the token and sign it with its private key. :ivar first_name: The first name of the end-user. diff --git a/twilio/rest/preview/deployed_devices/fleet/__init__.py b/twilio/rest/preview/deployed_devices/fleet/__init__.py index cb0c45498..1b6687963 100644 --- a/twilio/rest/preview/deployed_devices/fleet/__init__.py +++ b/twilio/rest/preview/deployed_devices/fleet/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -28,7 +27,6 @@ class FleetInstance(InstanceResource): - """ :ivar sid: Contains a 34 character string that uniquely identifies this Fleet resource. :ivar url: Contains an absolute URL for this Fleet resource. diff --git a/twilio/rest/preview/deployed_devices/fleet/certificate.py b/twilio/rest/preview/deployed_devices/fleet/certificate.py index a6654de67..8b3a678d7 100644 --- a/twilio/rest/preview/deployed_devices/fleet/certificate.py +++ b/twilio/rest/preview/deployed_devices/fleet/certificate.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class CertificateInstance(InstanceResource): - """ :ivar sid: Contains a 34 character string that uniquely identifies this Certificate credential resource. :ivar url: Contains an absolute URL for this Certificate credential resource. diff --git a/twilio/rest/preview/deployed_devices/fleet/deployment.py b/twilio/rest/preview/deployed_devices/fleet/deployment.py index 5dbda65c6..744867883 100644 --- a/twilio/rest/preview/deployed_devices/fleet/deployment.py +++ b/twilio/rest/preview/deployed_devices/fleet/deployment.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class DeploymentInstance(InstanceResource): - """ :ivar sid: Contains a 34 character string that uniquely identifies this Deployment resource. :ivar url: Contains an absolute URL for this Deployment resource. diff --git a/twilio/rest/preview/deployed_devices/fleet/device.py b/twilio/rest/preview/deployed_devices/fleet/device.py index afaa0fce2..554e257ed 100644 --- a/twilio/rest/preview/deployed_devices/fleet/device.py +++ b/twilio/rest/preview/deployed_devices/fleet/device.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class DeviceInstance(InstanceResource): - """ :ivar sid: Contains a 34 character string that uniquely identifies this Device resource. :ivar url: Contains an absolute URL for this Device resource. diff --git a/twilio/rest/preview/deployed_devices/fleet/key.py b/twilio/rest/preview/deployed_devices/fleet/key.py index 9bcfd8fb0..dd96745e9 100644 --- a/twilio/rest/preview/deployed_devices/fleet/key.py +++ b/twilio/rest/preview/deployed_devices/fleet/key.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class KeyInstance(InstanceResource): - """ :ivar sid: Contains a 34 character string that uniquely identifies this Key credential resource. :ivar url: Contains an absolute URL for this Key credential resource. diff --git a/twilio/rest/preview/hosted_numbers/authorization_document/__init__.py b/twilio/rest/preview/hosted_numbers/authorization_document/__init__.py index 1cab77127..9eaf9674b 100644 --- a/twilio/rest/preview/hosted_numbers/authorization_document/__init__.py +++ b/twilio/rest/preview/hosted_numbers/authorization_document/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.py b/twilio/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.py index 4931d54c6..cf9b97577 100644 --- a/twilio/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.py +++ b/twilio/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -80,9 +79,9 @@ def __init__( self.capabilities: Optional[str] = payload.get("capabilities") self.friendly_name: Optional[str] = payload.get("friendly_name") self.unique_name: Optional[str] = payload.get("unique_name") - self.status: Optional[ - "DependentHostedNumberOrderInstance.Status" - ] = payload.get("status") + self.status: Optional["DependentHostedNumberOrderInstance.Status"] = ( + payload.get("status") + ) self.failure_reason: Optional[str] = payload.get("failure_reason") self.date_created: Optional[datetime] = deserialize.iso8601_datetime( payload.get("date_created") diff --git a/twilio/rest/preview/hosted_numbers/hosted_number_order.py b/twilio/rest/preview/hosted_numbers/hosted_number_order.py index 392720248..d3a32b684 100644 --- a/twilio/rest/preview/hosted_numbers/hosted_number_order.py +++ b/twilio/rest/preview/hosted_numbers/hosted_number_order.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/preview/marketplace/available_add_on/__init__.py b/twilio/rest/preview/marketplace/available_add_on/__init__.py index 776a33e9d..520cb0fbd 100644 --- a/twilio/rest/preview/marketplace/available_add_on/__init__.py +++ b/twilio/rest/preview/marketplace/available_add_on/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -26,7 +25,6 @@ class AvailableAddOnInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the AvailableAddOn resource. :ivar friendly_name: The string that you assigned to describe the resource. diff --git a/twilio/rest/preview/marketplace/available_add_on/available_add_on_extension.py b/twilio/rest/preview/marketplace/available_add_on/available_add_on_extension.py index 218b48ee3..96ed8497c 100644 --- a/twilio/rest/preview/marketplace/available_add_on/available_add_on_extension.py +++ b/twilio/rest/preview/marketplace/available_add_on/available_add_on_extension.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class AvailableAddOnExtensionInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the AvailableAddOnExtension resource. :ivar available_add_on_sid: The SID of the AvailableAddOn resource to which this extension applies. diff --git a/twilio/rest/preview/marketplace/installed_add_on/__init__.py b/twilio/rest/preview/marketplace/installed_add_on/__init__.py index 87d092672..019092aac 100644 --- a/twilio/rest/preview/marketplace/installed_add_on/__init__.py +++ b/twilio/rest/preview/marketplace/installed_add_on/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -27,7 +26,6 @@ class InstalledAddOnInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the InstalledAddOn resource. This Sid can also be found in the Console on that specific Add-ons page as the 'Available Add-on Sid'. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the InstalledAddOn resource. diff --git a/twilio/rest/preview/marketplace/installed_add_on/installed_add_on_extension.py b/twilio/rest/preview/marketplace/installed_add_on/installed_add_on_extension.py index e191c8c48..592adf0bf 100644 --- a/twilio/rest/preview/marketplace/installed_add_on/installed_add_on_extension.py +++ b/twilio/rest/preview/marketplace/installed_add_on/installed_add_on_extension.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class InstalledAddOnExtensionInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the InstalledAddOn Extension resource. :ivar installed_add_on_sid: The SID of the InstalledAddOn resource to which this extension applies. diff --git a/twilio/rest/preview/sync/service/__init__.py b/twilio/rest/preview/sync/service/__init__.py index c9f33d19b..9bf53d775 100644 --- a/twilio/rest/preview/sync/service/__init__.py +++ b/twilio/rest/preview/sync/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: :ivar account_sid: diff --git a/twilio/rest/preview/sync/service/document/__init__.py b/twilio/rest/preview/sync/service/document/__init__.py index ebd08889f..74e89faad 100644 --- a/twilio/rest/preview/sync/service/document/__init__.py +++ b/twilio/rest/preview/sync/service/document/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -27,7 +26,6 @@ class DocumentInstance(InstanceResource): - """ :ivar sid: :ivar unique_name: diff --git a/twilio/rest/preview/sync/service/document/document_permission.py b/twilio/rest/preview/sync/service/document/document_permission.py index 1b43dc9fc..a32903c5f 100644 --- a/twilio/rest/preview/sync/service/document/document_permission.py +++ b/twilio/rest/preview/sync/service/document/document_permission.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class DocumentPermissionInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Twilio Account. :ivar service_sid: The unique SID identifier of the Sync Service Instance. diff --git a/twilio/rest/preview/sync/service/sync_list/__init__.py b/twilio/rest/preview/sync/service/sync_list/__init__.py index d3cd34c54..091650c44 100644 --- a/twilio/rest/preview/sync/service/sync_list/__init__.py +++ b/twilio/rest/preview/sync/service/sync_list/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -28,7 +27,6 @@ class SyncListInstance(InstanceResource): - """ :ivar sid: :ivar unique_name: diff --git a/twilio/rest/preview/sync/service/sync_list/sync_list_item.py b/twilio/rest/preview/sync/service/sync_list/sync_list_item.py index 592f84a3c..6308a983e 100644 --- a/twilio/rest/preview/sync/service/sync_list/sync_list_item.py +++ b/twilio/rest/preview/sync/service/sync_list/sync_list_item.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/preview/sync/service/sync_list/sync_list_permission.py b/twilio/rest/preview/sync/service/sync_list/sync_list_permission.py index 7e1a2db96..1752a9537 100644 --- a/twilio/rest/preview/sync/service/sync_list/sync_list_permission.py +++ b/twilio/rest/preview/sync/service/sync_list/sync_list_permission.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class SyncListPermissionInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Twilio Account. :ivar service_sid: The unique SID identifier of the Sync Service Instance. diff --git a/twilio/rest/preview/sync/service/sync_map/__init__.py b/twilio/rest/preview/sync/service/sync_map/__init__.py index 47235fd80..93fe825c7 100644 --- a/twilio/rest/preview/sync/service/sync_map/__init__.py +++ b/twilio/rest/preview/sync/service/sync_map/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -28,7 +27,6 @@ class SyncMapInstance(InstanceResource): - """ :ivar sid: :ivar unique_name: diff --git a/twilio/rest/preview/sync/service/sync_map/sync_map_item.py b/twilio/rest/preview/sync/service/sync_map/sync_map_item.py index ef42e77d3..8409fafd1 100644 --- a/twilio/rest/preview/sync/service/sync_map/sync_map_item.py +++ b/twilio/rest/preview/sync/service/sync_map/sync_map_item.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/preview/sync/service/sync_map/sync_map_permission.py b/twilio/rest/preview/sync/service/sync_map/sync_map_permission.py index 3b3230fe1..83d4c87d9 100644 --- a/twilio/rest/preview/sync/service/sync_map/sync_map_permission.py +++ b/twilio/rest/preview/sync/service/sync_map/sync_map_permission.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class SyncMapPermissionInstance(InstanceResource): - """ :ivar account_sid: The unique SID identifier of the Twilio Account. :ivar service_sid: The unique SID identifier of the Sync Service Instance. diff --git a/twilio/rest/preview/understand/assistant/__init__.py b/twilio/rest/preview/understand/assistant/__init__.py index 27970ca4d..52235aa20 100644 --- a/twilio/rest/preview/understand/assistant/__init__.py +++ b/twilio/rest/preview/understand/assistant/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -36,7 +35,6 @@ class AssistantInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Assistant. :ivar date_created: The date that this resource was created @@ -287,9 +285,9 @@ def __init__(self, version: Version, sid: str): self._uri = "/Assistants/{sid}".format(**self._solution) self._assistant_fallback_actions: Optional[AssistantFallbackActionsList] = None - self._assistant_initiation_actions: Optional[ - AssistantInitiationActionsList - ] = None + self._assistant_initiation_actions: Optional[AssistantInitiationActionsList] = ( + None + ) self._dialogues: Optional[DialogueList] = None self._field_types: Optional[FieldTypeList] = None self._model_builds: Optional[ModelBuildList] = None diff --git a/twilio/rest/preview/understand/assistant/assistant_fallback_actions.py b/twilio/rest/preview/understand/assistant/assistant_fallback_actions.py index 84e964de0..ca696d735 100644 --- a/twilio/rest/preview/understand/assistant/assistant_fallback_actions.py +++ b/twilio/rest/preview/understand/assistant/assistant_fallback_actions.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class AssistantFallbackActionsInstance(InstanceResource): - """ :ivar account_sid: :ivar assistant_sid: diff --git a/twilio/rest/preview/understand/assistant/assistant_initiation_actions.py b/twilio/rest/preview/understand/assistant/assistant_initiation_actions.py index 544154f65..051925df2 100644 --- a/twilio/rest/preview/understand/assistant/assistant_initiation_actions.py +++ b/twilio/rest/preview/understand/assistant/assistant_initiation_actions.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class AssistantInitiationActionsInstance(InstanceResource): - """ :ivar account_sid: :ivar assistant_sid: diff --git a/twilio/rest/preview/understand/assistant/dialogue.py b/twilio/rest/preview/understand/assistant/dialogue.py index 57b0016ec..a9cf86a45 100644 --- a/twilio/rest/preview/understand/assistant/dialogue.py +++ b/twilio/rest/preview/understand/assistant/dialogue.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class DialogueInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Field. :ivar assistant_sid: The unique ID of the parent Assistant. diff --git a/twilio/rest/preview/understand/assistant/field_type/__init__.py b/twilio/rest/preview/understand/assistant/field_type/__init__.py index 0deb38faf..18cc0ff73 100644 --- a/twilio/rest/preview/understand/assistant/field_type/__init__.py +++ b/twilio/rest/preview/understand/assistant/field_type/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class FieldTypeInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Field Type. :ivar date_created: The date that this resource was created diff --git a/twilio/rest/preview/understand/assistant/field_type/field_value.py b/twilio/rest/preview/understand/assistant/field_type/field_value.py index 87fb7df94..58e70c4a7 100644 --- a/twilio/rest/preview/understand/assistant/field_type/field_value.py +++ b/twilio/rest/preview/understand/assistant/field_type/field_value.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class FieldValueInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Field Value. :ivar date_created: The date that this resource was created diff --git a/twilio/rest/preview/understand/assistant/model_build.py b/twilio/rest/preview/understand/assistant/model_build.py index 8b45b76dc..bddcf37ba 100644 --- a/twilio/rest/preview/understand/assistant/model_build.py +++ b/twilio/rest/preview/understand/assistant/model_build.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/preview/understand/assistant/query.py b/twilio/rest/preview/understand/assistant/query.py index 62fb2e3e1..3fb1b114a 100644 --- a/twilio/rest/preview/understand/assistant/query.py +++ b/twilio/rest/preview/understand/assistant/query.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class QueryInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Query. :ivar date_created: The date that this resource was created diff --git a/twilio/rest/preview/understand/assistant/style_sheet.py b/twilio/rest/preview/understand/assistant/style_sheet.py index 4571fc4cb..881a658a4 100644 --- a/twilio/rest/preview/understand/assistant/style_sheet.py +++ b/twilio/rest/preview/understand/assistant/style_sheet.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class StyleSheetInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Assistant :ivar assistant_sid: The unique ID of the Assistant diff --git a/twilio/rest/preview/understand/assistant/task/__init__.py b/twilio/rest/preview/understand/assistant/task/__init__.py index 135a421ec..0447151a0 100644 --- a/twilio/rest/preview/understand/assistant/task/__init__.py +++ b/twilio/rest/preview/understand/assistant/task/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -30,7 +29,6 @@ class TaskInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Task. :ivar date_created: The date that this resource was created diff --git a/twilio/rest/preview/understand/assistant/task/field.py b/twilio/rest/preview/understand/assistant/task/field.py index e8f4aa3a8..2d3ccb83c 100644 --- a/twilio/rest/preview/understand/assistant/task/field.py +++ b/twilio/rest/preview/understand/assistant/task/field.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class FieldInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Field. :ivar date_created: The date that this resource was created diff --git a/twilio/rest/preview/understand/assistant/task/sample.py b/twilio/rest/preview/understand/assistant/task/sample.py index ef8719c6a..3c863c453 100644 --- a/twilio/rest/preview/understand/assistant/task/sample.py +++ b/twilio/rest/preview/understand/assistant/task/sample.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class SampleInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Sample. :ivar date_created: The date that this resource was created diff --git a/twilio/rest/preview/understand/assistant/task/task_actions.py b/twilio/rest/preview/understand/assistant/task/task_actions.py index 41366bbb9..66dd0df4c 100644 --- a/twilio/rest/preview/understand/assistant/task/task_actions.py +++ b/twilio/rest/preview/understand/assistant/task/task_actions.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class TaskActionsInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Field. :ivar assistant_sid: The unique ID of the parent Assistant. diff --git a/twilio/rest/preview/understand/assistant/task/task_statistics.py b/twilio/rest/preview/understand/assistant/task/task_statistics.py index 07375954c..2461406eb 100644 --- a/twilio/rest/preview/understand/assistant/task/task_statistics.py +++ b/twilio/rest/preview/understand/assistant/task/task_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import deserialize from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class TaskStatisticsInstance(InstanceResource): - """ :ivar account_sid: The unique ID of the Account that created this Field. :ivar assistant_sid: The unique ID of the parent Assistant. diff --git a/twilio/rest/preview/wireless/command.py b/twilio/rest/preview/wireless/command.py index 4f3e4603a..371f38c69 100644 --- a/twilio/rest/preview/wireless/command.py +++ b/twilio/rest/preview/wireless/command.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class CommandInstance(InstanceResource): - """ :ivar sid: :ivar account_sid: diff --git a/twilio/rest/preview/wireless/rate_plan.py b/twilio/rest/preview/wireless/rate_plan.py index 04b16f5b3..88b29460e 100644 --- a/twilio/rest/preview/wireless/rate_plan.py +++ b/twilio/rest/preview/wireless/rate_plan.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class RatePlanInstance(InstanceResource): - """ :ivar sid: :ivar unique_name: diff --git a/twilio/rest/preview/wireless/sim/__init__.py b/twilio/rest/preview/wireless/sim/__init__.py index 3a5dd7e77..79b633cce 100644 --- a/twilio/rest/preview/wireless/sim/__init__.py +++ b/twilio/rest/preview/wireless/sim/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class SimInstance(InstanceResource): - """ :ivar sid: :ivar unique_name: diff --git a/twilio/rest/preview/wireless/sim/usage.py b/twilio/rest/preview/wireless/sim/usage.py index de1ca5a03..aa3dd0ac8 100644 --- a/twilio/rest/preview/wireless/sim/usage.py +++ b/twilio/rest/preview/wireless/sim/usage.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class UsageInstance(InstanceResource): - """ :ivar sim_sid: :ivar sim_unique_name: diff --git a/twilio/rest/pricing/v1/messaging/__init__.py b/twilio/rest/pricing/v1/messaging/__init__.py index 32230c713..5b7807405 100644 --- a/twilio/rest/pricing/v1/messaging/__init__.py +++ b/twilio/rest/pricing/v1/messaging/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/pricing/v1/messaging/country.py b/twilio/rest/pricing/v1/messaging/country.py index fba539fc6..39c6bcfdb 100644 --- a/twilio/rest/pricing/v1/messaging/country.py +++ b/twilio/rest/pricing/v1/messaging/country.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class CountryInstance(InstanceResource): - """ :ivar country: The name of the country. :ivar iso_country: The [ISO country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). diff --git a/twilio/rest/pricing/v1/phone_number/__init__.py b/twilio/rest/pricing/v1/phone_number/__init__.py index b3cfbe50e..34b5ea757 100644 --- a/twilio/rest/pricing/v1/phone_number/__init__.py +++ b/twilio/rest/pricing/v1/phone_number/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/pricing/v1/phone_number/country.py b/twilio/rest/pricing/v1/phone_number/country.py index 30a0eeb47..ac550bfd9 100644 --- a/twilio/rest/pricing/v1/phone_number/country.py +++ b/twilio/rest/pricing/v1/phone_number/country.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class CountryInstance(InstanceResource): - """ :ivar country: The name of the country. :ivar iso_country: The [ISO country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). diff --git a/twilio/rest/pricing/v1/voice/__init__.py b/twilio/rest/pricing/v1/voice/__init__.py index 4d91f382c..62a7acaf2 100644 --- a/twilio/rest/pricing/v1/voice/__init__.py +++ b/twilio/rest/pricing/v1/voice/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/pricing/v1/voice/country.py b/twilio/rest/pricing/v1/voice/country.py index c65df83f4..7f8e48cf9 100644 --- a/twilio/rest/pricing/v1/voice/country.py +++ b/twilio/rest/pricing/v1/voice/country.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class CountryInstance(InstanceResource): - """ :ivar country: The name of the country. :ivar iso_country: The [ISO country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). diff --git a/twilio/rest/pricing/v1/voice/number.py b/twilio/rest/pricing/v1/voice/number.py index dfdf4b63f..3e47c4888 100644 --- a/twilio/rest/pricing/v1/voice/number.py +++ b/twilio/rest/pricing/v1/voice/number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class NumberInstance(InstanceResource): - """ :ivar number: The phone number. :ivar country: The name of the country. diff --git a/twilio/rest/pricing/v2/country.py b/twilio/rest/pricing/v2/country.py index 6842359b8..f94b6f1cb 100644 --- a/twilio/rest/pricing/v2/country.py +++ b/twilio/rest/pricing/v2/country.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class CountryInstance(InstanceResource): - """ :ivar country: The name of the country. :ivar iso_country: The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). diff --git a/twilio/rest/pricing/v2/number.py b/twilio/rest/pricing/v2/number.py index 39d8eb478..8165f8870 100644 --- a/twilio/rest/pricing/v2/number.py +++ b/twilio/rest/pricing/v2/number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class NumberInstance(InstanceResource): - """ :ivar destination_number: The destination phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. :ivar origination_number: The origination phone number in [[E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/pricing/v2/voice/__init__.py b/twilio/rest/pricing/v2/voice/__init__.py index 653946963..62279bebe 100644 --- a/twilio/rest/pricing/v2/voice/__init__.py +++ b/twilio/rest/pricing/v2/voice/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/pricing/v2/voice/country.py b/twilio/rest/pricing/v2/voice/country.py index a06ed0a76..9364c7df3 100644 --- a/twilio/rest/pricing/v2/voice/country.py +++ b/twilio/rest/pricing/v2/voice/country.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class CountryInstance(InstanceResource): - """ :ivar country: The name of the country. :ivar iso_country: The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). diff --git a/twilio/rest/pricing/v2/voice/number.py b/twilio/rest/pricing/v2/voice/number.py index 6d4f1bddb..e0fea643f 100644 --- a/twilio/rest/pricing/v2/voice/number.py +++ b/twilio/rest/pricing/v2/voice/number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class NumberInstance(InstanceResource): - """ :ivar destination_number: The destination phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. :ivar origination_number: The origination phone number in [[E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. diff --git a/twilio/rest/proxy/v1/service/__init__.py b/twilio/rest/proxy/v1/service/__init__.py index ec886ad2b..707416106 100644 --- a/twilio/rest/proxy/v1/service/__init__.py +++ b/twilio/rest/proxy/v1/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/proxy/v1/service/phone_number.py b/twilio/rest/proxy/v1/service/phone_number.py index fc8c514f1..8158a72c5 100644 --- a/twilio/rest/proxy/v1/service/phone_number.py +++ b/twilio/rest/proxy/v1/service/phone_number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class PhoneNumberInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the PhoneNumber resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the PhoneNumber resource. diff --git a/twilio/rest/proxy/v1/service/session/__init__.py b/twilio/rest/proxy/v1/service/session/__init__.py index 7ce76fcab..7244fae89 100644 --- a/twilio/rest/proxy/v1/service/session/__init__.py +++ b/twilio/rest/proxy/v1/service/session/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/proxy/v1/service/session/interaction.py b/twilio/rest/proxy/v1/service/session/interaction.py index 145da3a70..9e681c176 100644 --- a/twilio/rest/proxy/v1/service/session/interaction.py +++ b/twilio/rest/proxy/v1/service/session/interaction.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -94,9 +93,9 @@ def __init__( "inbound_participant_sid" ) self.inbound_resource_sid: Optional[str] = payload.get("inbound_resource_sid") - self.inbound_resource_status: Optional[ - "InteractionInstance.ResourceStatus" - ] = payload.get("inbound_resource_status") + self.inbound_resource_status: Optional["InteractionInstance.ResourceStatus"] = ( + payload.get("inbound_resource_status") + ) self.inbound_resource_type: Optional[str] = payload.get("inbound_resource_type") self.inbound_resource_url: Optional[str] = payload.get("inbound_resource_url") self.outbound_participant_sid: Optional[str] = payload.get( diff --git a/twilio/rest/proxy/v1/service/session/participant/__init__.py b/twilio/rest/proxy/v1/service/session/participant/__init__.py index ce3c16abd..35f2c622b 100644 --- a/twilio/rest/proxy/v1/service/session/participant/__init__.py +++ b/twilio/rest/proxy/v1/service/session/participant/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class ParticipantInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Participant resource. :ivar session_sid: The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) resource. diff --git a/twilio/rest/proxy/v1/service/session/participant/message_interaction.py b/twilio/rest/proxy/v1/service/session/participant/message_interaction.py index b07b1782f..1f6ff2281 100644 --- a/twilio/rest/proxy/v1/service/session/participant/message_interaction.py +++ b/twilio/rest/proxy/v1/service/session/participant/message_interaction.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/proxy/v1/service/short_code.py b/twilio/rest/proxy/v1/service/short_code.py index 27dc8467f..83a0a6c1b 100644 --- a/twilio/rest/proxy/v1/service/short_code.py +++ b/twilio/rest/proxy/v1/service/short_code.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ShortCodeInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the ShortCode resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource. diff --git a/twilio/rest/routes/v2/phone_number.py b/twilio/rest/routes/v2/phone_number.py index 496a3de2b..4b9de1a97 100644 --- a/twilio/rest/routes/v2/phone_number.py +++ b/twilio/rest/routes/v2/phone_number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class PhoneNumberInstance(InstanceResource): - """ :ivar phone_number: The phone number in E.164 format :ivar url: The absolute URL of the resource. diff --git a/twilio/rest/routes/v2/sip_domain.py b/twilio/rest/routes/v2/sip_domain.py index 42755a43f..eac3d643f 100644 --- a/twilio/rest/routes/v2/sip_domain.py +++ b/twilio/rest/routes/v2/sip_domain.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class SipDomainInstance(InstanceResource): - """ :ivar sip_domain: :ivar url: diff --git a/twilio/rest/routes/v2/trunk.py b/twilio/rest/routes/v2/trunk.py index cf02b000b..0addd96fd 100644 --- a/twilio/rest/routes/v2/trunk.py +++ b/twilio/rest/routes/v2/trunk.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class TrunkInstance(InstanceResource): - """ :ivar sip_trunk_domain: The absolute URL of the SIP Trunk :ivar url: The absolute URL of the resource. diff --git a/twilio/rest/serverless/v1/service/__init__.py b/twilio/rest/serverless/v1/service/__init__.py index 146827d81..271e399df 100644 --- a/twilio/rest/serverless/v1/service/__init__.py +++ b/twilio/rest/serverless/v1/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -28,7 +27,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Service resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Service resource. diff --git a/twilio/rest/serverless/v1/service/asset/__init__.py b/twilio/rest/serverless/v1/service/asset/__init__.py index 7b70adf1c..17e5ecc38 100644 --- a/twilio/rest/serverless/v1/service/asset/__init__.py +++ b/twilio/rest/serverless/v1/service/asset/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class AssetInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Asset resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Asset resource. diff --git a/twilio/rest/serverless/v1/service/asset/asset_version.py b/twilio/rest/serverless/v1/service/asset/asset_version.py index 34ebb07ef..a8fa462d2 100644 --- a/twilio/rest/serverless/v1/service/asset/asset_version.py +++ b/twilio/rest/serverless/v1/service/asset/asset_version.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/serverless/v1/service/environment/__init__.py b/twilio/rest/serverless/v1/service/environment/__init__.py index dac46b974..a072d8ffa 100644 --- a/twilio/rest/serverless/v1/service/environment/__init__.py +++ b/twilio/rest/serverless/v1/service/environment/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class EnvironmentInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Environment resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Environment resource. diff --git a/twilio/rest/serverless/v1/service/environment/deployment.py b/twilio/rest/serverless/v1/service/environment/deployment.py index f0f6b5003..2738d967c 100644 --- a/twilio/rest/serverless/v1/service/environment/deployment.py +++ b/twilio/rest/serverless/v1/service/environment/deployment.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class DeploymentInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Deployment resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Deployment resource. diff --git a/twilio/rest/serverless/v1/service/environment/log.py b/twilio/rest/serverless/v1/service/environment/log.py index d856ba75d..0249ee4eb 100644 --- a/twilio/rest/serverless/v1/service/environment/log.py +++ b/twilio/rest/serverless/v1/service/environment/log.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/serverless/v1/service/environment/variable.py b/twilio/rest/serverless/v1/service/environment/variable.py index b619e3a65..35447b75c 100644 --- a/twilio/rest/serverless/v1/service/environment/variable.py +++ b/twilio/rest/serverless/v1/service/environment/variable.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class VariableInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Variable resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Variable resource. diff --git a/twilio/rest/serverless/v1/service/function/__init__.py b/twilio/rest/serverless/v1/service/function/__init__.py index 3f2919316..a18444d39 100644 --- a/twilio/rest/serverless/v1/service/function/__init__.py +++ b/twilio/rest/serverless/v1/service/function/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class FunctionInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Function resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Function resource. diff --git a/twilio/rest/serverless/v1/service/function/function_version/__init__.py b/twilio/rest/serverless/v1/service/function/function_version/__init__.py index 73443897a..0b551904e 100644 --- a/twilio/rest/serverless/v1/service/function/function_version/__init__.py +++ b/twilio/rest/serverless/v1/service/function/function_version/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/serverless/v1/service/function/function_version/function_version_content.py b/twilio/rest/serverless/v1/service/function/function_version/function_version_content.py index c39f9f071..0b99cf877 100644 --- a/twilio/rest/serverless/v1/service/function/function_version/function_version_content.py +++ b/twilio/rest/serverless/v1/service/function/function_version/function_version_content.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class FunctionVersionContentInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Function Version resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Function Version resource. diff --git a/twilio/rest/studio/v1/flow/__init__.py b/twilio/rest/studio/v1/flow/__init__.py index a7c5756e0..a950be3cc 100644 --- a/twilio/rest/studio/v1/flow/__init__.py +++ b/twilio/rest/studio/v1/flow/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/studio/v1/flow/engagement/__init__.py b/twilio/rest/studio/v1/flow/engagement/__init__.py index e0f56dbaf..7962f7ae0 100644 --- a/twilio/rest/studio/v1/flow/engagement/__init__.py +++ b/twilio/rest/studio/v1/flow/engagement/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/studio/v1/flow/engagement/engagement_context.py b/twilio/rest/studio/v1/flow/engagement/engagement_context.py index d558b38be..8dc0d1c51 100644 --- a/twilio/rest/studio/v1/flow/engagement/engagement_context.py +++ b/twilio/rest/studio/v1/flow/engagement/engagement_context.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class EngagementContextInstance(InstanceResource): - """ :ivar account_sid: The SID of the Account. :ivar context: As your flow executes, we save the state in what's called the Flow Context. Any data in the flow context can be accessed by your widgets as variables, either in configuration fields or in text areas as variable substitution. diff --git a/twilio/rest/studio/v1/flow/engagement/step/__init__.py b/twilio/rest/studio/v1/flow/engagement/step/__init__.py index c1638f29c..8e87942d0 100644 --- a/twilio/rest/studio/v1/flow/engagement/step/__init__.py +++ b/twilio/rest/studio/v1/flow/engagement/step/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class StepInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Step resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Step resource. diff --git a/twilio/rest/studio/v1/flow/engagement/step/step_context.py b/twilio/rest/studio/v1/flow/engagement/step/step_context.py index c1555d05a..a32c82c6d 100644 --- a/twilio/rest/studio/v1/flow/engagement/step/step_context.py +++ b/twilio/rest/studio/v1/flow/engagement/step/step_context.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class StepContextInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the StepContext resource. :ivar context: The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution. diff --git a/twilio/rest/studio/v1/flow/execution/__init__.py b/twilio/rest/studio/v1/flow/execution/__init__.py index d0ad05b67..5cfa28cd2 100644 --- a/twilio/rest/studio/v1/flow/execution/__init__.py +++ b/twilio/rest/studio/v1/flow/execution/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/studio/v1/flow/execution/execution_context.py b/twilio/rest/studio/v1/flow/execution/execution_context.py index d84431d12..e36b21e1e 100644 --- a/twilio/rest/studio/v1/flow/execution/execution_context.py +++ b/twilio/rest/studio/v1/flow/execution/execution_context.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class ExecutionContextInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ExecutionContext resource. :ivar context: The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution. diff --git a/twilio/rest/studio/v1/flow/execution/execution_step/__init__.py b/twilio/rest/studio/v1/flow/execution/execution_step/__init__.py index 462e5322b..0eb15e125 100644 --- a/twilio/rest/studio/v1/flow/execution/execution_step/__init__.py +++ b/twilio/rest/studio/v1/flow/execution/execution_step/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class ExecutionStepInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the ExecutionStep resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ExecutionStep resource. diff --git a/twilio/rest/studio/v1/flow/execution/execution_step/execution_step_context.py b/twilio/rest/studio/v1/flow/execution/execution_step/execution_step_context.py index 1463adec6..b33c0c635 100644 --- a/twilio/rest/studio/v1/flow/execution/execution_step/execution_step_context.py +++ b/twilio/rest/studio/v1/flow/execution/execution_step/execution_step_context.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class ExecutionStepContextInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ExecutionStepContext resource. :ivar context: The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution. diff --git a/twilio/rest/studio/v2/flow/__init__.py b/twilio/rest/studio/v2/flow/__init__.py index 408e29cc7..f4e24626b 100644 --- a/twilio/rest/studio/v2/flow/__init__.py +++ b/twilio/rest/studio/v2/flow/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/studio/v2/flow/execution/__init__.py b/twilio/rest/studio/v2/flow/execution/__init__.py index 117368352..4056a5d3d 100644 --- a/twilio/rest/studio/v2/flow/execution/__init__.py +++ b/twilio/rest/studio/v2/flow/execution/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/studio/v2/flow/execution/execution_context.py b/twilio/rest/studio/v2/flow/execution/execution_context.py index 47628b1ea..eb432cafb 100644 --- a/twilio/rest/studio/v2/flow/execution/execution_context.py +++ b/twilio/rest/studio/v2/flow/execution/execution_context.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class ExecutionContextInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ExecutionContext resource. :ivar context: The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution. diff --git a/twilio/rest/studio/v2/flow/execution/execution_step/__init__.py b/twilio/rest/studio/v2/flow/execution/execution_step/__init__.py index 7b43ad5ee..83682a53e 100644 --- a/twilio/rest/studio/v2/flow/execution/execution_step/__init__.py +++ b/twilio/rest/studio/v2/flow/execution/execution_step/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class ExecutionStepInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the ExecutionStep resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ExecutionStep resource. diff --git a/twilio/rest/studio/v2/flow/execution/execution_step/execution_step_context.py b/twilio/rest/studio/v2/flow/execution/execution_step/execution_step_context.py index 5a8832159..c89d9f1ed 100644 --- a/twilio/rest/studio/v2/flow/execution/execution_step/execution_step_context.py +++ b/twilio/rest/studio/v2/flow/execution/execution_step/execution_step_context.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource @@ -21,7 +20,6 @@ class ExecutionStepContextInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ExecutionStepContext resource. :ivar context: The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution. diff --git a/twilio/rest/studio/v2/flow/flow_revision.py b/twilio/rest/studio/v2/flow/flow_revision.py index a9a5394a4..bf9efc6d5 100644 --- a/twilio/rest/studio/v2/flow/flow_revision.py +++ b/twilio/rest/studio/v2/flow/flow_revision.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/studio/v2/flow/flow_test_user.py b/twilio/rest/studio/v2/flow/flow_test_user.py index d5dbee7d6..81bee7ed9 100644 --- a/twilio/rest/studio/v2/flow/flow_test_user.py +++ b/twilio/rest/studio/v2/flow/flow_test_user.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional from twilio.base import serialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class FlowTestUserInstance(InstanceResource): - """ :ivar sid: Unique identifier of the flow. :ivar test_users: List of test user identities that can test draft versions of the flow. diff --git a/twilio/rest/studio/v2/flow_validate.py b/twilio/rest/studio/v2/flow_validate.py index 74ddfa236..63ebb7623 100644 --- a/twilio/rest/studio/v2/flow_validate.py +++ b/twilio/rest/studio/v2/flow_validate.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import serialize, values diff --git a/twilio/rest/supersim/v1/esim_profile.py b/twilio/rest/supersim/v1/esim_profile.py index 230ac298a..4477dda2f 100644 --- a/twilio/rest/supersim/v1/esim_profile.py +++ b/twilio/rest/supersim/v1/esim_profile.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/supersim/v1/fleet.py b/twilio/rest/supersim/v1/fleet.py index 0017ff4e9..05058744c 100644 --- a/twilio/rest/supersim/v1/fleet.py +++ b/twilio/rest/supersim/v1/fleet.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/supersim/v1/ip_command.py b/twilio/rest/supersim/v1/ip_command.py index 98e6e2a0a..aab4470af 100644 --- a/twilio/rest/supersim/v1/ip_command.py +++ b/twilio/rest/supersim/v1/ip_command.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/supersim/v1/network.py b/twilio/rest/supersim/v1/network.py index 7364105c8..5ea9a8e4a 100644 --- a/twilio/rest/supersim/v1/network.py +++ b/twilio/rest/supersim/v1/network.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class NetworkInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Network resource. :ivar friendly_name: A human readable identifier of this resource. diff --git a/twilio/rest/supersim/v1/network_access_profile/__init__.py b/twilio/rest/supersim/v1/network_access_profile/__init__.py index 0712dbe65..a355b746b 100644 --- a/twilio/rest/supersim/v1/network_access_profile/__init__.py +++ b/twilio/rest/supersim/v1/network_access_profile/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -27,7 +26,6 @@ class NetworkAccessProfileInstance(InstanceResource): - """ :ivar sid: The unique string that identifies the Network Access Profile resource. :ivar unique_name: An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. diff --git a/twilio/rest/supersim/v1/network_access_profile/network_access_profile_network.py b/twilio/rest/supersim/v1/network_access_profile/network_access_profile_network.py index 065418f39..eeacec1e7 100644 --- a/twilio/rest/supersim/v1/network_access_profile/network_access_profile_network.py +++ b/twilio/rest/supersim/v1/network_access_profile/network_access_profile_network.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class NetworkAccessProfileNetworkInstance(InstanceResource): - """ :ivar sid: The unique string that identifies the Network resource. :ivar network_access_profile_sid: The unique string that identifies the Network resource's Network Access Profile resource. diff --git a/twilio/rest/supersim/v1/settings_update.py b/twilio/rest/supersim/v1/settings_update.py index d9b00143a..ea13986d0 100644 --- a/twilio/rest/supersim/v1/settings_update.py +++ b/twilio/rest/supersim/v1/settings_update.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/supersim/v1/sim/__init__.py b/twilio/rest/supersim/v1/sim/__init__.py index fae942749..735e8fadc 100644 --- a/twilio/rest/supersim/v1/sim/__init__.py +++ b/twilio/rest/supersim/v1/sim/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/supersim/v1/sim/billing_period.py b/twilio/rest/supersim/v1/sim/billing_period.py index 52afd38c7..082622ece 100644 --- a/twilio/rest/supersim/v1/sim/billing_period.py +++ b/twilio/rest/supersim/v1/sim/billing_period.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/supersim/v1/sim/sim_ip_address.py b/twilio/rest/supersim/v1/sim/sim_ip_address.py index 42911d137..e0b5a5756 100644 --- a/twilio/rest/supersim/v1/sim/sim_ip_address.py +++ b/twilio/rest/supersim/v1/sim/sim_ip_address.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values @@ -36,9 +35,9 @@ def __init__(self, version: Version, payload: Dict[str, Any], sim_sid: str): super().__init__(version) self.ip_address: Optional[str] = payload.get("ip_address") - self.ip_address_version: Optional[ - "SimIpAddressInstance.IpAddressVersion" - ] = payload.get("ip_address_version") + self.ip_address_version: Optional["SimIpAddressInstance.IpAddressVersion"] = ( + payload.get("ip_address_version") + ) self._solution = { "sim_sid": sim_sid, diff --git a/twilio/rest/supersim/v1/sms_command.py b/twilio/rest/supersim/v1/sms_command.py index 83601dd7c..18e496c71 100644 --- a/twilio/rest/supersim/v1/sms_command.py +++ b/twilio/rest/supersim/v1/sms_command.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/supersim/v1/usage_record.py b/twilio/rest/supersim/v1/usage_record.py index 5962a5995..19ba4989d 100644 --- a/twilio/rest/supersim/v1/usage_record.py +++ b/twilio/rest/supersim/v1/usage_record.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/sync/v1/service/__init__.py b/twilio/rest/sync/v1/service/__init__.py index 7db062b90..08434aec3 100644 --- a/twilio/rest/sync/v1/service/__init__.py +++ b/twilio/rest/sync/v1/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -28,7 +27,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Service resource. :ivar unique_name: An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. It is a read-only property, it cannot be assigned using REST API. diff --git a/twilio/rest/sync/v1/service/document/__init__.py b/twilio/rest/sync/v1/service/document/__init__.py index 5689594a8..0cd5c918d 100644 --- a/twilio/rest/sync/v1/service/document/__init__.py +++ b/twilio/rest/sync/v1/service/document/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -27,7 +26,6 @@ class DocumentInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Document resource. :ivar unique_name: An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource and can be up to 320 characters long. diff --git a/twilio/rest/sync/v1/service/document/document_permission.py b/twilio/rest/sync/v1/service/document/document_permission.py index da0241f55..0e9a3e29e 100644 --- a/twilio/rest/sync/v1/service/document/document_permission.py +++ b/twilio/rest/sync/v1/service/document/document_permission.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class DocumentPermissionInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Document Permission resource. :ivar service_sid: The SID of the [Sync Service](https://www.twilio.com/docs/sync/api/service) the resource is associated with. diff --git a/twilio/rest/sync/v1/service/sync_list/__init__.py b/twilio/rest/sync/v1/service/sync_list/__init__.py index 545ebee38..da694eb36 100644 --- a/twilio/rest/sync/v1/service/sync_list/__init__.py +++ b/twilio/rest/sync/v1/service/sync_list/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -28,7 +27,6 @@ class SyncListInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Sync List resource. :ivar unique_name: An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. diff --git a/twilio/rest/sync/v1/service/sync_list/sync_list_item.py b/twilio/rest/sync/v1/service/sync_list/sync_list_item.py index 640b4c38c..859739591 100644 --- a/twilio/rest/sync/v1/service/sync_list/sync_list_item.py +++ b/twilio/rest/sync/v1/service/sync_list/sync_list_item.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/sync/v1/service/sync_list/sync_list_permission.py b/twilio/rest/sync/v1/service/sync_list/sync_list_permission.py index f0d970b18..9b94b7fb5 100644 --- a/twilio/rest/sync/v1/service/sync_list/sync_list_permission.py +++ b/twilio/rest/sync/v1/service/sync_list/sync_list_permission.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class SyncListPermissionInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Sync List Permission resource. :ivar service_sid: The SID of the [Sync Service](https://www.twilio.com/docs/sync/api/service) the resource is associated with. diff --git a/twilio/rest/sync/v1/service/sync_map/__init__.py b/twilio/rest/sync/v1/service/sync_map/__init__.py index 5b38378f2..3147e502d 100644 --- a/twilio/rest/sync/v1/service/sync_map/__init__.py +++ b/twilio/rest/sync/v1/service/sync_map/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -28,7 +27,6 @@ class SyncMapInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Sync Map resource. :ivar unique_name: An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. diff --git a/twilio/rest/sync/v1/service/sync_map/sync_map_item.py b/twilio/rest/sync/v1/service/sync_map/sync_map_item.py index ef290caab..0f7681600 100644 --- a/twilio/rest/sync/v1/service/sync_map/sync_map_item.py +++ b/twilio/rest/sync/v1/service/sync_map/sync_map_item.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/sync/v1/service/sync_map/sync_map_permission.py b/twilio/rest/sync/v1/service/sync_map/sync_map_permission.py index ee34694dd..b983a77bb 100644 --- a/twilio/rest/sync/v1/service/sync_map/sync_map_permission.py +++ b/twilio/rest/sync/v1/service/sync_map/sync_map_permission.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class SyncMapPermissionInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Sync Map Permission resource. :ivar service_sid: The SID of the [Sync Service](https://www.twilio.com/docs/sync/api/service) the resource is associated with. diff --git a/twilio/rest/sync/v1/service/sync_stream/__init__.py b/twilio/rest/sync/v1/service/sync_stream/__init__.py index 59507674d..f1146e9a8 100644 --- a/twilio/rest/sync/v1/service/sync_stream/__init__.py +++ b/twilio/rest/sync/v1/service/sync_stream/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class SyncStreamInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Sync Stream resource. :ivar unique_name: An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. diff --git a/twilio/rest/sync/v1/service/sync_stream/stream_message.py b/twilio/rest/sync/v1/service/sync_stream/stream_message.py index 5227bb076..d525b8e2c 100644 --- a/twilio/rest/sync/v1/service/sync_stream/stream_message.py +++ b/twilio/rest/sync/v1/service/sync_stream/stream_message.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import serialize, values @@ -22,7 +21,6 @@ class StreamMessageInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Stream Message resource. :ivar data: An arbitrary, schema-less object that contains the Stream Message body. Can be up to 4 KiB in length. diff --git a/twilio/rest/taskrouter/v1/workspace/__init__.py b/twilio/rest/taskrouter/v1/workspace/__init__.py index 886ba65c9..fcdea4c37 100644 --- a/twilio/rest/taskrouter/v1/workspace/__init__.py +++ b/twilio/rest/taskrouter/v1/workspace/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -83,9 +82,9 @@ def __init__( self.sid: Optional[str] = payload.get("sid") self.timeout_activity_name: Optional[str] = payload.get("timeout_activity_name") self.timeout_activity_sid: Optional[str] = payload.get("timeout_activity_sid") - self.prioritize_queue_order: Optional[ - "WorkspaceInstance.QueueOrder" - ] = payload.get("prioritize_queue_order") + self.prioritize_queue_order: Optional["WorkspaceInstance.QueueOrder"] = ( + payload.get("prioritize_queue_order") + ) self.url: Optional[str] = payload.get("url") self.links: Optional[Dict[str, object]] = payload.get("links") diff --git a/twilio/rest/taskrouter/v1/workspace/activity.py b/twilio/rest/taskrouter/v1/workspace/activity.py index b233113d3..79b4504fd 100644 --- a/twilio/rest/taskrouter/v1/workspace/activity.py +++ b/twilio/rest/taskrouter/v1/workspace/activity.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ActivityInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Activity resource. :ivar available: Whether the Worker is eligible to receive a Task when it occupies the Activity. A value of `true`, `1`, or `yes` indicates the Activity is available. All other values indicate that it is not. The value cannot be changed after the Activity is created. diff --git a/twilio/rest/taskrouter/v1/workspace/event.py b/twilio/rest/taskrouter/v1/workspace/event.py index 82f71317e..1e55f2e9a 100644 --- a/twilio/rest/taskrouter/v1/workspace/event.py +++ b/twilio/rest/taskrouter/v1/workspace/event.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class EventInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Event resource. :ivar actor_sid: The SID of the resource that triggered the event. diff --git a/twilio/rest/taskrouter/v1/workspace/task/__init__.py b/twilio/rest/taskrouter/v1/workspace/task/__init__.py index 74c5a8fee..49b3af73e 100644 --- a/twilio/rest/taskrouter/v1/workspace/task/__init__.py +++ b/twilio/rest/taskrouter/v1/workspace/task/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/taskrouter/v1/workspace/task/reservation.py b/twilio/rest/taskrouter/v1/workspace/task/reservation.py index 32e7c6b4d..e053ec801 100644 --- a/twilio/rest/taskrouter/v1/workspace/task/reservation.py +++ b/twilio/rest/taskrouter/v1/workspace/task/reservation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/taskrouter/v1/workspace/task_channel.py b/twilio/rest/taskrouter/v1/workspace/task_channel.py index d6408dcd7..6fd6f24f4 100644 --- a/twilio/rest/taskrouter/v1/workspace/task_channel.py +++ b/twilio/rest/taskrouter/v1/workspace/task_channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class TaskChannelInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Task Channel resource. :ivar date_created: The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. diff --git a/twilio/rest/taskrouter/v1/workspace/task_queue/__init__.py b/twilio/rest/taskrouter/v1/workspace/task_queue/__init__.py index cc523c851..d4ab32eb5 100644 --- a/twilio/rest/taskrouter/v1/workspace/task_queue/__init__.py +++ b/twilio/rest/taskrouter/v1/workspace/task_queue/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.py b/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.py index 94c213b62..f910aa432 100644 --- a/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, serialize, values @@ -23,7 +22,6 @@ class TaskQueueCumulativeStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskQueue resource. :ivar avg_task_acceptance_time: The average time in seconds between Task creation and acceptance. @@ -96,9 +94,9 @@ def __init__( self.wait_duration_until_canceled: Optional[Dict[str, object]] = payload.get( "wait_duration_until_canceled" ) - self.wait_duration_in_queue_until_accepted: Optional[ - Dict[str, object] - ] = payload.get("wait_duration_in_queue_until_accepted") + self.wait_duration_in_queue_until_accepted: Optional[Dict[str, object]] = ( + payload.get("wait_duration_in_queue_until_accepted") + ) self.tasks_canceled: Optional[int] = deserialize.integer( payload.get("tasks_canceled") ) diff --git a/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.py b/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.py index d588f99d4..f8786d42b 100644 --- a/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class TaskQueueRealTimeStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskQueue resource. :ivar activity_statistics: The number of current Workers by Activity. diff --git a/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.py b/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.py index 97fef95c2..53543ec1d 100644 --- a/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import serialize, values @@ -23,7 +22,6 @@ class TaskQueueStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskQueue resource. :ivar cumulative: An object that contains the cumulative statistics for the TaskQueue. diff --git a/twilio/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.py b/twilio/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.py index 091715e7d..74768da3f 100644 --- a/twilio/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import serialize, values @@ -24,7 +23,6 @@ class TaskQueuesStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskQueue resource. :ivar cumulative: An object that contains the cumulative statistics for the TaskQueues. diff --git a/twilio/rest/taskrouter/v1/workspace/worker/__init__.py b/twilio/rest/taskrouter/v1/workspace/worker/__init__.py index 104731aed..851b30346 100644 --- a/twilio/rest/taskrouter/v1/workspace/worker/__init__.py +++ b/twilio/rest/taskrouter/v1/workspace/worker/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -38,7 +37,6 @@ class WorkerInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource. :ivar activity_name: The `friendly_name` of the Worker's current Activity. diff --git a/twilio/rest/taskrouter/v1/workspace/worker/reservation.py b/twilio/rest/taskrouter/v1/workspace/worker/reservation.py index e99705d66..f95c2ad14 100644 --- a/twilio/rest/taskrouter/v1/workspace/worker/reservation.py +++ b/twilio/rest/taskrouter/v1/workspace/worker/reservation.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/taskrouter/v1/workspace/worker/worker_channel.py b/twilio/rest/taskrouter/v1/workspace/worker/worker_channel.py index 74c8531af..d75955d5a 100644 --- a/twilio/rest/taskrouter/v1/workspace/worker/worker_channel.py +++ b/twilio/rest/taskrouter/v1/workspace/worker/worker_channel.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class WorkerChannelInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource. :ivar assigned_tasks: The total number of Tasks assigned to Worker for the TaskChannel type. diff --git a/twilio/rest/taskrouter/v1/workspace/worker/worker_statistics.py b/twilio/rest/taskrouter/v1/workspace/worker/worker_statistics.py index 7724d5caf..591d72fb7 100644 --- a/twilio/rest/taskrouter/v1/workspace/worker/worker_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/worker/worker_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import serialize, values @@ -23,7 +22,6 @@ class WorkerStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource. :ivar cumulative: An object that contains the cumulative statistics for the Worker. diff --git a/twilio/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.py b/twilio/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.py index 14310b05b..ecb5fe9a0 100644 --- a/twilio/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, serialize, values @@ -23,7 +22,6 @@ class WorkersCumulativeStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource. :ivar start_time: The beginning of the interval during which these statistics were calculated, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. diff --git a/twilio/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.py b/twilio/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.py index c59611dcf..5fb8ce12c 100644 --- a/twilio/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class WorkersRealTimeStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource. :ivar activity_statistics: The number of current Workers by Activity. diff --git a/twilio/rest/taskrouter/v1/workspace/worker/workers_statistics.py b/twilio/rest/taskrouter/v1/workspace/worker/workers_statistics.py index 58ef59969..78feeda3f 100644 --- a/twilio/rest/taskrouter/v1/workspace/worker/workers_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/worker/workers_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import serialize, values @@ -23,7 +22,6 @@ class WorkersStatisticsInstance(InstanceResource): - """ :ivar realtime: An object that contains the real-time statistics for the Worker. :ivar cumulative: An object that contains the cumulative statistics for the Worker. diff --git a/twilio/rest/taskrouter/v1/workspace/workflow/__init__.py b/twilio/rest/taskrouter/v1/workspace/workflow/__init__.py index 04cbba20b..e12a42748 100644 --- a/twilio/rest/taskrouter/v1/workspace/workflow/__init__.py +++ b/twilio/rest/taskrouter/v1/workspace/workflow/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -33,7 +32,6 @@ class WorkflowInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workflow resource. :ivar assignment_callback_url: The URL that we call when a task managed by the Workflow is assigned to a Worker. See Assignment Callback URL for more information. diff --git a/twilio/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.py b/twilio/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.py index 28e557b8c..3fa89fdf0 100644 --- a/twilio/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, serialize, values @@ -23,7 +22,6 @@ class WorkflowCumulativeStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workflow resource. :ivar avg_task_acceptance_time: The average time in seconds between Task creation and acceptance. diff --git a/twilio/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.py b/twilio/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.py index 55a41f5d8..9c21c0e47 100644 --- a/twilio/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class WorkflowRealTimeStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workflow resource. :ivar longest_task_waiting_age: The age of the longest waiting Task. diff --git a/twilio/rest/taskrouter/v1/workspace/workflow/workflow_statistics.py b/twilio/rest/taskrouter/v1/workspace/workflow/workflow_statistics.py index 521b2921b..087ed816e 100644 --- a/twilio/rest/taskrouter/v1/workspace/workflow/workflow_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/workflow/workflow_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import serialize, values @@ -23,7 +22,6 @@ class WorkflowStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workflow resource. :ivar cumulative: An object that contains the cumulative statistics for the Workflow. diff --git a/twilio/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.py b/twilio/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.py index 71e8a56a7..b13c11d00 100644 --- a/twilio/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, serialize, values @@ -23,7 +22,6 @@ class WorkspaceCumulativeStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workspace resource. :ivar avg_task_acceptance_time: The average time in seconds between Task creation and acceptance. diff --git a/twilio/rest/taskrouter/v1/workspace/workspace_real_time_statistics.py b/twilio/rest/taskrouter/v1/workspace/workspace_real_time_statistics.py index d69600d7f..92e2b5075 100644 --- a/twilio/rest/taskrouter/v1/workspace/workspace_real_time_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/workspace_real_time_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class WorkspaceRealTimeStatisticsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workspace resource. :ivar activity_statistics: The number of current Workers by Activity. diff --git a/twilio/rest/taskrouter/v1/workspace/workspace_statistics.py b/twilio/rest/taskrouter/v1/workspace/workspace_statistics.py index 443ee9390..5dd18d928 100644 --- a/twilio/rest/taskrouter/v1/workspace/workspace_statistics.py +++ b/twilio/rest/taskrouter/v1/workspace/workspace_statistics.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import serialize, values @@ -23,7 +22,6 @@ class WorkspaceStatisticsInstance(InstanceResource): - """ :ivar realtime: An object that contains the real-time statistics for the Workspace. :ivar cumulative: An object that contains the cumulative statistics for the Workspace. diff --git a/twilio/rest/trunking/v1/trunk/__init__.py b/twilio/rest/trunking/v1/trunk/__init__.py index e7a0aa5cf..954290932 100644 --- a/twilio/rest/trunking/v1/trunk/__init__.py +++ b/twilio/rest/trunking/v1/trunk/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -75,9 +74,9 @@ def __init__( self.transfer_mode: Optional["TrunkInstance.TransferSetting"] = payload.get( "transfer_mode" ) - self.transfer_caller_id: Optional[ - "TrunkInstance.TransferCallerId" - ] = payload.get("transfer_caller_id") + self.transfer_caller_id: Optional["TrunkInstance.TransferCallerId"] = ( + payload.get("transfer_caller_id") + ) self.cnam_lookup_enabled: Optional[bool] = payload.get("cnam_lookup_enabled") self.auth_type: Optional[str] = payload.get("auth_type") self.auth_type_set: Optional[List[str]] = payload.get("auth_type_set") diff --git a/twilio/rest/trunking/v1/trunk/credential_list.py b/twilio/rest/trunking/v1/trunk/credential_list.py index 805d66260..cdfb5de7b 100644 --- a/twilio/rest/trunking/v1/trunk/credential_list.py +++ b/twilio/rest/trunking/v1/trunk/credential_list.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class CredentialListInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialList resource. :ivar sid: The unique string that we created to identify the CredentialList resource. diff --git a/twilio/rest/trunking/v1/trunk/ip_access_control_list.py b/twilio/rest/trunking/v1/trunk/ip_access_control_list.py index e528e0b1c..7f9b51a7a 100644 --- a/twilio/rest/trunking/v1/trunk/ip_access_control_list.py +++ b/twilio/rest/trunking/v1/trunk/ip_access_control_list.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class IpAccessControlListInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlList resource. :ivar sid: The unique string that we created to identify the IpAccessControlList resource. diff --git a/twilio/rest/trunking/v1/trunk/origination_url.py b/twilio/rest/trunking/v1/trunk/origination_url.py index 79dca9387..27f451d2d 100644 --- a/twilio/rest/trunking/v1/trunk/origination_url.py +++ b/twilio/rest/trunking/v1/trunk/origination_url.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class OriginationUrlInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OriginationUrl resource. :ivar sid: The unique string that we created to identify the OriginationUrl resource. diff --git a/twilio/rest/trunking/v1/trunk/phone_number.py b/twilio/rest/trunking/v1/trunk/phone_number.py index 98f53c408..06f9ded10 100644 --- a/twilio/rest/trunking/v1/trunk/phone_number.py +++ b/twilio/rest/trunking/v1/trunk/phone_number.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/trunking/v1/trunk/recording.py b/twilio/rest/trunking/v1/trunk/recording.py index 02d9ca290..7d03f6cda 100644 --- a/twilio/rest/trunking/v1/trunk/recording.py +++ b/twilio/rest/trunking/v1/trunk/recording.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/trusthub/v1/compliance_inquiries.py b/twilio/rest/trusthub/v1/compliance_inquiries.py index c5c88d915..41d061bdb 100644 --- a/twilio/rest/trusthub/v1/compliance_inquiries.py +++ b/twilio/rest/trusthub/v1/compliance_inquiries.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class ComplianceInquiriesInstance(InstanceResource): - """ :ivar inquiry_id: The unique ID used to start an embedded compliance registration session. :ivar inquiry_session_token: The session token used to start an embedded compliance registration session. diff --git a/twilio/rest/trusthub/v1/customer_profiles/__init__.py b/twilio/rest/trusthub/v1/customer_profiles/__init__.py index a82fafa4d..515820678 100644 --- a/twilio/rest/trusthub/v1/customer_profiles/__init__.py +++ b/twilio/rest/trusthub/v1/customer_profiles/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.py b/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.py index e1905c1ac..36005dc32 100644 --- a/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.py +++ b/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class CustomerProfilesChannelEndpointAssignmentInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Item Assignment resource. :ivar customer_profile_sid: The unique string that we created to identify the CustomerProfile resource. diff --git a/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.py b/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.py index c318b539c..18579c047 100644 --- a/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.py +++ b/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class CustomerProfilesEntityAssignmentsInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Item Assignment resource. :ivar customer_profile_sid: The unique string that we created to identify the CustomerProfile resource. diff --git a/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.py b/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.py index c3611f764..5c158ee0c 100644 --- a/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.py +++ b/twilio/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -52,9 +51,9 @@ def __init__( self.account_sid: Optional[str] = payload.get("account_sid") self.policy_sid: Optional[str] = payload.get("policy_sid") self.customer_profile_sid: Optional[str] = payload.get("customer_profile_sid") - self.status: Optional[ - "CustomerProfilesEvaluationsInstance.Status" - ] = payload.get("status") + self.status: Optional["CustomerProfilesEvaluationsInstance.Status"] = ( + payload.get("status") + ) self.results: Optional[List[object]] = payload.get("results") self.date_created: Optional[datetime] = deserialize.iso8601_datetime( payload.get("date_created") diff --git a/twilio/rest/trusthub/v1/end_user.py b/twilio/rest/trusthub/v1/end_user.py index 05f096b6c..09c84f292 100644 --- a/twilio/rest/trusthub/v1/end_user.py +++ b/twilio/rest/trusthub/v1/end_user.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class EndUserInstance(InstanceResource): - """ :ivar sid: The unique string created by Twilio to identify the End User resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the End User resource. diff --git a/twilio/rest/trusthub/v1/end_user_type.py b/twilio/rest/trusthub/v1/end_user_type.py index 391012e1a..997408b33 100644 --- a/twilio/rest/trusthub/v1/end_user_type.py +++ b/twilio/rest/trusthub/v1/end_user_type.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class EndUserTypeInstance(InstanceResource): - """ :ivar sid: The unique string that identifies the End-User Type resource. :ivar friendly_name: A human-readable description that is assigned to describe the End-User Type resource. Examples can include first name, last name, email, business name, etc diff --git a/twilio/rest/trusthub/v1/policies.py b/twilio/rest/trusthub/v1/policies.py index 6c0833521..82a501554 100644 --- a/twilio/rest/trusthub/v1/policies.py +++ b/twilio/rest/trusthub/v1/policies.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class PoliciesInstance(InstanceResource): - """ :ivar sid: The unique string that identifies the Policy resource. :ivar friendly_name: A human-readable description that is assigned to describe the Policy resource. Examples can include Primary Customer profile policy diff --git a/twilio/rest/trusthub/v1/supporting_document.py b/twilio/rest/trusthub/v1/supporting_document.py index f1f29a4af..b8bf6805f 100644 --- a/twilio/rest/trusthub/v1/supporting_document.py +++ b/twilio/rest/trusthub/v1/supporting_document.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/trusthub/v1/supporting_document_type.py b/twilio/rest/trusthub/v1/supporting_document_type.py index 204c0b53a..b6a91e24a 100644 --- a/twilio/rest/trusthub/v1/supporting_document_type.py +++ b/twilio/rest/trusthub/v1/supporting_document_type.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -23,7 +22,6 @@ class SupportingDocumentTypeInstance(InstanceResource): - """ :ivar sid: The unique string that identifies the Supporting Document Type resource. :ivar friendly_name: A human-readable description of the Supporting Document Type resource. diff --git a/twilio/rest/trusthub/v1/trust_products/__init__.py b/twilio/rest/trusthub/v1/trust_products/__init__.py index 627cc5a09..6c2520787 100644 --- a/twilio/rest/trusthub/v1/trust_products/__init__.py +++ b/twilio/rest/trusthub/v1/trust_products/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.py b/twilio/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.py index 42b5923e6..21c52f5a5 100644 --- a/twilio/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.py +++ b/twilio/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class TrustProductsChannelEndpointAssignmentInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Item Assignment resource. :ivar trust_product_sid: The unique string that we created to identify the CustomerProfile resource. diff --git a/twilio/rest/trusthub/v1/trust_products/trust_products_entity_assignments.py b/twilio/rest/trusthub/v1/trust_products/trust_products_entity_assignments.py index 306f9359b..4de853f05 100644 --- a/twilio/rest/trusthub/v1/trust_products/trust_products_entity_assignments.py +++ b/twilio/rest/trusthub/v1/trust_products/trust_products_entity_assignments.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class TrustProductsEntityAssignmentsInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Item Assignment resource. :ivar trust_product_sid: The unique string that we created to identify the TrustProduct resource. diff --git a/twilio/rest/trusthub/v1/trust_products/trust_products_evaluations.py b/twilio/rest/trusthub/v1/trust_products/trust_products_evaluations.py index f2d435c1c..1263d7296 100644 --- a/twilio/rest/trusthub/v1/trust_products/trust_products_evaluations.py +++ b/twilio/rest/trusthub/v1/trust_products/trust_products_evaluations.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/verify/v2/form.py b/twilio/rest/verify/v2/form.py index 9b17da9e4..915eab3bd 100644 --- a/twilio/rest/verify/v2/form.py +++ b/twilio/rest/verify/v2/form.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource diff --git a/twilio/rest/verify/v2/safelist.py b/twilio/rest/verify/v2/safelist.py index 45e5b220e..1bd1d8c0b 100644 --- a/twilio/rest/verify/v2/safelist.py +++ b/twilio/rest/verify/v2/safelist.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class SafelistInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the SafeList resource. :ivar phone_number: The phone number in SafeList. diff --git a/twilio/rest/verify/v2/service/__init__.py b/twilio/rest/verify/v2/service/__init__.py index 32685a079..7429a3528 100644 --- a/twilio/rest/verify/v2/service/__init__.py +++ b/twilio/rest/verify/v2/service/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -33,7 +32,6 @@ class ServiceInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the Service resource. :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Service resource. diff --git a/twilio/rest/verify/v2/service/access_token.py b/twilio/rest/verify/v2/service/access_token.py index 8c1bc46f8..8ea618a3a 100644 --- a/twilio/rest/verify/v2/service/access_token.py +++ b/twilio/rest/verify/v2/service/access_token.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values diff --git a/twilio/rest/verify/v2/service/entity/__init__.py b/twilio/rest/verify/v2/service/entity/__init__.py index 74629d9bb..e2250d501 100644 --- a/twilio/rest/verify/v2/service/entity/__init__.py +++ b/twilio/rest/verify/v2/service/entity/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class EntityInstance(InstanceResource): - """ :ivar sid: A 34 character string that uniquely identifies this Entity. :ivar identity: The unique external identifier for the Entity of the Service. This identifier should be immutable, not PII, length between 8 and 64 characters, and generated by your external system, such as your user's UUID, GUID, or SID. It can only contain dash (-) separated alphanumeric characters. diff --git a/twilio/rest/verify/v2/service/entity/challenge/__init__.py b/twilio/rest/verify/v2/service/entity/challenge/__init__.py index 65aab902b..791128fd6 100644 --- a/twilio/rest/verify/v2/service/entity/challenge/__init__.py +++ b/twilio/rest/verify/v2/service/entity/challenge/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -96,9 +95,9 @@ def __init__( self.status: Optional["ChallengeInstance.ChallengeStatuses"] = payload.get( "status" ) - self.responded_reason: Optional[ - "ChallengeInstance.ChallengeReasons" - ] = payload.get("responded_reason") + self.responded_reason: Optional["ChallengeInstance.ChallengeReasons"] = ( + payload.get("responded_reason") + ) self.details: Optional[Dict[str, object]] = payload.get("details") self.hidden_details: Optional[Dict[str, object]] = payload.get("hidden_details") self.metadata: Optional[Dict[str, object]] = payload.get("metadata") diff --git a/twilio/rest/verify/v2/service/entity/challenge/notification.py b/twilio/rest/verify/v2/service/entity/challenge/notification.py index a04fea65e..b4ac882ba 100644 --- a/twilio/rest/verify/v2/service/entity/challenge/notification.py +++ b/twilio/rest/verify/v2/service/entity/challenge/notification.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, values @@ -23,7 +22,6 @@ class NotificationInstance(InstanceResource): - """ :ivar sid: A 34 character string that uniquely identifies this Notification. :ivar account_sid: The unique SID identifier of the Account. diff --git a/twilio/rest/verify/v2/service/entity/factor.py b/twilio/rest/verify/v2/service/entity/factor.py index b46a64371..cf06f184c 100644 --- a/twilio/rest/verify/v2/service/entity/factor.py +++ b/twilio/rest/verify/v2/service/entity/factor.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/verify/v2/service/entity/new_factor.py b/twilio/rest/verify/v2/service/entity/new_factor.py index 71c793cc6..33cb1eb76 100644 --- a/twilio/rest/verify/v2/service/entity/new_factor.py +++ b/twilio/rest/verify/v2/service/entity/new_factor.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/verify/v2/service/messaging_configuration.py b/twilio/rest/verify/v2/service/messaging_configuration.py index 51d170ea4..49ae96a11 100644 --- a/twilio/rest/verify/v2/service/messaging_configuration.py +++ b/twilio/rest/verify/v2/service/messaging_configuration.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class MessagingConfigurationInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Service resource. :ivar service_sid: The SID of the [Service](https://www.twilio.com/docs/verify/api/service) that the resource is associated with. diff --git a/twilio/rest/verify/v2/service/rate_limit/__init__.py b/twilio/rest/verify/v2/service/rate_limit/__init__.py index f411c57e6..b301b8ef4 100644 --- a/twilio/rest/verify/v2/service/rate_limit/__init__.py +++ b/twilio/rest/verify/v2/service/rate_limit/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -25,7 +24,6 @@ class RateLimitInstance(InstanceResource): - """ :ivar sid: A 34 character string that uniquely identifies this Rate Limit. :ivar service_sid: The SID of the [Service](https://www.twilio.com/docs/verify/api/service) the resource is associated with. diff --git a/twilio/rest/verify/v2/service/rate_limit/bucket.py b/twilio/rest/verify/v2/service/rate_limit/bucket.py index a97b1e017..55dd7576a 100644 --- a/twilio/rest/verify/v2/service/rate_limit/bucket.py +++ b/twilio/rest/verify/v2/service/rate_limit/bucket.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class BucketInstance(InstanceResource): - """ :ivar sid: A 34 character string that uniquely identifies this Bucket. :ivar rate_limit_sid: The Twilio-provided string that uniquely identifies the Rate Limit resource. diff --git a/twilio/rest/verify/v2/service/verification.py b/twilio/rest/verify/v2/service/verification.py index 91acb3d7e..c4b504506 100644 --- a/twilio/rest/verify/v2/service/verification.py +++ b/twilio/rest/verify/v2/service/verification.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/verify/v2/service/verification_check.py b/twilio/rest/verify/v2/service/verification_check.py index 05a8399f8..a8c44f51e 100644 --- a/twilio/rest/verify/v2/service/verification_check.py +++ b/twilio/rest/verify/v2/service/verification_check.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, values diff --git a/twilio/rest/verify/v2/service/webhook.py b/twilio/rest/verify/v2/service/webhook.py index c7924db4b..85e9d2e40 100644 --- a/twilio/rest/verify/v2/service/webhook.py +++ b/twilio/rest/verify/v2/service/webhook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/verify/v2/template.py b/twilio/rest/verify/v2/template.py index ba9f5bd75..4f3791bd9 100644 --- a/twilio/rest/verify/v2/template.py +++ b/twilio/rest/verify/v2/template.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values @@ -23,7 +22,6 @@ class TemplateInstance(InstanceResource): - """ :ivar sid: A 34 character string that uniquely identifies a Verification Template. :ivar account_sid: The unique SID identifier of the Account. diff --git a/twilio/rest/verify/v2/verification_attempt.py b/twilio/rest/verify/v2/verification_attempt.py index 8ed27f677..a0c18a2ce 100644 --- a/twilio/rest/verify/v2/verification_attempt.py +++ b/twilio/rest/verify/v2/verification_attempt.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/verify/v2/verification_attempts_summary.py b/twilio/rest/verify/v2/verification_attempts_summary.py index d913c40b9..a2a1c0a97 100644 --- a/twilio/rest/verify/v2/verification_attempts_summary.py +++ b/twilio/rest/verify/v2/verification_attempts_summary.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional, Union from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/video/v1/composition.py b/twilio/rest/video/v1/composition.py index 2fead1420..ae6a52c9a 100644 --- a/twilio/rest/video/v1/composition.py +++ b/twilio/rest/video/v1/composition.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/video/v1/composition_hook.py b/twilio/rest/video/v1/composition_hook.py index e15c43c4a..58f91fec4 100644 --- a/twilio/rest/video/v1/composition_hook.py +++ b/twilio/rest/video/v1/composition_hook.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/video/v1/composition_settings.py b/twilio/rest/video/v1/composition_settings.py index 42d10368d..12da95a9d 100644 --- a/twilio/rest/video/v1/composition_settings.py +++ b/twilio/rest/video/v1/composition_settings.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class CompositionSettingsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CompositionSettings resource. :ivar friendly_name: The string that you assigned to describe the resource and that will be shown in the console diff --git a/twilio/rest/video/v1/recording.py b/twilio/rest/video/v1/recording.py index af0973776..c72ce8528 100644 --- a/twilio/rest/video/v1/recording.py +++ b/twilio/rest/video/v1/recording.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/video/v1/recording_settings.py b/twilio/rest/video/v1/recording_settings.py index 2e3a4750f..372b070ae 100644 --- a/twilio/rest/video/v1/recording_settings.py +++ b/twilio/rest/video/v1/recording_settings.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class RecordingSettingsInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the RecordingSettings resource. :ivar friendly_name: The string that you assigned to describe the resource and show the user in the console diff --git a/twilio/rest/video/v1/room/__init__.py b/twilio/rest/video/v1/room/__init__.py index bc87b88e2..71fb8a9e7 100644 --- a/twilio/rest/video/v1/room/__init__.py +++ b/twilio/rest/video/v1/room/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/video/v1/room/participant/__init__.py b/twilio/rest/video/v1/room/participant/__init__.py index f8a21ba6a..40c8dff50 100644 --- a/twilio/rest/video/v1/room/participant/__init__.py +++ b/twilio/rest/video/v1/room/participant/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/video/v1/room/participant/anonymize.py b/twilio/rest/video/v1/room/participant/anonymize.py index 415c5b1f2..2f1b29b26 100644 --- a/twilio/rest/video/v1/room/participant/anonymize.py +++ b/twilio/rest/video/v1/room/participant/anonymize.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, Optional from twilio.base import deserialize, values diff --git a/twilio/rest/video/v1/room/participant/published_track.py b/twilio/rest/video/v1/room/participant/published_track.py index a5156fee8..faedb7f71 100644 --- a/twilio/rest/video/v1/room/participant/published_track.py +++ b/twilio/rest/video/v1/room/participant/published_track.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/video/v1/room/participant/subscribe_rules.py b/twilio/rest/video/v1/room/participant/subscribe_rules.py index 28e3976d1..cc3a62cb2 100644 --- a/twilio/rest/video/v1/room/participant/subscribe_rules.py +++ b/twilio/rest/video/v1/room/participant/subscribe_rules.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, serialize, values @@ -23,7 +22,6 @@ class SubscribeRulesInstance(InstanceResource): - """ :ivar participant_sid: The SID of the Participant resource for the Subscribe Rules. :ivar room_sid: The SID of the Room resource for the Subscribe Rules diff --git a/twilio/rest/video/v1/room/participant/subscribed_track.py b/twilio/rest/video/v1/room/participant/subscribed_track.py index 627015a44..aaffdf5f9 100644 --- a/twilio/rest/video/v1/room/participant/subscribed_track.py +++ b/twilio/rest/video/v1/room/participant/subscribed_track.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/video/v1/room/recording_rules.py b/twilio/rest/video/v1/room/recording_rules.py index 68adaed07..9ebbb2408 100644 --- a/twilio/rest/video/v1/room/recording_rules.py +++ b/twilio/rest/video/v1/room/recording_rules.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union from twilio.base import deserialize, serialize, values @@ -23,7 +22,6 @@ class RecordingRulesInstance(InstanceResource): - """ :ivar room_sid: The SID of the Room resource for the Recording Rules :ivar rules: A collection of Recording Rules that describe how to include or exclude matching tracks for recording diff --git a/twilio/rest/video/v1/room/room_recording.py b/twilio/rest/video/v1/room/room_recording.py index 481422eac..284e2670c 100644 --- a/twilio/rest/video/v1/room/room_recording.py +++ b/twilio/rest/video/v1/room/room_recording.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values diff --git a/twilio/rest/voice/v1/archived_call.py b/twilio/rest/voice/v1/archived_call.py index de13e682d..a5272513a 100644 --- a/twilio/rest/voice/v1/archived_call.py +++ b/twilio/rest/voice/v1/archived_call.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import date from twilio.base.instance_context import InstanceContext diff --git a/twilio/rest/voice/v1/byoc_trunk.py b/twilio/rest/voice/v1/byoc_trunk.py index 88ed49dcb..31e3b6d4e 100644 --- a/twilio/rest/voice/v1/byoc_trunk.py +++ b/twilio/rest/voice/v1/byoc_trunk.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ByocTrunkInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the BYOC Trunk resource. :ivar sid: The unique string that that we created to identify the BYOC Trunk resource. diff --git a/twilio/rest/voice/v1/connection_policy/__init__.py b/twilio/rest/voice/v1/connection_policy/__init__.py index e1c26dc49..d4e626071 100644 --- a/twilio/rest/voice/v1/connection_policy/__init__.py +++ b/twilio/rest/voice/v1/connection_policy/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -27,7 +26,6 @@ class ConnectionPolicyInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Connection Policy resource. :ivar sid: The unique string that we created to identify the Connection Policy resource. diff --git a/twilio/rest/voice/v1/connection_policy/connection_policy_target.py b/twilio/rest/voice/v1/connection_policy/connection_policy_target.py index e617072cb..67b720914 100644 --- a/twilio/rest/voice/v1/connection_policy/connection_policy_target.py +++ b/twilio/rest/voice/v1/connection_policy/connection_policy_target.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class ConnectionPolicyTargetInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Target resource. :ivar connection_policy_sid: The SID of the Connection Policy that owns the Target. diff --git a/twilio/rest/voice/v1/dialing_permissions/__init__.py b/twilio/rest/voice/v1/dialing_permissions/__init__.py index 2de126841..1439a7ef6 100644 --- a/twilio/rest/voice/v1/dialing_permissions/__init__.py +++ b/twilio/rest/voice/v1/dialing_permissions/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Optional diff --git a/twilio/rest/voice/v1/dialing_permissions/bulk_country_update.py b/twilio/rest/voice/v1/dialing_permissions/bulk_country_update.py index 3e4966c72..d8f2e33eb 100644 --- a/twilio/rest/voice/v1/dialing_permissions/bulk_country_update.py +++ b/twilio/rest/voice/v1/dialing_permissions/bulk_country_update.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional from twilio.base import deserialize, values @@ -22,7 +21,6 @@ class BulkCountryUpdateInstance(InstanceResource): - """ :ivar update_count: The number of countries updated :ivar update_request: A bulk update request to change voice dialing country permissions stored as a URL-encoded, JSON array of update objects. For example : `[ { \"iso_code\": \"GB\", \"low_risk_numbers_enabled\": \"true\", \"high_risk_special_numbers_enabled\":\"true\", \"high_risk_tollfraud_numbers_enabled\": \"false\" } ]` diff --git a/twilio/rest/voice/v1/dialing_permissions/country/__init__.py b/twilio/rest/voice/v1/dialing_permissions/country/__init__.py index 424a9828d..63bf8fa63 100644 --- a/twilio/rest/voice/v1/dialing_permissions/country/__init__.py +++ b/twilio/rest/voice/v1/dialing_permissions/country/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -26,7 +25,6 @@ class CountryInstance(InstanceResource): - """ :ivar iso_code: The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). :ivar name: The name of the country. diff --git a/twilio/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.py b/twilio/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.py index ef46284f2..ce08da28b 100644 --- a/twilio/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.py +++ b/twilio/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import values @@ -23,7 +22,6 @@ class HighriskSpecialPrefixInstance(InstanceResource): - """ :ivar prefix: A prefix is a contiguous number range for a block of E.164 numbers that includes the E.164 assigned country code. For example, a North American Numbering Plan prefix like `+1510720` written like `+1(510) 720` matches all numbers inclusive from `+1(510) 720-0000` to `+1(510) 720-9999`. """ diff --git a/twilio/rest/voice/v1/dialing_permissions/settings.py b/twilio/rest/voice/v1/dialing_permissions/settings.py index 5b762c742..eba5fa801 100644 --- a/twilio/rest/voice/v1/dialing_permissions/settings.py +++ b/twilio/rest/voice/v1/dialing_permissions/settings.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from typing import Any, Dict, Optional, Union from twilio.base import values from twilio.base.instance_context import InstanceContext @@ -22,7 +21,6 @@ class SettingsInstance(InstanceResource): - """ :ivar dialing_permissions_inheritance: `true` if the sub-account will inherit voice dialing permissions from the Master Project; otherwise `false`. :ivar url: The absolute URL of this resource. diff --git a/twilio/rest/voice/v1/ip_record.py b/twilio/rest/voice/v1/ip_record.py index c81322d42..9e8a0f5c0 100644 --- a/twilio/rest/voice/v1/ip_record.py +++ b/twilio/rest/voice/v1/ip_record.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class IpRecordInstance(InstanceResource): - """ :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IP Record resource. :ivar sid: The unique string that we created to identify the IP Record resource. diff --git a/twilio/rest/voice/v1/source_ip_mapping.py b/twilio/rest/voice/v1/source_ip_mapping.py index b61bee9cc..7123ca1aa 100644 --- a/twilio/rest/voice/v1/source_ip_mapping.py +++ b/twilio/rest/voice/v1/source_ip_mapping.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class SourceIpMappingInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the IP Record resource. :ivar ip_record_sid: The Twilio-provided string that uniquely identifies the IP Record resource to map from. diff --git a/twilio/rest/wireless/v1/command.py b/twilio/rest/wireless/v1/command.py index 16d230adb..b669e287d 100644 --- a/twilio/rest/wireless/v1/command.py +++ b/twilio/rest/wireless/v1/command.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/wireless/v1/rate_plan.py b/twilio/rest/wireless/v1/rate_plan.py index 469c8997e..e6f6b4bcf 100644 --- a/twilio/rest/wireless/v1/rate_plan.py +++ b/twilio/rest/wireless/v1/rate_plan.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, serialize, values @@ -24,7 +23,6 @@ class RatePlanInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the RatePlan resource. :ivar unique_name: An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. diff --git a/twilio/rest/wireless/v1/sim/__init__.py b/twilio/rest/wireless/v1/sim/__init__.py index 7c4cf5a42..0060eb688 100644 --- a/twilio/rest/wireless/v1/sim/__init__.py +++ b/twilio/rest/wireless/v1/sim/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values diff --git a/twilio/rest/wireless/v1/sim/data_session.py b/twilio/rest/wireless/v1/sim/data_session.py index 75f7bc3bf..0b94a9836 100644 --- a/twilio/rest/wireless/v1/sim/data_session.py +++ b/twilio/rest/wireless/v1/sim/data_session.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import deserialize, values @@ -24,7 +23,6 @@ class DataSessionInstance(InstanceResource): - """ :ivar sid: The unique string that we created to identify the DataSession resource. :ivar sim_sid: The SID of the [Sim resource](https://www.twilio.com/docs/iot/wireless/api/sim-resource) that the Data Session is for. diff --git a/twilio/rest/wireless/v1/sim/usage_record.py b/twilio/rest/wireless/v1/sim/usage_record.py index eb15cf228..a759afe51 100644 --- a/twilio/rest/wireless/v1/sim/usage_record.py +++ b/twilio/rest/wireless/v1/sim/usage_record.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import serialize, values diff --git a/twilio/rest/wireless/v1/usage_record.py b/twilio/rest/wireless/v1/usage_record.py index 38c96f5d4..40992a01d 100644 --- a/twilio/rest/wireless/v1/usage_record.py +++ b/twilio/rest/wireless/v1/usage_record.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ - from datetime import datetime from typing import Any, Dict, List, Optional, Union, Iterator, AsyncIterator from twilio.base import serialize, values From b3ff781663663a865f03fddab08f604be9ccaa93 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Fri, 9 Feb 2024 14:39:34 +0530 Subject: [PATCH 3/3] chore: added make prettier in workflow --- .github/workflows/test-and-deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index d8f4f8bde..c9d4c023f 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -33,6 +33,7 @@ jobs: run: | pip install virtualenv --upgrade make install test-install + make prettier - name: Run the tests run: make test-with-coverage