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.19.3 to 4.20.0

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

12

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

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

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

@@ -119,10 +117,2 @@ 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`.

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

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

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

4

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

@@ -69,4 +69,2 @@ "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;

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

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

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

@@ -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;

@@ -5,2 +5,3 @@ import NumbersBase from "../NumbersBase";

import { PortingBulkPortabilityListInstance } from "./v1/portingBulkPortability";
import { PortingPortInFetchListInstance } from "./v1/portingPortInFetch";
import { PortingPortabilityListInstance } from "./v1/portingPortability";

@@ -18,2 +19,4 @@ export default class V1 extends Version {

protected _portingBulkPortabilities?: PortingBulkPortabilityListInstance;
/** portingPortIns - { Twilio.Numbers.V1.PortingPortInFetchListInstance } resource */
protected _portingPortIns?: PortingPortInFetchListInstance;
/** portingPortabilities - { Twilio.Numbers.V1.PortingPortabilityListInstance } resource */

@@ -25,4 +28,6 @@ protected _portingPortabilities?: PortingPortabilityListInstance;

get portingBulkPortabilities(): PortingBulkPortabilityListInstance;
/** Getter for portingPortIns resource */
get portingPortIns(): PortingPortInFetchListInstance;
/** Getter for portingPortabilities resource */
get portingPortabilities(): PortingPortabilityListInstance;
}

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

const portingBulkPortability_1 = require("./v1/portingBulkPortability");
const portingPortInFetch_1 = require("./v1/portingPortInFetch");
const portingPortability_1 = require("./v1/portingPortability");

@@ -46,2 +47,8 @@ class V1 extends Version_1.default {

}
/** Getter for portingPortIns resource */
get portingPortIns() {
this._portingPortIns =
this._portingPortIns || (0, portingPortInFetch_1.PortingPortInFetchListInstance)(this);
return this._portingPortIns;
}
/** Getter for portingPortabilities resource */

@@ -48,0 +55,0 @@ get portingPortabilities() {

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

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

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

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

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

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

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

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

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

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

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

@@ -167,0 +169,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";
/**

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

tollfreePhoneNumber: string;
/** The notification email to be triggered when verification status is changed */
/** The email address to receive the notification about the verification result. */
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;
}

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

@@ -40,2 +40,41 @@ "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 = {};

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

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