Socket
Socket
Sign inDemoInstall

twilio

Package Overview
Dependencies
Maintainers
1
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twilio - npm Package Compare versions

Comparing version 4.15.0 to 4.16.0

lib/rest/messaging/v1/service/channelSender.d.ts

15

lib/rest/api/v2010/account/message.d.ts

@@ -11,2 +11,3 @@ /// <reference types="node" />

export type MessageDirection = "inbound" | "outbound-api" | "outbound-call" | "outbound-reply";
export type MessageRiskCheck = "enable" | "disable";
export type MessageScheduleType = "fixed";

@@ -28,5 +29,5 @@ export type MessageStatus = "queued" | "sending" | "sent" | "failed" | "delivered" | "undelivered" | "receiving" | "received" | "accepted" | "scheduled" | "read" | "partially_delivered" | "canceled";

export interface MessageListInstanceCreateOptions {
/** The recipient\\\'s phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses), e.g. `whatsapp:+15552229999`. */
/** The recipient\\\'s phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/messaging/channels), e.g. `whatsapp:+15552229999`. */
to: string;
/** The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api). */
/** The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource). */
statusCallback?: string;

@@ -63,3 +64,5 @@ /** The SID of the associated [TwiML Application](https://www.twilio.com/docs/usage/api/applications). If this parameter is provided, the `status_callback` parameter of this request is ignored; [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url) are sent to the TwiML App\\\'s `message_status_callback` URL. */

contentVariables?: string;
/** The sender\\\'s Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service\\\'s Sender Pool) or you can provide a specific sender from your Sender Pool. */
/** */
riskCheck?: MessageRiskCheck;
/** The sender\\\'s Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service\\\'s Sender Pool) or you can provide a specific sender from your Sender Pool. */
from?: string;

@@ -244,7 +247,7 @@ /** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service\\\'s Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool. */

/**
* The sender\'s phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent.
* The sender\'s phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent.
*/
from: string;
/**
* The recipient\'s phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g. `whatsapp:+15552229999`)
* The recipient\'s phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format) or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g. `whatsapp:+15552229999`)
*/

@@ -278,3 +281,3 @@ to: string;

/**
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) associated with the Message resource. The value is `null` if a Messaging Service was not used.
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) associated with the Message resource. The value is `null` if a Messaging Service was not used.
*/

@@ -281,0 +284,0 @@ messagingServiceSid: string;

2

lib/rest/api/v2010/account/message.js

@@ -261,2 +261,4 @@ "use strict";

data["ContentVariables"] = params["contentVariables"];
if (params["riskCheck"] !== undefined)
data["RiskCheck"] = params["riskCheck"];
if (params["from"] !== undefined)

@@ -263,0 +265,0 @@ data["From"] = params["from"];

@@ -20,9 +20,9 @@ /// <reference types="node" />

xTwilioWebhookEnabled?: ParticipantWebhookEnabledType;
/** The date that this resource was created. */
/** The date on which this resource was created. */
dateCreated?: Date;
/** The date that this resource was last updated. */
/** The date on which this resource was last updated. */
dateUpdated?: Date;
/** A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters. */
/** A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters. */
identity?: string;
/** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
/** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned. */
attributes?: string;

@@ -46,15 +46,15 @@ /** The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant. */

xTwilioWebhookEnabled?: ParticipantWebhookEnabledType;
/** A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters. */
/** A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters. */
identity?: string;
/** The address of the participant\\\'s device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with proxy_address) is only null when the participant is interacting from an SDK endpoint (see the \\\'identity\\\' field). */
/** The address of the participant\\\'s device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with `proxy_address`) is only null when the participant is interacting from an SDK endpoint (see the `identity` field). */
"messagingBinding.address"?: string;
/** The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the \\\'identity\\\' field). */
/** The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the `identity` field). */
"messagingBinding.proxyAddress"?: string;
/** The date that this resource was created. */
/** The date on which this resource was created. */
dateCreated?: Date;
/** The date that this resource was last updated. */
/** The date on which this resource was last updated. */
dateUpdated?: Date;
/** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
/** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned. */
attributes?: string;
/** The address of the Twilio phone number that is used in Group MMS. Communication mask for the Conversation participant with Identity. */
/** The address of the Twilio phone number that is used in Group MMS. */
"messagingBinding.projectedAddress"?: string;

@@ -207,7 +207,7 @@ /** The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant. */

/**
* A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
* A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
*/
identity: string;
/**
* An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned.
* An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned.
*/

@@ -224,7 +224,7 @@ attributes: string;

/**
* The date that this resource was created.
* The date on which this resource was created.
*/
dateCreated: Date;
/**
* The date that this resource was last updated.
* The date on which this resource was last updated.
*/

@@ -231,0 +231,0 @@ dateUpdated: Date;

@@ -137,3 +137,3 @@ /// <reference types="node" />

/**
* Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#end_reason).
* Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#end_reason).
*/

@@ -151,3 +151,3 @@ endReason: string;

/**
* Object containing information about the participant\'s data from the room. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#properties) for more information.
* Object containing information about the participant\'s data from the room. See [below](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#properties) for more information.
*/

@@ -157,3 +157,3 @@ properties: any;

/**
* Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#publisher_info) for more information.
* Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#publisher_info) for more information.
*/

@@ -160,0 +160,0 @@ publisherInfo: any;

@@ -20,9 +20,9 @@ /// <reference types="node" />

export interface MediaProcessorListInstanceCreateOptions {
/** The [Media Extension](/docs/live/api/media-extensions-overview) name or URL. Ex: `video-composer-v2` */
/** The [Media Extension](/docs/live/media-extensions-overview) name or URL. Ex: `video-composer-v2` */
extension: string;
/** The context of the Media Extension, represented as a JSON dictionary. See the documentation for the specific [Media Extension](/docs/live/api/media-extensions-overview) you are using for more information about the context to send. */
/** The context of the Media Extension, represented as a JSON dictionary. See the documentation for the specific [Media Extension](/docs/live/media-extensions-overview) you are using for more information about the context to send. */
extensionContext: string;
/** User-defined environment variables for the Media Extension, represented as a JSON dictionary of key/value strings. See the documentation for the specific [Media Extension](/docs/live/api/media-extensions-overview) you are using for more information about whether you need to provide this. */
/** User-defined environment variables for the Media Extension, represented as a JSON dictionary of key/value strings. See the documentation for the specific [Media Extension](/docs/live/media-extensions-overview) you are using for more information about whether you need to provide this. */
extensionEnvironment?: any;
/** The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/status-callbacks) for details. */
/** The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/api/status-callbacks) for details. */
statusCallback?: string;

@@ -160,7 +160,7 @@ /** The HTTP method Twilio should use to call the `status_callback` URL. Can be `POST` or `GET` and the default is `POST`. */

/**
* The [Media Extension](/docs/live/api/media-extensions-overview) name or URL. Ex: `video-composer-v2`
* The [Media Extension](/docs/live/media-extensions-overview) name or URL. Ex: `video-composer-v2`
*/
extension: string;
/**
* The context of the Media Extension, represented as a JSON dictionary. See the documentation for the specific [Media Extension](/docs/live/api/media-extensions-overview) you are using for more information about the context to send.
* The context of the Media Extension, represented as a JSON dictionary. See the documentation for the specific [Media Extension](/docs/live/media-extensions-overview) you are using for more information about the context to send.
*/

@@ -178,3 +178,3 @@ extensionContext: string;

/**
* The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/status-callbacks) for details.
* The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/api/status-callbacks) for details.
*/

@@ -181,0 +181,0 @@ statusCallback: string;

@@ -175,3 +175,3 @@ /// <reference types="node" />

/**
* The URL to which Twilio will send asynchronous webhook requests for every MediaRecording event. See [Status Callbacks](/docs/live/status-callbacks) for more details.
* The URL to which Twilio will send asynchronous webhook requests for every MediaRecording event. See [Status Callbacks](/docs/live/api/status-callbacks) for more details.
*/

@@ -178,0 +178,0 @@ statusCallback: string;

@@ -24,3 +24,3 @@ /// <reference types="node" />

video?: boolean;
/** The URL to which Twilio will send asynchronous webhook requests for every PlayerStreamer event. See [Status Callbacks](/docs/live/status-callbacks) for more details. */
/** The URL to which Twilio will send asynchronous webhook requests for every PlayerStreamer event. See [Status Callbacks](/docs/live/api/status-callbacks) for more details. */
statusCallback?: string;

@@ -174,3 +174,3 @@ /** The HTTP method Twilio should use to call the `status_callback` URL. Can be `POST` or `GET` and the default is `POST`. */

/**
* The URL to which Twilio will send asynchronous webhook requests for every PlayerStreamer event. See [Status Callbacks](/docs/live/status-callbacks) for more details.
* The URL to which Twilio will send asynchronous webhook requests for every PlayerStreamer event. See [Status Callbacks](/docs/live/api/status-callbacks) for more details.
*/

@@ -177,0 +177,0 @@ statusCallback: string;

@@ -7,2 +7,3 @@ /// <reference types="node" />

import { AlphaSenderListInstance } from "./service/alphaSender";
import { ChannelSenderListInstance } from "./service/channelSender";
import { PhoneNumberListInstance } from "./service/phoneNumber";

@@ -122,2 +123,3 @@ import { ShortCodeListInstance } from "./service/shortCode";

alphaSenders: AlphaSenderListInstance;
channelSenders: ChannelSenderListInstance;
phoneNumbers: PhoneNumberListInstance;

@@ -174,2 +176,3 @@ shortCodes: ShortCodeListInstance;

protected _alphaSenders?: AlphaSenderListInstance;
protected _channelSenders?: ChannelSenderListInstance;
protected _phoneNumbers?: PhoneNumberListInstance;

@@ -181,2 +184,3 @@ protected _shortCodes?: ShortCodeListInstance;

get alphaSenders(): AlphaSenderListInstance;
get channelSenders(): ChannelSenderListInstance;
get phoneNumbers(): PhoneNumberListInstance;

@@ -358,2 +362,6 @@ get shortCodes(): ShortCodeListInstance;

/**
* Access the channelSenders.
*/
channelSenders(): ChannelSenderListInstance;
/**
* Access the phoneNumbers.

@@ -360,0 +368,0 @@ */

@@ -26,2 +26,3 @@ "use strict";

const alphaSender_1 = require("./service/alphaSender");
const channelSender_1 = require("./service/channelSender");
const phoneNumber_1 = require("./service/phoneNumber");

@@ -46,2 +47,8 @@ const shortCode_1 = require("./service/shortCode");

}
get channelSenders() {
this._channelSenders =
this._channelSenders ||
(0, channelSender_1.ChannelSenderListInstance)(this._version, this._solution.sid);
return this._channelSenders;
}
get phoneNumbers() {

@@ -221,2 +228,8 @@ this._phoneNumbers =

/**
* Access the channelSenders.
*/
channelSenders() {
return this._proxy.channelSenders;
}
/**
* Access the phoneNumbers.

@@ -223,0 +236,0 @@ */

import NumbersBase from "../NumbersBase";
import Version from "../../base/Version";
import { AuthorizationDocumentListInstance } from "./v2/authorizationDocument";
import { BulkHostedNumberOrderListInstance } from "./v2/bulkHostedNumberOrder";
import { HostedNumberOrderListInstance } from "./v2/hostedNumberOrder";

@@ -15,2 +16,4 @@ import { RegulatoryComplianceListInstance } from "./v2/regulatoryCompliance";

protected _authorizationDocuments?: AuthorizationDocumentListInstance;
/** bulkHostedNumberOrders - { Twilio.Numbers.V2.BulkHostedNumberOrderListInstance } resource */
protected _bulkHostedNumberOrders?: BulkHostedNumberOrderListInstance;
/** hostedNumberOrders - { Twilio.Numbers.V2.HostedNumberOrderListInstance } resource */

@@ -22,2 +25,4 @@ protected _hostedNumberOrders?: HostedNumberOrderListInstance;

get authorizationDocuments(): AuthorizationDocumentListInstance;
/** Getter for bulkHostedNumberOrders resource */
get bulkHostedNumberOrders(): BulkHostedNumberOrderListInstance;
/** Getter for hostedNumberOrders resource */

@@ -24,0 +29,0 @@ get hostedNumberOrders(): HostedNumberOrderListInstance;

@@ -21,2 +21,3 @@ "use strict";

const authorizationDocument_1 = require("./v2/authorizationDocument");
const bulkHostedNumberOrder_1 = require("./v2/bulkHostedNumberOrder");
const hostedNumberOrder_1 = require("./v2/hostedNumberOrder");

@@ -39,2 +40,8 @@ const regulatoryCompliance_1 = require("./v2/regulatoryCompliance");

}
/** Getter for bulkHostedNumberOrders resource */
get bulkHostedNumberOrders() {
this._bulkHostedNumberOrders =
this._bulkHostedNumberOrders || (0, bulkHostedNumberOrder_1.BulkHostedNumberOrderListInstance)(this);
return this._bulkHostedNumberOrders;
}
/** Getter for hostedNumberOrders resource */

@@ -41,0 +48,0 @@ get hostedNumberOrders() {

@@ -10,2 +10,3 @@ /// <reference types="node" />

import { SupportingDocumentTypeListInstance } from "./regulatoryCompliance/supportingDocumentType";
export type RegulatoryComplianceEndUserType = "individual" | "business";
export interface RegulatoryComplianceSolution {

@@ -12,0 +13,0 @@ }

@@ -39,3 +39,3 @@ /// <reference types="node" />

videoCodecs?: Array<RoomVideoCodec>;
/** The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-address-whitelisting#group-rooms-media-servers). ***This feature is not available in `peer-to-peer` rooms.*** */
/** The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#group-rooms-media-servers). ***This feature is not available in `peer-to-peer` rooms.*** */
mediaRegion?: string;

@@ -260,3 +260,3 @@ /** A collection of Recording Rules that describe how to include or exclude matching tracks for recording */

/**
* The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-address-whitelisting#media-servers). ***This feature is not available in `peer-to-peer` rooms.***
* The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#media-servers). ***This feature is not available in `peer-to-peer` rooms.***
*/

@@ -263,0 +263,0 @@ mediaRegion: string;

@@ -21,3 +21,3 @@ /// <reference types="node" />

highRiskSpecialNumbersEnabled?: boolean;
/** Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`. */
/** Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`. */
highRiskTollfraudNumbersEnabled?: boolean;

@@ -47,3 +47,3 @@ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

highRiskSpecialNumbersEnabled?: boolean;
/** Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`. */
/** Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`. */
highRiskTollfraudNumbersEnabled?: boolean;

@@ -69,3 +69,3 @@ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

highRiskSpecialNumbersEnabled?: boolean;
/** Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`. */
/** Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`. */
highRiskTollfraudNumbersEnabled?: boolean;

@@ -158,3 +158,3 @@ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

/**
* Whether dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
* Whether dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
*/

@@ -161,0 +161,0 @@ highRiskTollfraudNumbersEnabled: boolean;

{
"name": "twilio",
"description": "A Twilio helper library",
"version": "4.15.0",
"version": "4.16.0",
"author": "API Team <api@twilio.com>",

@@ -6,0 +6,0 @@ "contributors": [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc