Socket
Socket
Sign inDemoInstall

@twilio/cli-core

Package Overview
Dependencies
259
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @twilio/cli-core

Core functionality for the twilio-cli


Version published
Maintainers
1
Created

Changelog

Source

7.24.0 (2024-05-24)

Library - Chores

  • fixed path level server and description requirement in spec file (#247) (fe3db94)
  • fixing kebab-case error (#248) (31b1e31)

Api

  • Add ie1 as supported region for UserDefinedMessage and UserDefinedMessageSubscription.

Flex

  • Adding validated field to plugin_versions
  • Corrected the data type for runtime_domain, call_recording_webhook_url, crm_callback_url, crm_fallback_url, flex_url in Flex Configuration
  • Making routing optional in Create Interactions endpoint

Intelligence

  • Expose operator authoring apis to public visibility
  • Deleted language_code parameter from updating service in v2 (breaking change)
  • Add read_only_attached_operator_sids to v2 services

Numbers

  • Add API endpoint for GET Porting Webhook Configurations By Account SID
  • Remove bulk portability api under version /v1. (breaking change)
  • Removed porting_port_in_fetch.json files and move the content into porting_port_in.json files
  • Add API endpoint to deleting Webhook Configurations
  • Add Get Phone Number by Port in request SID and Phone Number SID api
  • Add Create Porting webhook configuration API
  • Added bundle_sid and losing_carrier_information fields to Create PortInRequest api to support Japan porting

Taskrouter

  • Add back routing_target property to tasks
  • Add back ignore_capacity property to tasks
  • Removing routing_target property to tasks due to revert
  • Removing ignore_capacity property to tasks due to revert
  • Add routing_target property to tasks
  • Add ignore_capacity property to tasks

Trusthub

  • Add new field errors to bundle as part of public API response in customer_profile.json and trust_product.json (breaking change)
  • Add themeSetId field in compliance_tollfree_inquiry.

Verify

  • Update friendly_name description on service docs

Readme

Source

twilio-cli-core

Learn with TwilioQuest

This module contains core functionality for the twilio-cli.

Requirements

Currently, Node 14+ is supported. We support the LTS versions of Node.

Base commands

BaseCommand

The base command class for all twilio-cli commands. Includes support for configuration management, logging, and output formatting.

TwilioClientCommand

A base command class for commands that need a Twilio client to make API requests. Handles loading credentials from the profile configuration.

Services

Output formats

Formatters to take a JSON array and write to the stdout. Current formatters include:

  • Columns (default, human readable)
  • JSON (raw API output)
  • TSV

CliRequestClient

A custom http client for the Twilio helper library to allow us to log API requests as well as modify the User-Agent header.

Usage with proxy

  • HTTP_PROXY: If using Twilio CLI behind a proxy, set the URL of the proxy in an environment variable called HTTP_PROXY.

Config

Manages the CLI configuration options, such as Twilio profiles and credentials.

Logger

Standardizes logging output of debug, info, warning, and error messages to stderr (all go to stderr to allow differentiation between command output and logging messages).

Keywords

FAQs

Last updated on 24 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc