Socket
Socket
Sign inDemoInstall

twilio

Package Overview
Dependencies
48
Maintainers
1
Versions
293
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.20.0 to 5.0.0-rc.1

lib/rest/numbers/v1/eligibility.d.ts

9

lib/base/RequestClient.js

@@ -161,4 +161,9 @@ "use strict";

};
if (opts.data) {
options.data = qs_1.default.stringify(opts.data, { arrayFormat: "repeat" });
if (opts.data && options.headers) {
if (options.headers["Content-Type"] === "application/x-www-form-urlencoded") {
options.data = qs_1.default.stringify(opts.data, { arrayFormat: "repeat" });
}
else if (options.headers["Content-Type"] === "application/json") {
options.data = opts.data;
}
}

@@ -165,0 +170,0 @@ if (opts.params) {

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

connect_app_sid: string;
date_created: Date;
date_updated: Date;
permissions: Array<AuthorizedConnectAppPermission>;

@@ -117,2 +119,10 @@ uri: string;

/**
* The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
*/
dateCreated: Date;
/**
* The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
*/
dateUpdated: Date;
/**
* The set of permissions that you authorized for the Connect App. Can be: `get-all` or `post-all`.

@@ -146,2 +156,4 @@ */

connectAppSid: string;
dateCreated: Date;
dateUpdated: Date;
permissions: AuthorizedConnectAppPermission[];

@@ -148,0 +160,0 @@ uri: string;

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

this.connectAppSid = payload.connect_app_sid;
this.dateCreated = deserialize.rfc2822DateTime(payload.date_created);
this.dateUpdated = deserialize.rfc2822DateTime(payload.date_updated);
this.permissions = payload.permissions;

@@ -106,2 +108,4 @@ this.uri = payload.uri;

connectAppSid: this.connectAppSid,
dateCreated: this.dateCreated,
dateUpdated: this.dateUpdated,
permissions: this.permissions,

@@ -108,0 +112,0 @@ uri: this.uri,

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

startTime?: Date;
/** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
startTimeBefore?: Date;
/** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
startTimeAfter?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTime?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTimeBefore?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTimeAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -165,12 +157,4 @@ pageSize?: number;

startTime?: Date;
/** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
startTimeBefore?: Date;
/** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
startTimeAfter?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTime?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTimeBefore?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTimeAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -195,12 +179,4 @@ pageSize?: number;

startTime?: Date;
/** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
startTimeBefore?: Date;
/** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
startTimeAfter?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTime?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTimeBefore?: Date;
/** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
endTimeAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -207,0 +183,0 @@ pageSize?: number;

@@ -461,12 +461,4 @@ "use strict";

data["StartTime"] = serialize.iso8601DateTime(params["startTime"]);
if (params["startTimeBefore"] !== undefined)
data["StartTime<"] = serialize.iso8601DateTime(params["startTimeBefore"]);
if (params["startTimeAfter"] !== undefined)
data["StartTime>"] = serialize.iso8601DateTime(params["startTimeAfter"]);
if (params["endTime"] !== undefined)
data["EndTime"] = serialize.iso8601DateTime(params["endTime"]);
if (params["endTimeBefore"] !== undefined)
data["EndTime<"] = serialize.iso8601DateTime(params["endTimeBefore"]);
if (params["endTimeAfter"] !== undefined)
data["EndTime>"] = serialize.iso8601DateTime(params["endTimeAfter"]);
if (params["pageSize"] !== undefined)

@@ -473,0 +465,0 @@ data["PageSize"] = params["pageSize"];

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

dateCreated?: Date;
/** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
dateCreatedBefore?: Date;
/** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
dateCreatedAfter?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdated?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdatedBefore?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdatedAfter?: Date;
/** The string that identifies the Conference resources to read. */

@@ -58,12 +50,4 @@ friendlyName?: string;

dateCreated?: Date;
/** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
dateCreatedBefore?: Date;
/** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
dateCreatedAfter?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdated?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdatedBefore?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdatedAfter?: Date;
/** The string that identifies the Conference resources to read. */

@@ -84,12 +68,4 @@ friendlyName?: string;

dateCreated?: Date;
/** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
dateCreatedBefore?: Date;
/** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
dateCreatedAfter?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdated?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdatedBefore?: Date;
/** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
dateUpdatedAfter?: Date;
/** The string that identifies the Conference resources to read. */

@@ -96,0 +72,0 @@ friendlyName?: string;

@@ -198,12 +198,4 @@ "use strict";

data["DateCreated"] = serialize.iso8601Date(params["dateCreated"]);
if (params["dateCreatedBefore"] !== undefined)
data["DateCreated<"] = serialize.iso8601Date(params["dateCreatedBefore"]);
if (params["dateCreatedAfter"] !== undefined)
data["DateCreated>"] = serialize.iso8601Date(params["dateCreatedAfter"]);
if (params["dateUpdated"] !== undefined)
data["DateUpdated"] = serialize.iso8601Date(params["dateUpdated"]);
if (params["dateUpdatedBefore"] !== undefined)
data["DateUpdated<"] = serialize.iso8601Date(params["dateUpdatedBefore"]);
if (params["dateUpdatedAfter"] !== undefined)
data["DateUpdated>"] = serialize.iso8601Date(params["dateUpdatedAfter"]);
if (params["friendlyName"] !== undefined)

@@ -210,0 +202,0 @@ data["FriendlyName"] = params["friendlyName"];

@@ -85,6 +85,2 @@ /// <reference types="node" />

dateSent?: Date;
/** Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date). */
dateSentBefore?: Date;
/** Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date). */
dateSentAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -109,6 +105,2 @@ pageSize?: number;

dateSent?: Date;
/** Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date). */
dateSentBefore?: Date;
/** Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date). */
dateSentAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -129,6 +121,2 @@ pageSize?: number;

dateSent?: Date;
/** Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date). */
dateSentBefore?: Date;
/** Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date). */
dateSentAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -135,0 +123,0 @@ pageSize?: number;

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

data["DateSent"] = serialize.iso8601DateTime(params["dateSent"]);
if (params["dateSentBefore"] !== undefined)
data["DateSent<"] = serialize.iso8601DateTime(params["dateSentBefore"]);
if (params["dateSentAfter"] !== undefined)
data["DateSent>"] = serialize.iso8601DateTime(params["dateSentAfter"]);
if (params["pageSize"] !== undefined)

@@ -306,0 +302,0 @@ data["PageSize"] = params["pageSize"];

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

/**
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
* The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
*/

@@ -136,0 +136,0 @@ types: any;

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

/**
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
* The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
*/

@@ -151,0 +151,0 @@ types: any;

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

/**
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
* The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
*/

@@ -153,0 +153,0 @@ types: any;

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

mediaSid?: string;
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
contentSid?: string;

@@ -254,3 +254,3 @@ /** A structurally valid JSON string that contains values to resolve Rich Content template variables. */

/**
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template.
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template.
*/

@@ -257,0 +257,0 @@ contentSid: string;

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

mediaSid?: string;
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
contentSid?: string;

@@ -260,3 +260,3 @@ /** A structurally valid JSON string that contains values to resolve Rich Content template variables. */

/**
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template.
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template.
*/

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

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

export interface SubscribedEventContextUpdateOptions {
/** The schema version that the Subscription should use. */
/** The schema version that the subscription should use. */
schemaVersion?: number;

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

type: string;
/** The schema version that the Subscription should use. */
/** The schema version that the subscription should use. */
schemaVersion?: number;

@@ -141,3 +141,3 @@ }

/**
* The schema version that the Subscription should use.
* The schema version that the subscription should use.
*/

@@ -144,0 +144,0 @@ schemaVersion: number;

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

/**
* Update a ConfigurationInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed ConfigurationInstance
*/
update(callback?: (error: Error | null, item?: ConfigurationInstance) => any): Promise<ConfigurationInstance>;
/**
* Provide a user-friendly representation

@@ -45,2 +53,3 @@ */

fetch(params?: ConfigurationContextFetchOptions | ((error: Error | null, item?: ConfigurationInstance) => any), callback?: (error: Error | null, item?: ConfigurationInstance) => any): Promise<ConfigurationInstance>;
update(callback?: (error: Error | null, item?: ConfigurationInstance) => any): Promise<ConfigurationInstance>;
/**

@@ -317,2 +326,10 @@ * Provide a user-friendly representation

/**
* Update a ConfigurationInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed ConfigurationInstance
*/
update(callback?: (error: Error | null, item?: ConfigurationInstance) => any): Promise<ConfigurationInstance>;
/**
* Provide a user-friendly representation

@@ -319,0 +336,0 @@ *

@@ -49,2 +49,12 @@ "use strict";

}
update(callback) {
const instance = this;
let operationVersion = instance._version, operationPromise = operationVersion.update({
uri: instance._uri,
method: "post",
});
operationPromise = operationPromise.then((payload) => new ConfigurationInstance(operationVersion, payload));
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
return operationPromise;
}
/**

@@ -125,2 +135,12 @@ * Provide a user-friendly representation

/**
* Update a ConfigurationInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed ConfigurationInstance
*/
update(callback) {
return this._proxy.update(callback);
}
/**
* Provide a user-friendly representation

@@ -127,0 +147,0 @@ *

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

autoTranscribe?: boolean;
/** Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent. */
/** Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models. */
dataLogging?: boolean;

@@ -41,3 +41,3 @@ /** A human readable description of this resource, up to 64 characters. */

autoTranscribe?: boolean;
/** Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent. */
/** Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models. */
dataLogging?: boolean;

@@ -191,3 +191,3 @@ /** A human readable description of this resource, up to 64 characters. */

/**
* Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
* Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
*/

@@ -194,0 +194,0 @@ dataLogging: boolean;

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

/**
* Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
* Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
*/

@@ -208,0 +208,0 @@ dataLogging: boolean;

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

gcmCredentialSid?: string;
/** The SID of the [Messaging Service](https://www.twilio.com/docs/sms/quickstart#messaging-services) to use for SMS Bindings. This parameter must be set in order to send SMS notifications. */
/** The SID of the [Messaging Service](https://www.twilio.com/docs/sms/send-messages#messaging-services) to use for SMS Bindings. This parameter must be set in order to send SMS notifications. */
messagingServiceSid?: string;

@@ -52,3 +52,3 @@ /** Deprecated. */

gcmCredentialSid?: string;
/** The SID of the [Messaging Service](https://www.twilio.com/docs/sms/quickstart#messaging-services) to use for SMS Bindings. This parameter must be set in order to send SMS notifications. */
/** The SID of the [Messaging Service](https://www.twilio.com/docs/sms/send-messages#messaging-services) to use for SMS Bindings. This parameter must be set in order to send SMS notifications. */
messagingServiceSid?: string;

@@ -243,3 +243,3 @@ /** Deprecated. */

/**
* The SID of the [Messaging Service](https://www.twilio.com/docs/sms/quickstart#messaging-services) to use for SMS Bindings. In order to send SMS notifications this parameter has to be set.
* The SID of the [Messaging Service](https://www.twilio.com/docs/sms/send-messages#messaging-services) to use for SMS Bindings. In order to send SMS notifications this parameter has to be set.
*/

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

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

gcm?: any;
/** The SMS-specific payload that overrides corresponding attributes in the generic payload for SMS Bindings. Each attribute in this value maps to the corresponding `form` parameter of the Twilio [Message](https://www.twilio.com/docs/sms/quickstart) resource. These parameters of the Message resource are supported in snake case format: `body`, `media_urls`, `status_callback`, and `max_price`. The `status_callback` parameter overrides the corresponding parameter in the messaging service, if configured. The `media_urls` property expects a JSON array. */
/** The SMS-specific payload that overrides corresponding attributes in the generic payload for SMS Bindings. Each attribute in this value maps to the corresponding `form` parameter of the Twilio [Message](https://www.twilio.com/docs/sms/send-messages) resource. These parameters of the Message resource are supported in snake case format: `body`, `media_urls`, `status_callback`, and `max_price`. The `status_callback` parameter overrides the corresponding parameter in the messaging service, if configured. The `media_urls` property expects a JSON array. */
sms?: any;

@@ -30,0 +30,0 @@ /** Deprecated. */

import NumbersBase from "../NumbersBase";
import Version from "../../base/Version";
import { BulkEligibilityListInstance } from "./v1/bulkEligibility";
import { EligibilityListInstance } from "./v1/eligibility";
import { PortingBulkPortabilityListInstance } from "./v1/portingBulkPortability";
import { PortingPortInFetchListInstance } from "./v1/portingPortInFetch";
import { PortingPortInListInstance } from "./v1/portingPortIn";
import { PortingPortabilityListInstance } from "./v1/portingPortability";

@@ -16,6 +17,8 @@ export default class V1 extends Version {

protected _bulkEligibilities?: BulkEligibilityListInstance;
/** eligibilities - { Twilio.Numbers.V1.EligibilityListInstance } resource */
protected _eligibilities?: EligibilityListInstance;
/** portingBulkPortabilities - { Twilio.Numbers.V1.PortingBulkPortabilityListInstance } resource */
protected _portingBulkPortabilities?: PortingBulkPortabilityListInstance;
/** portingPortIns - { Twilio.Numbers.V1.PortingPortInFetchListInstance } resource */
protected _portingPortIns?: PortingPortInFetchListInstance;
/** portingPortIns - { Twilio.Numbers.V1.PortingPortInListInstance } resource */
protected _portingPortIns?: PortingPortInListInstance;
/** portingPortabilities - { Twilio.Numbers.V1.PortingPortabilityListInstance } resource */

@@ -25,8 +28,10 @@ protected _portingPortabilities?: PortingPortabilityListInstance;

get bulkEligibilities(): BulkEligibilityListInstance;
/** Getter for eligibilities resource */
get eligibilities(): EligibilityListInstance;
/** Getter for portingBulkPortabilities resource */
get portingBulkPortabilities(): PortingBulkPortabilityListInstance;
/** Getter for portingPortIns resource */
get portingPortIns(): PortingPortInFetchListInstance;
get portingPortIns(): PortingPortInListInstance;
/** Getter for portingPortabilities resource */
get portingPortabilities(): PortingPortabilityListInstance;
}

@@ -21,4 +21,5 @@ "use strict";

const bulkEligibility_1 = require("./v1/bulkEligibility");
const eligibility_1 = require("./v1/eligibility");
const portingBulkPortability_1 = require("./v1/portingBulkPortability");
const portingPortInFetch_1 = require("./v1/portingPortInFetch");
const portingPortIn_1 = require("./v1/portingPortIn");
const portingPortability_1 = require("./v1/portingPortability");

@@ -40,2 +41,7 @@ class V1 extends Version_1.default {

}
/** Getter for eligibilities resource */
get eligibilities() {
this._eligibilities = this._eligibilities || (0, eligibility_1.EligibilityListInstance)(this);
return this._eligibilities;
}
/** Getter for portingBulkPortabilities resource */

@@ -51,3 +57,3 @@ get portingBulkPortabilities() {

this._portingPortIns =
this._portingPortIns || (0, portingPortInFetch_1.PortingPortInFetchListInstance)(this);
this._portingPortIns || (0, portingPortIn_1.PortingPortInListInstance)(this);
return this._portingPortIns;

@@ -54,0 +60,0 @@ }

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

/**
* Create a BulkEligibilityInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed BulkEligibilityInstance
*/
create(callback?: (error: Error | null, item?: BulkEligibilityInstance) => any): Promise<BulkEligibilityInstance>;
/**
* Provide a user-friendly representation

@@ -108,0 +116,0 @@ */

@@ -109,3 +109,12 @@ "use strict";

instance._solution = {};
instance._uri = ``;
instance._uri = `/HostedNumber/Eligibility/Bulk`;
instance.create = function create(callback) {
let operationVersion = version, operationPromise = operationVersion.create({
uri: instance._uri,
method: "post",
});
operationPromise = operationPromise.then((payload) => new BulkEligibilityInstance(operationVersion, payload));
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
return operationPromise;
};
instance.toJSON = function toJSON() {

@@ -112,0 +121,0 @@ return instance._solution;

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

/**
* Create a BulkHostedNumberOrderInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed BulkHostedNumberOrderInstance
*/
create(callback?: (error: Error | null, item?: BulkHostedNumberOrderInstance) => any): Promise<BulkHostedNumberOrderInstance>;
/**
* Provide a user-friendly representation

@@ -149,0 +157,0 @@ */

@@ -119,3 +119,12 @@ "use strict";

instance._solution = {};
instance._uri = ``;
instance._uri = `/HostedNumber/Orders/Bulk`;
instance.create = function create(callback) {
let operationVersion = version, operationPromise = operationVersion.create({
uri: instance._uri,
method: "post",
});
operationPromise = operationPromise.then((payload) => new BulkHostedNumberOrderInstance(operationVersion, payload));
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
return operationPromise;
};
instance.toJSON = function toJSON() {

@@ -122,0 +131,0 @@ return instance._solution;

@@ -68,6 +68,2 @@ /// <reference types="node" />

validUntilDate?: Date;
/** Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format. */
validUntilDateBefore?: Date;
/** Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format. */
validUntilDateAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -104,6 +100,2 @@ pageSize?: number;

validUntilDate?: Date;
/** Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format. */
validUntilDateBefore?: Date;
/** Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format. */
validUntilDateAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -136,6 +128,2 @@ pageSize?: number;

validUntilDate?: Date;
/** Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format. */
validUntilDateBefore?: Date;
/** Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format. */
validUntilDateAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -142,0 +130,0 @@ pageSize?: number;

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

data["ValidUntilDate"] = serialize.iso8601DateTime(params["validUntilDate"]);
if (params["validUntilDateBefore"] !== undefined)
data["ValidUntilDate<"] = serialize.iso8601DateTime(params["validUntilDateBefore"]);
if (params["validUntilDateAfter"] !== undefined)
data["ValidUntilDate>"] = serialize.iso8601DateTime(params["validUntilDateAfter"]);
if (params["pageSize"] !== undefined)

@@ -296,0 +292,0 @@ data["PageSize"] = params["pageSize"];

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

eid?: string;
/** Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records. */
/** Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/wireless/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records. */
simSid?: string;

@@ -46,3 +46,3 @@ /** List the eSIM Profiles that are in a given status. */

eid?: string;
/** Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records. */
/** Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/wireless/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records. */
simSid?: string;

@@ -62,3 +62,3 @@ /** List the eSIM Profiles that are in a given status. */

eid?: string;
/** Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records. */
/** Find the eSIM Profile resource related to a [Sim](https://www.twilio.com/docs/iot/wireless/api/sim-resource) resource by providing the SIM SID. Will always return an array with either 1 or 0 records. */
simSid?: string;

@@ -143,3 +143,3 @@ /** List the eSIM Profiles that are in a given status. */

/**
* The SID of the [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource that this eSIM Profile controls.
* The SID of the [Sim](https://www.twilio.com/docs/iot/wireless/api/sim-resource) resource that this eSIM Profile controls.
*/

@@ -146,0 +146,0 @@ simSid: string;

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

beepOnCustomerEntrance?: boolean;
/** The jitter buffer size for conference. Can be: `small`, `medium`, `large`, `off`. */
jitterBufferSize?: string;
}

@@ -126,0 +124,0 @@ /**

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

data["BeepOnCustomerEntrance"] = serialize.bool(params["beepOnCustomerEntrance"]);
if (params["jitterBufferSize"] !== undefined)
data["JitterBufferSize"] = params["jitterBufferSize"];
const headers = {};

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

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

import V1 from "../../V1";
import { TaskQueueBulkRealTimeStatisticsListInstance } from "./taskQueue/taskQueueBulkRealTimeStatistics";
import { TaskQueueCumulativeStatisticsListInstance } from "./taskQueue/taskQueueCumulativeStatistics";

@@ -333,2 +334,4 @@ import { TaskQueueRealTimeStatisticsListInstance } from "./taskQueue/taskQueueRealTimeStatistics";

get(sid: string): TaskQueueContext;
_bulkRealTimeStatistics?: TaskQueueBulkRealTimeStatisticsListInstance;
bulkRealTimeStatistics: TaskQueueBulkRealTimeStatisticsListInstance;
_statistics?: TaskQueuesStatisticsListInstance;

@@ -335,0 +338,0 @@ statistics: TaskQueuesStatisticsListInstance;

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

const utility_1 = require("../../../../base/utility");
const taskQueueBulkRealTimeStatistics_1 = require("./taskQueue/taskQueueBulkRealTimeStatistics");
const taskQueueCumulativeStatistics_1 = require("./taskQueue/taskQueueCumulativeStatistics");

@@ -233,2 +234,11 @@ const taskQueueRealTimeStatistics_1 = require("./taskQueue/taskQueueRealTimeStatistics");

instance._uri = `/Workspaces/${workspaceSid}/TaskQueues`;
Object.defineProperty(instance, "bulkRealTimeStatistics", {
get: function bulkRealTimeStatistics() {
if (!instance._bulkRealTimeStatistics) {
instance._bulkRealTimeStatistics =
(0, taskQueueBulkRealTimeStatistics_1.TaskQueueBulkRealTimeStatisticsListInstance)(instance._version, instance._solution.workspaceSid);
}
return instance._bulkRealTimeStatistics;
},
});
Object.defineProperty(instance, "statistics", {

@@ -235,0 +245,0 @@ get: function statistics() {

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

beepOnCustomerEntrance?: boolean;
/** The jitter buffer size for conference. Can be: `small`, `medium`, `large`, `off`. */
jitterBufferSize?: string;
}

@@ -121,0 +119,0 @@ /**

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

data["BeepOnCustomerEntrance"] = serialize.bool(params["beepOnCustomerEntrance"]);
if (params["jitterBufferSize"] !== undefined)
data["JitterBufferSize"] = params["jitterBufferSize"];
const headers = {};

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

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V1 from "../V1";
export type ComplianceTollfreeInquiriesOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE";
/**

@@ -11,42 +10,4 @@ * Options to pass to create a ComplianceTollfreeInquiriesInstance

tollfreePhoneNumber: string;
/** The email address to receive the notification about the verification result. */
/** The notification email to be triggered when verification status is changed */
notificationEmail: string;
/** The name of the business or organization using the Tollfree number. */
businessName?: string;
/** The website of the business or organization using the Tollfree number. */
businessWebsite?: string;
/** The category of the use case for the Tollfree Number. List as many are applicable.. */
useCaseCategories?: Array<string>;
/** Use this to further explain how messaging is used by the business or organization. */
useCaseSummary?: string;
/** An example of message content, i.e. a sample message. */
productionMessageSample?: string;
/** Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL. */
optInImageUrls?: Array<string>;
/** */
optInType?: ComplianceTollfreeInquiriesOptInType;
/** Estimate monthly volume of messages from the Tollfree Number. */
messageVolume?: string;
/** The address of the business or organization using the Tollfree number. */
businessStreetAddress?: string;
/** The address of the business or organization using the Tollfree number. */
businessStreetAddress2?: string;
/** The city of the business or organization using the Tollfree number. */
businessCity?: string;
/** The state/province/region of the business or organization using the Tollfree number. */
businessStateProvinceRegion?: string;
/** The postal code of the business or organization using the Tollfree number. */
businessPostalCode?: string;
/** The country of the business or organization using the Tollfree number. */
businessCountry?: string;
/** Additional information to be provided for verification. */
additionalInformation?: string;
/** The first name of the contact for the business or organization using the Tollfree number. */
businessContactFirstName?: string;
/** The last name of the contact for the business or organization using the Tollfree number. */
businessContactLastName?: string;
/** The email address of the contact for the business or organization using the Tollfree number. */
businessContactEmail?: string;
/** The phone number of the contact for the business or organization using the Tollfree number. */
businessContactPhone?: string;
}

@@ -53,0 +14,0 @@ export interface ComplianceTollfreeInquiriesSolution {

@@ -40,41 +40,2 @@ "use strict";

data["NotificationEmail"] = params["notificationEmail"];
if (params["businessName"] !== undefined)
data["BusinessName"] = params["businessName"];
if (params["businessWebsite"] !== undefined)
data["BusinessWebsite"] = params["businessWebsite"];
if (params["useCaseCategories"] !== undefined)
data["UseCaseCategories"] = serialize.map(params["useCaseCategories"], (e) => e);
if (params["useCaseSummary"] !== undefined)
data["UseCaseSummary"] = params["useCaseSummary"];
if (params["productionMessageSample"] !== undefined)
data["ProductionMessageSample"] = params["productionMessageSample"];
if (params["optInImageUrls"] !== undefined)
data["OptInImageUrls"] = serialize.map(params["optInImageUrls"], (e) => e);
if (params["optInType"] !== undefined)
data["OptInType"] = params["optInType"];
if (params["messageVolume"] !== undefined)
data["MessageVolume"] = params["messageVolume"];
if (params["businessStreetAddress"] !== undefined)
data["BusinessStreetAddress"] = params["businessStreetAddress"];
if (params["businessStreetAddress2"] !== undefined)
data["BusinessStreetAddress2"] = params["businessStreetAddress2"];
if (params["businessCity"] !== undefined)
data["BusinessCity"] = params["businessCity"];
if (params["businessStateProvinceRegion"] !== undefined)
data["BusinessStateProvinceRegion"] =
params["businessStateProvinceRegion"];
if (params["businessPostalCode"] !== undefined)
data["BusinessPostalCode"] = params["businessPostalCode"];
if (params["businessCountry"] !== undefined)
data["BusinessCountry"] = params["businessCountry"];
if (params["additionalInformation"] !== undefined)
data["AdditionalInformation"] = params["additionalInformation"];
if (params["businessContactFirstName"] !== undefined)
data["BusinessContactFirstName"] = params["businessContactFirstName"];
if (params["businessContactLastName"] !== undefined)
data["BusinessContactLastName"] = params["businessContactLastName"];
if (params["businessContactEmail"] !== undefined)
data["BusinessContactEmail"] = params["businessContactEmail"];
if (params["businessContactPhone"] !== undefined)
data["BusinessContactPhone"] = params["businessContactPhone"];
const headers = {};

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

@@ -17,2 +17,3 @@ import { Client, ClientOpts, RequestOpts } from "../base/BaseTwilio";

import Media from "./Media";
import PreviewMessaging from "./PreviewMessaging";
import Messaging from "./Messaging";

@@ -96,2 +97,4 @@ import Microvisor from "./Microvisor";

_media?: Media;
/** (Twilio.PreviewMessaging) - previewMessaging domain */
_previewMessaging?: PreviewMessaging;
/** (Twilio.Messaging) - messaging domain */

@@ -179,2 +182,4 @@ _messaging?: Messaging;

get media(): Media;
/** Getter for (Twilio.PreviewMessaging) domain */
get previewMessaging(): PreviewMessaging;
/** Getter for (Twilio.Messaging) domain */

@@ -181,0 +186,0 @@ get messaging(): Messaging;

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

this.media;
this.previewMessaging;
this.messaging;

@@ -139,2 +140,7 @@ this.microvisor;

}
/** Getter for (Twilio.PreviewMessaging) domain */
get previewMessaging() {
return (this._previewMessaging ??
(this._previewMessaging = new (require("./PreviewMessaging"))(this)));
}
/** Getter for (Twilio.Messaging) domain */

@@ -141,0 +147,0 @@ get messaging() {

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

defaultTemplateSid?: string;
/** Whether to allow verifications from the service to reach the stream-events sinks if configured */
verifyEventSubscriptionEnabled?: boolean;
}

@@ -93,4 +91,2 @@ /**

defaultTemplateSid?: string;
/** Whether to allow verifications from the service to reach the stream-events sinks if configured */
verifyEventSubscriptionEnabled?: boolean;
}

@@ -228,3 +224,2 @@ /**

default_template_sid: string;
verify_event_subscription_enabled: boolean;
date_created: Date;

@@ -294,6 +289,2 @@ date_updated: Date;

/**
* Whether to allow verifications from the service to reach the stream-events sinks if configured
*/
verifyEventSubscriptionEnabled: boolean;
/**
* The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.

@@ -396,3 +387,2 @@ */

defaultTemplateSid: string;
verifyEventSubscriptionEnabled: boolean;
dateCreated: Date;

@@ -399,0 +389,0 @@ dateUpdated: Date;

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

data["DefaultTemplateSid"] = params["defaultTemplateSid"];
if (params["verifyEventSubscriptionEnabled"] !== undefined)
data["VerifyEventSubscriptionEnabled"] = serialize.bool(params["verifyEventSubscriptionEnabled"]);
const headers = {};

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

this.defaultTemplateSid = payload.default_template_sid;
this.verifyEventSubscriptionEnabled =
payload.verify_event_subscription_enabled;
this.dateCreated = deserialize.iso8601DateTime(payload.date_created);

@@ -290,3 +286,2 @@ this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);

defaultTemplateSid: this.defaultTemplateSid,
verifyEventSubscriptionEnabled: this.verifyEventSubscriptionEnabled,
dateCreated: this.dateCreated,

@@ -353,4 +348,2 @@ dateUpdated: this.dateUpdated,

data["DefaultTemplateSid"] = params["defaultTemplateSid"];
if (params["verifyEventSubscriptionEnabled"] !== undefined)
data["VerifyEventSubscriptionEnabled"] = serialize.bool(params["verifyEventSubscriptionEnabled"]);
const headers = {};

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

{
"name": "twilio",
"description": "A Twilio helper library",
"version": "4.20.0",
"version": "5.0.0-rc.1",
"author": "API Team <api@twilio.com>",

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

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