Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

twilio

Package Overview
Dependencies
Maintainers
1
Versions
305
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.17.0 to 4.18.0

lib/rest/api/v2010/safelist.d.ts

5

lib/rest/api/V2010.d.ts
import ApiBase from "../ApiBase";
import Version from "../../base/Version";
import { AccountListInstance } from "./v2010/account";
import { SafelistListInstance } from "./v2010/safelist";
import { AccountContext } from "./v2010/account";

@@ -14,2 +15,4 @@ export default class V2010 extends Version {

protected _accounts?: AccountListInstance;
/** safelist - { Twilio.Api.V2010.SafelistListInstance } resource */
protected _safelist?: SafelistListInstance;
/** account - { Twilio.Api.V2010.AccountContext } resource */

@@ -19,4 +22,6 @@ protected _account?: AccountContext;

get accounts(): AccountListInstance;
/** Getter for safelist resource */
get safelist(): SafelistListInstance;
/** Getter for account resource */
get account(): AccountContext;
}

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

const account_1 = require("./v2010/account");
const safelist_1 = require("./v2010/safelist");
class V2010 extends Version_1.default {

@@ -36,2 +37,7 @@ /**

}
/** Getter for safelist resource */
get safelist() {
this._safelist = this._safelist || (0, safelist_1.SafelistListInstance)(this);
return this._safelist;
}
/** Getter for account resource */

@@ -38,0 +44,0 @@ get account() {

2

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

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

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. */
/** 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 belongs 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;

@@ -69,0 +69,0 @@ /** 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. */

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

type?: ChannelChannelType;
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this channel belongs to. */
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to. */
messagingServiceSid?: string;

@@ -127,3 +127,3 @@ }

/**
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this channel belongs to.
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to.
*/

@@ -130,0 +130,0 @@ messagingServiceSid: string;

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

export type AddressConfigurationMethod = "GET" | "POST";
export type AddressConfigurationType = "sms" | "whatsapp" | "messenger" | "gbm";
export type AddressConfigurationType = "sms" | "whatsapp" | "messenger" | "gbm" | "email";
/**

@@ -11,0 +11,0 @@ * Options to pass to update a AddressConfigurationInstance

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

defaultChatServiceSid?: string;
/** The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to use when creating a conversation. */
/** The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to use when creating a conversation. */
defaultMessagingServiceSid?: string;

@@ -91,3 +91,3 @@ /** Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. */

/**
* The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) used when creating a conversation.
* The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) used when creating a conversation.
*/

@@ -94,0 +94,0 @@ defaultMessagingServiceSid: string;

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

attributes?: string;
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. */
messagingServiceSid?: string;

@@ -43,2 +43,6 @@ /** */

uniqueName?: string;
/** The default email address that will be used when sending outbound emails in this conversation. */
"bindings.email.address"?: string;
/** The default name that will be used when sending outbound emails in this conversation. */
"bindings.email.name"?: string;
}

@@ -59,3 +63,3 @@ /**

dateUpdated?: Date;
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. */
messagingServiceSid?: string;

@@ -70,2 +74,6 @@ /** 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. */

"timers.closed"?: string;
/** The default email address that will be used when sending outbound emails in this conversation. */
"bindings.email.address"?: string;
/** The default name that will be used when sending outbound emails in this conversation. */
"bindings.email.name"?: string;
}

@@ -233,3 +241,3 @@ /**

/**
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to.
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
*/

@@ -236,0 +244,0 @@ messagingServiceSid: string;

@@ -112,2 +112,6 @@ "use strict";

data["UniqueName"] = params["uniqueName"];
if (params["bindings.email.address"] !== undefined)
data["Bindings.Email.Address"] = params["bindings.email.address"];
if (params["bindings.email.name"] !== undefined)
data["Bindings.Email.Name"] = params["bindings.email.name"];
const headers = {};

@@ -263,2 +267,6 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

data["Timers.Closed"] = params["timers.closed"];
if (params["bindings.email.address"] !== undefined)
data["Bindings.Email.Address"] = params["bindings.email.address"];
if (params["bindings.email.name"] !== undefined)
data["Bindings.Email.Name"] = params["bindings.email.name"];
const headers = {};

@@ -265,0 +273,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

@@ -32,2 +32,4 @@ /// <reference types="node" />

attributes?: string;
/** The subject of the message, can be up to 256 characters long. */
subject?: string;
}

@@ -56,2 +58,4 @@ /**

contentVariables?: string;
/** The subject of the message, can be up to 256 characters long. */
subject?: string;
}

@@ -58,0 +62,0 @@ /**

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

data["Attributes"] = params["attributes"];
if (params["subject"] !== undefined)
data["Subject"] = params["subject"];
const headers = {};

@@ -237,2 +239,4 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

data["ContentVariables"] = params["contentVariables"];
if (params["subject"] !== undefined)
data["Subject"] = params["subject"];
const headers = {};

@@ -239,0 +243,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

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

attributes?: string;
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. */
messagingServiceSid?: string;

@@ -43,2 +43,6 @@ /** */

uniqueName?: string;
/** The default email address that will be used when sending outbound emails in this conversation. */
"bindings.email.address"?: string;
/** The default name that will be used when sending outbound emails in this conversation. */
"bindings.email.name"?: string;
}

@@ -57,3 +61,3 @@ /**

attributes?: string;
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. */
messagingServiceSid?: string;

@@ -70,2 +74,6 @@ /** The date that this resource was created. */

"timers.closed"?: string;
/** The default email address that will be used when sending outbound emails in this conversation. */
"bindings.email.address"?: string;
/** The default name that will be used when sending outbound emails in this conversation. */
"bindings.email.name"?: string;
}

@@ -234,3 +242,3 @@ /**

/**
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to.
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
*/

@@ -237,0 +245,0 @@ messagingServiceSid: string;

@@ -117,2 +117,6 @@ "use strict";

data["UniqueName"] = params["uniqueName"];
if (params["bindings.email.address"] !== undefined)
data["Bindings.Email.Address"] = params["bindings.email.address"];
if (params["bindings.email.name"] !== undefined)
data["Bindings.Email.Name"] = params["bindings.email.name"];
const headers = {};

@@ -271,2 +275,6 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

data["Timers.Closed"] = params["timers.closed"];
if (params["bindings.email.address"] !== undefined)
data["Bindings.Email.Address"] = params["bindings.email.address"];
if (params["bindings.email.name"] !== undefined)
data["Bindings.Email.Name"] = params["bindings.email.name"];
const headers = {};

@@ -273,0 +281,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

@@ -32,2 +32,4 @@ /// <reference types="node" />

attributes?: string;
/** The subject of the message, can be up to 256 characters long. */
subject?: string;
}

@@ -56,2 +58,4 @@ /**

contentVariables?: string;
/** The subject of the message, can be up to 256 characters long. */
subject?: string;
}

@@ -58,0 +62,0 @@ /**

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

data["Attributes"] = params["attributes"];
if (params["subject"] !== undefined)
data["Subject"] = params["subject"];
const headers = {};

@@ -245,2 +247,4 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

data["ContentVariables"] = params["contentVariables"];
if (params["subject"] !== undefined)
data["Subject"] = params["subject"];
const headers = {};

@@ -247,0 +251,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

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

agent_conv_end_methods: any;
citrix_voice_vdi: any;
}

@@ -287,2 +288,6 @@ export declare class ConfigurationInstance {

agentConvEndMethods: any;
/**
* Citrix voice vdi configuration and settings.
*/
citrixVoiceVdi: any;
private get _proxy();

@@ -358,2 +363,3 @@ /**

agentConvEndMethods: any;
citrixVoiceVdi: any;
};

@@ -360,0 +366,0 @@ [inspect.custom](_depth: any, options: InspectOptions): string;

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

this.agentConvEndMethods = payload.agent_conv_end_methods;
this.citrixVoiceVdi = payload.citrix_voice_vdi;
this._solution = {};

@@ -175,2 +176,3 @@ }

agentConvEndMethods: this.agentConvEndMethods,
citrixVoiceVdi: this.citrixVoiceVdi,
};

@@ -177,0 +179,0 @@ }

@@ -8,5 +8,5 @@ /// <reference types="node" />

import { InteractionChannelParticipantListInstance } from "./interactionChannel/interactionChannelParticipant";
export type InteractionChannelChannelStatus = "setup" | "active" | "failed" | "closed";
export type InteractionChannelStatus = "closed" | "wrapup";
export type InteractionChannelChannelStatus = "setup" | "active" | "failed" | "closed" | "inactive";
export type InteractionChannelType = "voice" | "sms" | "email" | "web" | "whatsapp" | "chat" | "messenger" | "gbm";
export type InteractionChannelUpdateChannelStatus = "closed" | "inactive";
/**

@@ -17,4 +17,4 @@ * Options to pass to update a InteractionChannelInstance

/** */
status: InteractionChannelStatus;
/** Optional. The state of associated tasks. If not specified, all tasks will be set to `wrapping`. */
status: InteractionChannelUpdateChannelStatus;
/** It changes the state of associated tasks. Routing status is required, When the channel status is set to `inactive`. Allowed Value for routing status is `closed`. Otherwise Optional, if not specified, all tasks will be set to `wrapping`. */
routing?: any;

@@ -21,0 +21,0 @@ }

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

campaignId: string;
/** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with. */
/** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. */
messagingServiceSid: string;

@@ -59,3 +59,3 @@ }

/**
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with.
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
*/

@@ -62,0 +62,0 @@ messagingServiceSid: string;

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

synchronousValidation?: boolean;
/** A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..] */
/** A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. */
usecase?: string;

@@ -83,3 +83,3 @@ /** A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. */

synchronousValidation?: boolean;
/** A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]. */
/** A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. */
usecase?: string;

@@ -310,3 +310,3 @@ /** A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. */

/**
* A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]
* A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
*/

@@ -313,0 +313,0 @@ usecase: string;

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

/**
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with.
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
*/

@@ -163,0 +163,0 @@ messagingServiceSid: string;

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

email?: string;
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: AuthorizationDocumentStatus;

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

email?: string;
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: AuthorizationDocumentStatus;

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

email?: string;
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: AuthorizationDocumentStatus;

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

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

export interface DependentHostedNumberOrderListInstanceEachOptions {
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: DependentHostedNumberOrderStatus;

@@ -34,3 +34,3 @@ /** An E164 formatted phone number hosted by this HostedNumberOrder. */

export interface DependentHostedNumberOrderListInstanceOptions {
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: DependentHostedNumberOrderStatus;

@@ -52,3 +52,3 @@ /** An E164 formatted phone number hosted by this HostedNumberOrder. */

export interface DependentHostedNumberOrderListInstancePageOptions {
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: DependentHostedNumberOrderStatus;

@@ -55,0 +55,0 @@ /** An E164 formatted phone number hosted by this HostedNumberOrder. */

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

/**
* A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) resource that represents the phone number being hosted.
* A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted.
*/

@@ -196,3 +196,3 @@ incomingPhoneNumberSid: string;

/**
* A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents) the user needs to sign.
* A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign.
*/

@@ -199,0 +199,0 @@ signingDocumentSid: string;

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

email?: string;
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: AuthorizationDocumentStatus;

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

email?: string;
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: AuthorizationDocumentStatus;

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

email?: string;
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: AuthorizationDocumentStatus;

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

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

export interface DependentHostedNumberOrderListInstanceEachOptions {
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: DependentHostedNumberOrderStatus;

@@ -37,3 +37,3 @@ /** An E164 formatted phone number hosted by this HostedNumberOrder. */

export interface DependentHostedNumberOrderListInstanceOptions {
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: DependentHostedNumberOrderStatus;

@@ -57,3 +57,3 @@ /** An E164 formatted phone number hosted by this HostedNumberOrder. */

export interface DependentHostedNumberOrderListInstancePageOptions {
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
/** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
status?: DependentHostedNumberOrderStatus;

@@ -60,0 +60,0 @@ /** An E164 formatted phone number hosted by this HostedNumberOrder. */

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

/**
* A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) resource that represents the phone number being hosted.
* A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted.
*/

@@ -246,3 +246,3 @@ incomingPhoneNumberSid: string;

/**
* A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents) the user needs to sign.
* A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign.
*/

@@ -249,0 +249,0 @@ signingDocumentSid: string;

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

interceptCallbackUrl?: string;
/** The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. */
/** The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. */
outOfSessionCallbackUrl?: string;

@@ -49,3 +49,3 @@ /** The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship. */

interceptCallbackUrl?: string;
/** The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. */
/** The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. */
outOfSessionCallbackUrl?: string;

@@ -211,3 +211,3 @@ /** The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship. */

/**
* The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
* The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
*/

@@ -214,0 +214,0 @@ outOfSessionCallbackUrl: string;

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

export interface MessagingConfigurationContextUpdateOptions {
/** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. */
/** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. */
messagingServiceSid: string;

@@ -20,3 +20,3 @@ }

country: string;
/** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. */
/** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. */
messagingServiceSid: string;

@@ -139,3 +139,3 @@ }

/**
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration.
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
*/

@@ -142,0 +142,0 @@ messagingServiceSid: string;

{
"name": "twilio",
"description": "A Twilio helper library",
"version": "4.17.0",
"version": "4.18.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