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 5.2.2 to 5.2.3

lib/rest/api/v2010/account/recording/addOnResult/payload/data.d.ts

404

lib/rest/api/v2010/account/call/transcription.d.ts

@@ -30,412 +30,16 @@ /// <reference types="node" />

outboundTrackLabel?: string;
/** Indicates if partial results are going to be send to the customer */
/** Indicates if partial results are going to be sent to the customer */
partialResults?: boolean;
/** Language code used by the transcription engine, specified in [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) format */
languageCode?: string;
/** Definition of the transcription engine to be used, between those supported by Twilio */
/** Definition of the transcription engine to be used, among those supported by Twilio */
transcriptionEngine?: string;
/** indicates if the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks */
profanityFilter?: boolean;
/** Recognition model used by the transcription engine, between those supported by the provider */
/** Recognition model used by the transcription engine, among those supported by the provider */
speechModel?: string;
/** A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them. */
hints?: string;
/** The provider will adds punctuation to recognition result hypotheses */
/** The provider will add punctuation to recognition result */
enableAutomaticPunctuation?: boolean;
/** Parameter name */
"parameter1.name"?: string;
/** Parameter value */
"parameter1.value"?: string;
/** Parameter name */
"parameter2.name"?: string;
/** Parameter value */
"parameter2.value"?: string;
/** Parameter name */
"parameter3.name"?: string;
/** Parameter value */
"parameter3.value"?: string;
/** Parameter name */
"parameter4.name"?: string;
/** Parameter value */
"parameter4.value"?: string;
/** Parameter name */
"parameter5.name"?: string;
/** Parameter value */
"parameter5.value"?: string;
/** Parameter name */
"parameter6.name"?: string;
/** Parameter value */
"parameter6.value"?: string;
/** Parameter name */
"parameter7.name"?: string;
/** Parameter value */
"parameter7.value"?: string;
/** Parameter name */
"parameter8.name"?: string;
/** Parameter value */
"parameter8.value"?: string;
/** Parameter name */
"parameter9.name"?: string;
/** Parameter value */
"parameter9.value"?: string;
/** Parameter name */
"parameter10.name"?: string;
/** Parameter value */
"parameter10.value"?: string;
/** Parameter name */
"parameter11.name"?: string;
/** Parameter value */
"parameter11.value"?: string;
/** Parameter name */
"parameter12.name"?: string;
/** Parameter value */
"parameter12.value"?: string;
/** Parameter name */
"parameter13.name"?: string;
/** Parameter value */
"parameter13.value"?: string;
/** Parameter name */
"parameter14.name"?: string;
/** Parameter value */
"parameter14.value"?: string;
/** Parameter name */
"parameter15.name"?: string;
/** Parameter value */
"parameter15.value"?: string;
/** Parameter name */
"parameter16.name"?: string;
/** Parameter value */
"parameter16.value"?: string;
/** Parameter name */
"parameter17.name"?: string;
/** Parameter value */
"parameter17.value"?: string;
/** Parameter name */
"parameter18.name"?: string;
/** Parameter value */
"parameter18.value"?: string;
/** Parameter name */
"parameter19.name"?: string;
/** Parameter value */
"parameter19.value"?: string;
/** Parameter name */
"parameter20.name"?: string;
/** Parameter value */
"parameter20.value"?: string;
/** Parameter name */
"parameter21.name"?: string;
/** Parameter value */
"parameter21.value"?: string;
/** Parameter name */
"parameter22.name"?: string;
/** Parameter value */
"parameter22.value"?: string;
/** Parameter name */
"parameter23.name"?: string;
/** Parameter value */
"parameter23.value"?: string;
/** Parameter name */
"parameter24.name"?: string;
/** Parameter value */
"parameter24.value"?: string;
/** Parameter name */
"parameter25.name"?: string;
/** Parameter value */
"parameter25.value"?: string;
/** Parameter name */
"parameter26.name"?: string;
/** Parameter value */
"parameter26.value"?: string;
/** Parameter name */
"parameter27.name"?: string;
/** Parameter value */
"parameter27.value"?: string;
/** Parameter name */
"parameter28.name"?: string;
/** Parameter value */
"parameter28.value"?: string;
/** Parameter name */
"parameter29.name"?: string;
/** Parameter value */
"parameter29.value"?: string;
/** Parameter name */
"parameter30.name"?: string;
/** Parameter value */
"parameter30.value"?: string;
/** Parameter name */
"parameter31.name"?: string;
/** Parameter value */
"parameter31.value"?: string;
/** Parameter name */
"parameter32.name"?: string;
/** Parameter value */
"parameter32.value"?: string;
/** Parameter name */
"parameter33.name"?: string;
/** Parameter value */
"parameter33.value"?: string;
/** Parameter name */
"parameter34.name"?: string;
/** Parameter value */
"parameter34.value"?: string;
/** Parameter name */
"parameter35.name"?: string;
/** Parameter value */
"parameter35.value"?: string;
/** Parameter name */
"parameter36.name"?: string;
/** Parameter value */
"parameter36.value"?: string;
/** Parameter name */
"parameter37.name"?: string;
/** Parameter value */
"parameter37.value"?: string;
/** Parameter name */
"parameter38.name"?: string;
/** Parameter value */
"parameter38.value"?: string;
/** Parameter name */
"parameter39.name"?: string;
/** Parameter value */
"parameter39.value"?: string;
/** Parameter name */
"parameter40.name"?: string;
/** Parameter value */
"parameter40.value"?: string;
/** Parameter name */
"parameter41.name"?: string;
/** Parameter value */
"parameter41.value"?: string;
/** Parameter name */
"parameter42.name"?: string;
/** Parameter value */
"parameter42.value"?: string;
/** Parameter name */
"parameter43.name"?: string;
/** Parameter value */
"parameter43.value"?: string;
/** Parameter name */
"parameter44.name"?: string;
/** Parameter value */
"parameter44.value"?: string;
/** Parameter name */
"parameter45.name"?: string;
/** Parameter value */
"parameter45.value"?: string;
/** Parameter name */
"parameter46.name"?: string;
/** Parameter value */
"parameter46.value"?: string;
/** Parameter name */
"parameter47.name"?: string;
/** Parameter value */
"parameter47.value"?: string;
/** Parameter name */
"parameter48.name"?: string;
/** Parameter value */
"parameter48.value"?: string;
/** Parameter name */
"parameter49.name"?: string;
/** Parameter value */
"parameter49.value"?: string;
/** Parameter name */
"parameter50.name"?: string;
/** Parameter value */
"parameter50.value"?: string;
/** Parameter name */
"parameter51.name"?: string;
/** Parameter value */
"parameter51.value"?: string;
/** Parameter name */
"parameter52.name"?: string;
/** Parameter value */
"parameter52.value"?: string;
/** Parameter name */
"parameter53.name"?: string;
/** Parameter value */
"parameter53.value"?: string;
/** Parameter name */
"parameter54.name"?: string;
/** Parameter value */
"parameter54.value"?: string;
/** Parameter name */
"parameter55.name"?: string;
/** Parameter value */
"parameter55.value"?: string;
/** Parameter name */
"parameter56.name"?: string;
/** Parameter value */
"parameter56.value"?: string;
/** Parameter name */
"parameter57.name"?: string;
/** Parameter value */
"parameter57.value"?: string;
/** Parameter name */
"parameter58.name"?: string;
/** Parameter value */
"parameter58.value"?: string;
/** Parameter name */
"parameter59.name"?: string;
/** Parameter value */
"parameter59.value"?: string;
/** Parameter name */
"parameter60.name"?: string;
/** Parameter value */
"parameter60.value"?: string;
/** Parameter name */
"parameter61.name"?: string;
/** Parameter value */
"parameter61.value"?: string;
/** Parameter name */
"parameter62.name"?: string;
/** Parameter value */
"parameter62.value"?: string;
/** Parameter name */
"parameter63.name"?: string;
/** Parameter value */
"parameter63.value"?: string;
/** Parameter name */
"parameter64.name"?: string;
/** Parameter value */
"parameter64.value"?: string;
/** Parameter name */
"parameter65.name"?: string;
/** Parameter value */
"parameter65.value"?: string;
/** Parameter name */
"parameter66.name"?: string;
/** Parameter value */
"parameter66.value"?: string;
/** Parameter name */
"parameter67.name"?: string;
/** Parameter value */
"parameter67.value"?: string;
/** Parameter name */
"parameter68.name"?: string;
/** Parameter value */
"parameter68.value"?: string;
/** Parameter name */
"parameter69.name"?: string;
/** Parameter value */
"parameter69.value"?: string;
/** Parameter name */
"parameter70.name"?: string;
/** Parameter value */
"parameter70.value"?: string;
/** Parameter name */
"parameter71.name"?: string;
/** Parameter value */
"parameter71.value"?: string;
/** Parameter name */
"parameter72.name"?: string;
/** Parameter value */
"parameter72.value"?: string;
/** Parameter name */
"parameter73.name"?: string;
/** Parameter value */
"parameter73.value"?: string;
/** Parameter name */
"parameter74.name"?: string;
/** Parameter value */
"parameter74.value"?: string;
/** Parameter name */
"parameter75.name"?: string;
/** Parameter value */
"parameter75.value"?: string;
/** Parameter name */
"parameter76.name"?: string;
/** Parameter value */
"parameter76.value"?: string;
/** Parameter name */
"parameter77.name"?: string;
/** Parameter value */
"parameter77.value"?: string;
/** Parameter name */
"parameter78.name"?: string;
/** Parameter value */
"parameter78.value"?: string;
/** Parameter name */
"parameter79.name"?: string;
/** Parameter value */
"parameter79.value"?: string;
/** Parameter name */
"parameter80.name"?: string;
/** Parameter value */
"parameter80.value"?: string;
/** Parameter name */
"parameter81.name"?: string;
/** Parameter value */
"parameter81.value"?: string;
/** Parameter name */
"parameter82.name"?: string;
/** Parameter value */
"parameter82.value"?: string;
/** Parameter name */
"parameter83.name"?: string;
/** Parameter value */
"parameter83.value"?: string;
/** Parameter name */
"parameter84.name"?: string;
/** Parameter value */
"parameter84.value"?: string;
/** Parameter name */
"parameter85.name"?: string;
/** Parameter value */
"parameter85.value"?: string;
/** Parameter name */
"parameter86.name"?: string;
/** Parameter value */
"parameter86.value"?: string;
/** Parameter name */
"parameter87.name"?: string;
/** Parameter value */
"parameter87.value"?: string;
/** Parameter name */
"parameter88.name"?: string;
/** Parameter value */
"parameter88.value"?: string;
/** Parameter name */
"parameter89.name"?: string;
/** Parameter value */
"parameter89.value"?: string;
/** Parameter name */
"parameter90.name"?: string;
/** Parameter value */
"parameter90.value"?: string;
/** Parameter name */
"parameter91.name"?: string;
/** Parameter value */
"parameter91.value"?: string;
/** Parameter name */
"parameter92.name"?: string;
/** Parameter value */
"parameter92.value"?: string;
/** Parameter name */
"parameter93.name"?: string;
/** Parameter value */
"parameter93.value"?: string;
/** Parameter name */
"parameter94.name"?: string;
/** Parameter value */
"parameter94.value"?: string;
/** Parameter name */
"parameter95.name"?: string;
/** Parameter value */
"parameter95.value"?: string;
/** Parameter name */
"parameter96.name"?: string;
/** Parameter value */
"parameter96.value"?: string;
/** Parameter name */
"parameter97.name"?: string;
/** Parameter value */
"parameter97.value"?: string;
/** Parameter name */
"parameter98.name"?: string;
/** Parameter value */
"parameter98.value"?: string;
/** Parameter name */
"parameter99.name"?: string;
/** Parameter value */
"parameter99.value"?: string;
}

@@ -442,0 +46,0 @@ export interface TranscriptionContext {

@@ -162,398 +162,2 @@ "use strict";

data["EnableAutomaticPunctuation"] = serialize.bool(params["enableAutomaticPunctuation"]);
if (params["parameter1.name"] !== undefined)
data["Parameter1.Name"] = params["parameter1.name"];
if (params["parameter1.value"] !== undefined)
data["Parameter1.Value"] = params["parameter1.value"];
if (params["parameter2.name"] !== undefined)
data["Parameter2.Name"] = params["parameter2.name"];
if (params["parameter2.value"] !== undefined)
data["Parameter2.Value"] = params["parameter2.value"];
if (params["parameter3.name"] !== undefined)
data["Parameter3.Name"] = params["parameter3.name"];
if (params["parameter3.value"] !== undefined)
data["Parameter3.Value"] = params["parameter3.value"];
if (params["parameter4.name"] !== undefined)
data["Parameter4.Name"] = params["parameter4.name"];
if (params["parameter4.value"] !== undefined)
data["Parameter4.Value"] = params["parameter4.value"];
if (params["parameter5.name"] !== undefined)
data["Parameter5.Name"] = params["parameter5.name"];
if (params["parameter5.value"] !== undefined)
data["Parameter5.Value"] = params["parameter5.value"];
if (params["parameter6.name"] !== undefined)
data["Parameter6.Name"] = params["parameter6.name"];
if (params["parameter6.value"] !== undefined)
data["Parameter6.Value"] = params["parameter6.value"];
if (params["parameter7.name"] !== undefined)
data["Parameter7.Name"] = params["parameter7.name"];
if (params["parameter7.value"] !== undefined)
data["Parameter7.Value"] = params["parameter7.value"];
if (params["parameter8.name"] !== undefined)
data["Parameter8.Name"] = params["parameter8.name"];
if (params["parameter8.value"] !== undefined)
data["Parameter8.Value"] = params["parameter8.value"];
if (params["parameter9.name"] !== undefined)
data["Parameter9.Name"] = params["parameter9.name"];
if (params["parameter9.value"] !== undefined)
data["Parameter9.Value"] = params["parameter9.value"];
if (params["parameter10.name"] !== undefined)
data["Parameter10.Name"] = params["parameter10.name"];
if (params["parameter10.value"] !== undefined)
data["Parameter10.Value"] = params["parameter10.value"];
if (params["parameter11.name"] !== undefined)
data["Parameter11.Name"] = params["parameter11.name"];
if (params["parameter11.value"] !== undefined)
data["Parameter11.Value"] = params["parameter11.value"];
if (params["parameter12.name"] !== undefined)
data["Parameter12.Name"] = params["parameter12.name"];
if (params["parameter12.value"] !== undefined)
data["Parameter12.Value"] = params["parameter12.value"];
if (params["parameter13.name"] !== undefined)
data["Parameter13.Name"] = params["parameter13.name"];
if (params["parameter13.value"] !== undefined)
data["Parameter13.Value"] = params["parameter13.value"];
if (params["parameter14.name"] !== undefined)
data["Parameter14.Name"] = params["parameter14.name"];
if (params["parameter14.value"] !== undefined)
data["Parameter14.Value"] = params["parameter14.value"];
if (params["parameter15.name"] !== undefined)
data["Parameter15.Name"] = params["parameter15.name"];
if (params["parameter15.value"] !== undefined)
data["Parameter15.Value"] = params["parameter15.value"];
if (params["parameter16.name"] !== undefined)
data["Parameter16.Name"] = params["parameter16.name"];
if (params["parameter16.value"] !== undefined)
data["Parameter16.Value"] = params["parameter16.value"];
if (params["parameter17.name"] !== undefined)
data["Parameter17.Name"] = params["parameter17.name"];
if (params["parameter17.value"] !== undefined)
data["Parameter17.Value"] = params["parameter17.value"];
if (params["parameter18.name"] !== undefined)
data["Parameter18.Name"] = params["parameter18.name"];
if (params["parameter18.value"] !== undefined)
data["Parameter18.Value"] = params["parameter18.value"];
if (params["parameter19.name"] !== undefined)
data["Parameter19.Name"] = params["parameter19.name"];
if (params["parameter19.value"] !== undefined)
data["Parameter19.Value"] = params["parameter19.value"];
if (params["parameter20.name"] !== undefined)
data["Parameter20.Name"] = params["parameter20.name"];
if (params["parameter20.value"] !== undefined)
data["Parameter20.Value"] = params["parameter20.value"];
if (params["parameter21.name"] !== undefined)
data["Parameter21.Name"] = params["parameter21.name"];
if (params["parameter21.value"] !== undefined)
data["Parameter21.Value"] = params["parameter21.value"];
if (params["parameter22.name"] !== undefined)
data["Parameter22.Name"] = params["parameter22.name"];
if (params["parameter22.value"] !== undefined)
data["Parameter22.Value"] = params["parameter22.value"];
if (params["parameter23.name"] !== undefined)
data["Parameter23.Name"] = params["parameter23.name"];
if (params["parameter23.value"] !== undefined)
data["Parameter23.Value"] = params["parameter23.value"];
if (params["parameter24.name"] !== undefined)
data["Parameter24.Name"] = params["parameter24.name"];
if (params["parameter24.value"] !== undefined)
data["Parameter24.Value"] = params["parameter24.value"];
if (params["parameter25.name"] !== undefined)
data["Parameter25.Name"] = params["parameter25.name"];
if (params["parameter25.value"] !== undefined)
data["Parameter25.Value"] = params["parameter25.value"];
if (params["parameter26.name"] !== undefined)
data["Parameter26.Name"] = params["parameter26.name"];
if (params["parameter26.value"] !== undefined)
data["Parameter26.Value"] = params["parameter26.value"];
if (params["parameter27.name"] !== undefined)
data["Parameter27.Name"] = params["parameter27.name"];
if (params["parameter27.value"] !== undefined)
data["Parameter27.Value"] = params["parameter27.value"];
if (params["parameter28.name"] !== undefined)
data["Parameter28.Name"] = params["parameter28.name"];
if (params["parameter28.value"] !== undefined)
data["Parameter28.Value"] = params["parameter28.value"];
if (params["parameter29.name"] !== undefined)
data["Parameter29.Name"] = params["parameter29.name"];
if (params["parameter29.value"] !== undefined)
data["Parameter29.Value"] = params["parameter29.value"];
if (params["parameter30.name"] !== undefined)
data["Parameter30.Name"] = params["parameter30.name"];
if (params["parameter30.value"] !== undefined)
data["Parameter30.Value"] = params["parameter30.value"];
if (params["parameter31.name"] !== undefined)
data["Parameter31.Name"] = params["parameter31.name"];
if (params["parameter31.value"] !== undefined)
data["Parameter31.Value"] = params["parameter31.value"];
if (params["parameter32.name"] !== undefined)
data["Parameter32.Name"] = params["parameter32.name"];
if (params["parameter32.value"] !== undefined)
data["Parameter32.Value"] = params["parameter32.value"];
if (params["parameter33.name"] !== undefined)
data["Parameter33.Name"] = params["parameter33.name"];
if (params["parameter33.value"] !== undefined)
data["Parameter33.Value"] = params["parameter33.value"];
if (params["parameter34.name"] !== undefined)
data["Parameter34.Name"] = params["parameter34.name"];
if (params["parameter34.value"] !== undefined)
data["Parameter34.Value"] = params["parameter34.value"];
if (params["parameter35.name"] !== undefined)
data["Parameter35.Name"] = params["parameter35.name"];
if (params["parameter35.value"] !== undefined)
data["Parameter35.Value"] = params["parameter35.value"];
if (params["parameter36.name"] !== undefined)
data["Parameter36.Name"] = params["parameter36.name"];
if (params["parameter36.value"] !== undefined)
data["Parameter36.Value"] = params["parameter36.value"];
if (params["parameter37.name"] !== undefined)
data["Parameter37.Name"] = params["parameter37.name"];
if (params["parameter37.value"] !== undefined)
data["Parameter37.Value"] = params["parameter37.value"];
if (params["parameter38.name"] !== undefined)
data["Parameter38.Name"] = params["parameter38.name"];
if (params["parameter38.value"] !== undefined)
data["Parameter38.Value"] = params["parameter38.value"];
if (params["parameter39.name"] !== undefined)
data["Parameter39.Name"] = params["parameter39.name"];
if (params["parameter39.value"] !== undefined)
data["Parameter39.Value"] = params["parameter39.value"];
if (params["parameter40.name"] !== undefined)
data["Parameter40.Name"] = params["parameter40.name"];
if (params["parameter40.value"] !== undefined)
data["Parameter40.Value"] = params["parameter40.value"];
if (params["parameter41.name"] !== undefined)
data["Parameter41.Name"] = params["parameter41.name"];
if (params["parameter41.value"] !== undefined)
data["Parameter41.Value"] = params["parameter41.value"];
if (params["parameter42.name"] !== undefined)
data["Parameter42.Name"] = params["parameter42.name"];
if (params["parameter42.value"] !== undefined)
data["Parameter42.Value"] = params["parameter42.value"];
if (params["parameter43.name"] !== undefined)
data["Parameter43.Name"] = params["parameter43.name"];
if (params["parameter43.value"] !== undefined)
data["Parameter43.Value"] = params["parameter43.value"];
if (params["parameter44.name"] !== undefined)
data["Parameter44.Name"] = params["parameter44.name"];
if (params["parameter44.value"] !== undefined)
data["Parameter44.Value"] = params["parameter44.value"];
if (params["parameter45.name"] !== undefined)
data["Parameter45.Name"] = params["parameter45.name"];
if (params["parameter45.value"] !== undefined)
data["Parameter45.Value"] = params["parameter45.value"];
if (params["parameter46.name"] !== undefined)
data["Parameter46.Name"] = params["parameter46.name"];
if (params["parameter46.value"] !== undefined)
data["Parameter46.Value"] = params["parameter46.value"];
if (params["parameter47.name"] !== undefined)
data["Parameter47.Name"] = params["parameter47.name"];
if (params["parameter47.value"] !== undefined)
data["Parameter47.Value"] = params["parameter47.value"];
if (params["parameter48.name"] !== undefined)
data["Parameter48.Name"] = params["parameter48.name"];
if (params["parameter48.value"] !== undefined)
data["Parameter48.Value"] = params["parameter48.value"];
if (params["parameter49.name"] !== undefined)
data["Parameter49.Name"] = params["parameter49.name"];
if (params["parameter49.value"] !== undefined)
data["Parameter49.Value"] = params["parameter49.value"];
if (params["parameter50.name"] !== undefined)
data["Parameter50.Name"] = params["parameter50.name"];
if (params["parameter50.value"] !== undefined)
data["Parameter50.Value"] = params["parameter50.value"];
if (params["parameter51.name"] !== undefined)
data["Parameter51.Name"] = params["parameter51.name"];
if (params["parameter51.value"] !== undefined)
data["Parameter51.Value"] = params["parameter51.value"];
if (params["parameter52.name"] !== undefined)
data["Parameter52.Name"] = params["parameter52.name"];
if (params["parameter52.value"] !== undefined)
data["Parameter52.Value"] = params["parameter52.value"];
if (params["parameter53.name"] !== undefined)
data["Parameter53.Name"] = params["parameter53.name"];
if (params["parameter53.value"] !== undefined)
data["Parameter53.Value"] = params["parameter53.value"];
if (params["parameter54.name"] !== undefined)
data["Parameter54.Name"] = params["parameter54.name"];
if (params["parameter54.value"] !== undefined)
data["Parameter54.Value"] = params["parameter54.value"];
if (params["parameter55.name"] !== undefined)
data["Parameter55.Name"] = params["parameter55.name"];
if (params["parameter55.value"] !== undefined)
data["Parameter55.Value"] = params["parameter55.value"];
if (params["parameter56.name"] !== undefined)
data["Parameter56.Name"] = params["parameter56.name"];
if (params["parameter56.value"] !== undefined)
data["Parameter56.Value"] = params["parameter56.value"];
if (params["parameter57.name"] !== undefined)
data["Parameter57.Name"] = params["parameter57.name"];
if (params["parameter57.value"] !== undefined)
data["Parameter57.Value"] = params["parameter57.value"];
if (params["parameter58.name"] !== undefined)
data["Parameter58.Name"] = params["parameter58.name"];
if (params["parameter58.value"] !== undefined)
data["Parameter58.Value"] = params["parameter58.value"];
if (params["parameter59.name"] !== undefined)
data["Parameter59.Name"] = params["parameter59.name"];
if (params["parameter59.value"] !== undefined)
data["Parameter59.Value"] = params["parameter59.value"];
if (params["parameter60.name"] !== undefined)
data["Parameter60.Name"] = params["parameter60.name"];
if (params["parameter60.value"] !== undefined)
data["Parameter60.Value"] = params["parameter60.value"];
if (params["parameter61.name"] !== undefined)
data["Parameter61.Name"] = params["parameter61.name"];
if (params["parameter61.value"] !== undefined)
data["Parameter61.Value"] = params["parameter61.value"];
if (params["parameter62.name"] !== undefined)
data["Parameter62.Name"] = params["parameter62.name"];
if (params["parameter62.value"] !== undefined)
data["Parameter62.Value"] = params["parameter62.value"];
if (params["parameter63.name"] !== undefined)
data["Parameter63.Name"] = params["parameter63.name"];
if (params["parameter63.value"] !== undefined)
data["Parameter63.Value"] = params["parameter63.value"];
if (params["parameter64.name"] !== undefined)
data["Parameter64.Name"] = params["parameter64.name"];
if (params["parameter64.value"] !== undefined)
data["Parameter64.Value"] = params["parameter64.value"];
if (params["parameter65.name"] !== undefined)
data["Parameter65.Name"] = params["parameter65.name"];
if (params["parameter65.value"] !== undefined)
data["Parameter65.Value"] = params["parameter65.value"];
if (params["parameter66.name"] !== undefined)
data["Parameter66.Name"] = params["parameter66.name"];
if (params["parameter66.value"] !== undefined)
data["Parameter66.Value"] = params["parameter66.value"];
if (params["parameter67.name"] !== undefined)
data["Parameter67.Name"] = params["parameter67.name"];
if (params["parameter67.value"] !== undefined)
data["Parameter67.Value"] = params["parameter67.value"];
if (params["parameter68.name"] !== undefined)
data["Parameter68.Name"] = params["parameter68.name"];
if (params["parameter68.value"] !== undefined)
data["Parameter68.Value"] = params["parameter68.value"];
if (params["parameter69.name"] !== undefined)
data["Parameter69.Name"] = params["parameter69.name"];
if (params["parameter69.value"] !== undefined)
data["Parameter69.Value"] = params["parameter69.value"];
if (params["parameter70.name"] !== undefined)
data["Parameter70.Name"] = params["parameter70.name"];
if (params["parameter70.value"] !== undefined)
data["Parameter70.Value"] = params["parameter70.value"];
if (params["parameter71.name"] !== undefined)
data["Parameter71.Name"] = params["parameter71.name"];
if (params["parameter71.value"] !== undefined)
data["Parameter71.Value"] = params["parameter71.value"];
if (params["parameter72.name"] !== undefined)
data["Parameter72.Name"] = params["parameter72.name"];
if (params["parameter72.value"] !== undefined)
data["Parameter72.Value"] = params["parameter72.value"];
if (params["parameter73.name"] !== undefined)
data["Parameter73.Name"] = params["parameter73.name"];
if (params["parameter73.value"] !== undefined)
data["Parameter73.Value"] = params["parameter73.value"];
if (params["parameter74.name"] !== undefined)
data["Parameter74.Name"] = params["parameter74.name"];
if (params["parameter74.value"] !== undefined)
data["Parameter74.Value"] = params["parameter74.value"];
if (params["parameter75.name"] !== undefined)
data["Parameter75.Name"] = params["parameter75.name"];
if (params["parameter75.value"] !== undefined)
data["Parameter75.Value"] = params["parameter75.value"];
if (params["parameter76.name"] !== undefined)
data["Parameter76.Name"] = params["parameter76.name"];
if (params["parameter76.value"] !== undefined)
data["Parameter76.Value"] = params["parameter76.value"];
if (params["parameter77.name"] !== undefined)
data["Parameter77.Name"] = params["parameter77.name"];
if (params["parameter77.value"] !== undefined)
data["Parameter77.Value"] = params["parameter77.value"];
if (params["parameter78.name"] !== undefined)
data["Parameter78.Name"] = params["parameter78.name"];
if (params["parameter78.value"] !== undefined)
data["Parameter78.Value"] = params["parameter78.value"];
if (params["parameter79.name"] !== undefined)
data["Parameter79.Name"] = params["parameter79.name"];
if (params["parameter79.value"] !== undefined)
data["Parameter79.Value"] = params["parameter79.value"];
if (params["parameter80.name"] !== undefined)
data["Parameter80.Name"] = params["parameter80.name"];
if (params["parameter80.value"] !== undefined)
data["Parameter80.Value"] = params["parameter80.value"];
if (params["parameter81.name"] !== undefined)
data["Parameter81.Name"] = params["parameter81.name"];
if (params["parameter81.value"] !== undefined)
data["Parameter81.Value"] = params["parameter81.value"];
if (params["parameter82.name"] !== undefined)
data["Parameter82.Name"] = params["parameter82.name"];
if (params["parameter82.value"] !== undefined)
data["Parameter82.Value"] = params["parameter82.value"];
if (params["parameter83.name"] !== undefined)
data["Parameter83.Name"] = params["parameter83.name"];
if (params["parameter83.value"] !== undefined)
data["Parameter83.Value"] = params["parameter83.value"];
if (params["parameter84.name"] !== undefined)
data["Parameter84.Name"] = params["parameter84.name"];
if (params["parameter84.value"] !== undefined)
data["Parameter84.Value"] = params["parameter84.value"];
if (params["parameter85.name"] !== undefined)
data["Parameter85.Name"] = params["parameter85.name"];
if (params["parameter85.value"] !== undefined)
data["Parameter85.Value"] = params["parameter85.value"];
if (params["parameter86.name"] !== undefined)
data["Parameter86.Name"] = params["parameter86.name"];
if (params["parameter86.value"] !== undefined)
data["Parameter86.Value"] = params["parameter86.value"];
if (params["parameter87.name"] !== undefined)
data["Parameter87.Name"] = params["parameter87.name"];
if (params["parameter87.value"] !== undefined)
data["Parameter87.Value"] = params["parameter87.value"];
if (params["parameter88.name"] !== undefined)
data["Parameter88.Name"] = params["parameter88.name"];
if (params["parameter88.value"] !== undefined)
data["Parameter88.Value"] = params["parameter88.value"];
if (params["parameter89.name"] !== undefined)
data["Parameter89.Name"] = params["parameter89.name"];
if (params["parameter89.value"] !== undefined)
data["Parameter89.Value"] = params["parameter89.value"];
if (params["parameter90.name"] !== undefined)
data["Parameter90.Name"] = params["parameter90.name"];
if (params["parameter90.value"] !== undefined)
data["Parameter90.Value"] = params["parameter90.value"];
if (params["parameter91.name"] !== undefined)
data["Parameter91.Name"] = params["parameter91.name"];
if (params["parameter91.value"] !== undefined)
data["Parameter91.Value"] = params["parameter91.value"];
if (params["parameter92.name"] !== undefined)
data["Parameter92.Name"] = params["parameter92.name"];
if (params["parameter92.value"] !== undefined)
data["Parameter92.Value"] = params["parameter92.value"];
if (params["parameter93.name"] !== undefined)
data["Parameter93.Name"] = params["parameter93.name"];
if (params["parameter93.value"] !== undefined)
data["Parameter93.Value"] = params["parameter93.value"];
if (params["parameter94.name"] !== undefined)
data["Parameter94.Name"] = params["parameter94.name"];
if (params["parameter94.value"] !== undefined)
data["Parameter94.Value"] = params["parameter94.value"];
if (params["parameter95.name"] !== undefined)
data["Parameter95.Name"] = params["parameter95.name"];
if (params["parameter95.value"] !== undefined)
data["Parameter95.Value"] = params["parameter95.value"];
if (params["parameter96.name"] !== undefined)
data["Parameter96.Name"] = params["parameter96.name"];
if (params["parameter96.value"] !== undefined)
data["Parameter96.Value"] = params["parameter96.value"];
if (params["parameter97.name"] !== undefined)
data["Parameter97.Name"] = params["parameter97.name"];
if (params["parameter97.value"] !== undefined)
data["Parameter97.Value"] = params["parameter97.value"];
if (params["parameter98.name"] !== undefined)
data["Parameter98.Name"] = params["parameter98.name"];
if (params["parameter98.value"] !== undefined)
data["Parameter98.Value"] = params["parameter98.value"];
if (params["parameter99.name"] !== undefined)
data["Parameter99.Name"] = params["parameter99.name"];
if (params["parameter99.value"] !== undefined)
data["Parameter99.Value"] = params["parameter99.value"];
const headers = {};

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

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

/**
* The description of the `error_code` if the Message `status` is `failed` or `undelivered`. If no error was encountered, the value is `null`.
* The description of the `error_code` if the Message `status` is `failed` or `undelivered`. If no error was encountered, the value is `null`. The value returned in this field for a specific error cause is subject to change as Twilio improves errors. Users should not use the `error_code` and `error_message` fields programmatically.
*/

@@ -294,3 +294,3 @@ errorMessage: string;

/**
* The [error code](https://www.twilio.com/docs/api/errors) returned if the Message `status` is `failed` or `undelivered`. If no error was encountered, the value is `null`.
* The [error code](https://www.twilio.com/docs/api/errors) returned if the Message `status` is `failed` or `undelivered`. If no error was encountered, the value is `null`. The value returned in this field for a specific error cause is subject to change as Twilio improves errors. Users should not use the `error_code` and `error_message` fields programmatically.
*/

@@ -297,0 +297,0 @@ errorCode: number;

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

import V2010 from "../../../../V2010";
import { DataListInstance } from "./payload/data";
/**

@@ -41,2 +42,3 @@ * Options to pass to each

export interface PayloadContext {
data: DataListInstance;
/**

@@ -74,3 +76,5 @@ * Remove a PayloadInstance

protected _uri: string;
protected _data?: DataListInstance;
constructor(_version: V2010, accountSid: string, referenceSid: string, addOnResultSid: string, sid: string);
get data(): DataListInstance;
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;

@@ -169,2 +173,6 @@ fetch(callback?: (error: Error | null, item?: PayloadInstance) => any): Promise<PayloadInstance>;

/**
* Access the data.
*/
data(): DataListInstance;
/**
* Provide a user-friendly representation

@@ -171,0 +179,0 @@ *

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

const utility_1 = require("../../../../../../base/utility");
const data_1 = require("./payload/data");
class PayloadContextImpl {

@@ -44,2 +45,8 @@ constructor(_version, accountSid, referenceSid, addOnResultSid, sid) {

}
get data() {
this._data =
this._data ||
(0, data_1.DataListInstance)(this._version, this._solution.accountSid, this._solution.referenceSid, this._solution.addOnResultSid, this._solution.sid);
return this._data;
}
remove(callback) {

@@ -125,2 +132,8 @@ const instance = this;

/**
* Access the data.
*/
data() {
return this._proxy.data;
}
/**
* Provide a user-friendly representation

@@ -127,0 +140,0 @@ *

@@ -29,2 +29,16 @@ /// <reference types="node" />

export type CardActionType = "URL" | "PHONE_NUMBER" | "QUICK_REPLY";
export declare class CarouselAction {
"type": CarouselActionType;
"title": string;
"url"?: string;
"phone"?: string;
"id"?: string;
}
export type CarouselActionType = "URL" | "PHONE_NUMBER" | "QUICK_REPLY";
export declare class CarouselCard {
"title"?: string;
"body"?: string;
"media"?: string;
"actions"?: Array<CarouselAction>;
}
export declare class CatalogItem {

@@ -86,2 +100,9 @@ "id"?: string;

/**
* twilio/carousel templates allow you to send a single text message accompanied by a set of up to 10 carousel cards in a horizontally scrollable view
*/
export declare class TwilioCarousel {
"body": string;
"cards": Array<CarouselCard>;
}
/**
* twilio/catalog type lets recipients view list of catalog products, ask questions about products, order products.

@@ -145,2 +166,3 @@ */

"twilioCatalog"?: TwilioCatalog | null;
"twilioCarousel"?: TwilioCarousel | null;
"whatsappCard"?: WhatsappCard | null;

@@ -147,0 +169,0 @@ "whatsappAuthentication"?: WhatsappAuthentication | null;

@@ -19,3 +19,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentPage = exports.ContentListInstance = exports.ContentInstance = exports.ContentContextImpl = exports.WhatsappCard = exports.WhatsappAuthentication = exports.Types = exports.TwilioText = exports.TwilioQuickReply = exports.TwilioMedia = exports.TwilioLocation = exports.TwilioListPicker = exports.TwilioCatalog = exports.TwilioCard = exports.TwilioCallToAction = exports.QuickReplyAction = exports.ListItem = exports.ContentCreateRequest = exports.CatalogItem = exports.CardAction = exports.CallToActionAction = exports.AuthenticationAction = void 0;
exports.ContentPage = exports.ContentListInstance = exports.ContentInstance = exports.ContentContextImpl = exports.WhatsappCard = exports.WhatsappAuthentication = exports.Types = exports.TwilioText = exports.TwilioQuickReply = exports.TwilioMedia = exports.TwilioLocation = exports.TwilioListPicker = exports.TwilioCatalog = exports.TwilioCarousel = exports.TwilioCard = exports.TwilioCallToAction = exports.QuickReplyAction = exports.ListItem = exports.ContentCreateRequest = exports.CatalogItem = exports.CarouselCard = exports.CarouselAction = exports.CardAction = exports.CallToActionAction = exports.AuthenticationAction = void 0;
const util_1 = require("util");

@@ -37,2 +37,8 @@ const Page_1 = __importDefault(require("../../../base/Page"));

exports.CardAction = CardAction;
class CarouselAction {
}
exports.CarouselAction = CarouselAction;
class CarouselCard {
}
exports.CarouselCard = CarouselCard;
class CatalogItem {

@@ -66,2 +72,8 @@ }

/**
* twilio/carousel templates allow you to send a single text message accompanied by a set of up to 10 carousel cards in a horizontally scrollable view
*/
class TwilioCarousel {
}
exports.TwilioCarousel = TwilioCarousel;
/**
* twilio/catalog type lets recipients view list of catalog products, ask questions about products, order products.

@@ -68,0 +80,0 @@ */

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V2 from "../V2";
/**
* Options to pass to update a FlexUserInstance
*/
export interface FlexUserContextUpdateOptions {
/** First name of the User. */
firstName?: string;
/** Last name of the User. */
lastName?: string;
/** Email of the User. */
email?: string;
/** Friendly name of the User. */
friendlyName?: string;
/** The unique SID identifier of the Twilio Unified User. */
userSid?: string;
/** The locale preference of the user. */
locale?: string;
}
export interface FlexUserContext {

@@ -14,2 +31,19 @@ /**

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

@@ -30,2 +64,3 @@ */

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

@@ -52,2 +87,4 @@ * Provide a user-friendly representation

friendly_name: string;
locale: string;
roles: Array<string>;
created_date: Date;

@@ -112,2 +149,10 @@ updated_date: Date;

/**
* The locale preference of the user.
*/
locale: string;
/**
* The roles of the user.
*/
roles: Array<string>;
/**
* The date that this user was created, given in ISO 8601 format.

@@ -135,2 +180,19 @@ */

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

@@ -153,2 +215,4 @@ *

friendlyName: string;
locale: string;
roles: string[];
createdDate: Date;

@@ -155,0 +219,0 @@ updatedDate: Date;

@@ -43,2 +43,36 @@ "use strict";

}
update(params, callback) {
if (params instanceof Function) {
callback = params;
params = {};
}
else {
params = params || {};
}
let data = {};
if (params["firstName"] !== undefined)
data["FirstName"] = params["firstName"];
if (params["lastName"] !== undefined)
data["LastName"] = params["lastName"];
if (params["email"] !== undefined)
data["Email"] = params["email"];
if (params["friendlyName"] !== undefined)
data["FriendlyName"] = params["friendlyName"];
if (params["userSid"] !== undefined)
data["UserSid"] = params["userSid"];
if (params["locale"] !== undefined)
data["Locale"] = params["locale"];
const headers = {};
headers["Content-Type"] = "application/x-www-form-urlencoded";
const instance = this;
let operationVersion = instance._version, operationPromise = operationVersion.update({
uri: instance._uri,
method: "post",
data,
headers,
});
operationPromise = operationPromise.then((payload) => new FlexUserInstance(operationVersion, payload, instance._solution.instanceSid, instance._solution.flexUserSid));
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
return operationPromise;
}
/**

@@ -72,2 +106,4 @@ * Provide a user-friendly representation

this.friendlyName = payload.friendly_name;
this.locale = payload.locale;
this.roles = payload.roles;
this.createdDate = deserialize.iso8601DateTime(payload.created_date);

@@ -98,2 +134,5 @@ this.updatedDate = deserialize.iso8601DateTime(payload.updated_date);

}
update(params, callback) {
return this._proxy.update(params, callback);
}
/**

@@ -118,2 +157,4 @@ * Provide a user-friendly representation

friendlyName: this.friendlyName,
locale: this.locale,
roles: this.roles,
createdDate: this.createdDate,

@@ -120,0 +161,0 @@ updatedDate: this.updatedDate,

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

toCountryCode?: string;
/** A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. */
branded?: boolean;
/** A boolean flag indicating whether or not the caller was verified using SHAKEN/STIR. */
/** A boolean flag indicating whether or not the caller was verified using SHAKEN/STIR.One of \'true\' or \'false\'. */
verifiedCaller?: boolean;

@@ -65,2 +63,20 @@ /** A boolean flag indicating the presence of one or more [Voice Insights Call Tags](https://www.twilio.com/docs/voice/voice-insights/api/call/details-call-tags). */

callScoreAnnotation?: string;
/** A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. One of \'true\' or \'false\' */
brandedEnabled?: boolean;
/** A boolean flag indicating whether or not the phone number had voice integrity enabled.One of \'true\' or \'false\' */
voiceIntegrityEnabled?: boolean;
/** A unique SID identifier of the Branded Call. */
brandedBundleSid?: string;
/** A unique SID identifier of the Voice Integrity Profile. */
voiceIntegrityBundleSid?: string;
/** A Voice Integrity Use Case . Is of type enum. One of \'abandoned_cart\', \'appointment_reminders\', \'appointment_scheduling\', \'asset_management\', \'automated_support\', \'call_tracking\', \'click_to_call\', \'contact_tracing\', \'contactless_delivery\', \'customer_support\', \'dating/social\', \'delivery_notifications\', \'distance_learning\', \'emergency_notifications\', \'employee_notifications\', \'exam_proctoring\', \'field_notifications\', \'first_responder\', \'fraud_alerts\', \'group_messaging\', \'identify_&_verification\', \'intelligent_routing\', \'lead_alerts\', \'lead_distribution\', \'lead_generation\', \'lead_management\', \'lead_nurturing\', \'marketing_events\', \'mass_alerts\', \'meetings/collaboration\', \'order_notifications\', \'outbound_dialer\', \'pharmacy\', \'phone_system\', \'purchase_confirmation\', \'remote_appointments\', \'rewards_program\', \'self-service\', \'service_alerts\', \'shift_management\', \'survey/research\', \'telehealth\', \'telemarketing\', \'therapy_(individual+group)\'. */
voiceIntegrityUseCase?: string;
/** A Business Identity of the calls. Is of type enum. One of \'direct_customer\', \'isv_reseller_or_partner\'. */
businessProfileIdentity?: string;
/** A Business Industry of the calls. Is of type enum. One of \'automotive\', \'agriculture\', \'banking\', \'consumer\', \'construction\', \'education\', \'engineering\', \'energy\', \'oil_and_gas\', \'fast_moving_consumer_goods\', \'financial\', \'fintech\', \'food_and_beverage\', \'government\', \'healthcare\', \'hospitality\', \'insurance\', \'legal\', \'manufacturing\', \'media\', \'online\', \'professional_services\', \'raw_materials\', \'real_estate\', \'religion\', \'retail\', \'jewelry\', \'technology\', \'telecommunications\', \'transportation\', \'travel\', \'electronics\', \'not_for_profit\' */
businessProfileIndustry?: string;
/** A unique SID identifier of the Business Profile. */
businessProfileBundleSid?: string;
/** A Business Profile Type of the calls. Is of type enum. One of \'primary\', \'secondary\'. */
businessProfileType?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -91,5 +107,3 @@ pageSize?: number;

toCountryCode?: string;
/** A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. */
branded?: boolean;
/** A boolean flag indicating whether or not the caller was verified using SHAKEN/STIR. */
/** A boolean flag indicating whether or not the caller was verified using SHAKEN/STIR.One of \'true\' or \'false\'. */
verifiedCaller?: boolean;

@@ -128,2 +142,20 @@ /** A boolean flag indicating the presence of one or more [Voice Insights Call Tags](https://www.twilio.com/docs/voice/voice-insights/api/call/details-call-tags). */

callScoreAnnotation?: string;
/** A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. One of \'true\' or \'false\' */
brandedEnabled?: boolean;
/** A boolean flag indicating whether or not the phone number had voice integrity enabled.One of \'true\' or \'false\' */
voiceIntegrityEnabled?: boolean;
/** A unique SID identifier of the Branded Call. */
brandedBundleSid?: string;
/** A unique SID identifier of the Voice Integrity Profile. */
voiceIntegrityBundleSid?: string;
/** A Voice Integrity Use Case . Is of type enum. One of \'abandoned_cart\', \'appointment_reminders\', \'appointment_scheduling\', \'asset_management\', \'automated_support\', \'call_tracking\', \'click_to_call\', \'contact_tracing\', \'contactless_delivery\', \'customer_support\', \'dating/social\', \'delivery_notifications\', \'distance_learning\', \'emergency_notifications\', \'employee_notifications\', \'exam_proctoring\', \'field_notifications\', \'first_responder\', \'fraud_alerts\', \'group_messaging\', \'identify_&_verification\', \'intelligent_routing\', \'lead_alerts\', \'lead_distribution\', \'lead_generation\', \'lead_management\', \'lead_nurturing\', \'marketing_events\', \'mass_alerts\', \'meetings/collaboration\', \'order_notifications\', \'outbound_dialer\', \'pharmacy\', \'phone_system\', \'purchase_confirmation\', \'remote_appointments\', \'rewards_program\', \'self-service\', \'service_alerts\', \'shift_management\', \'survey/research\', \'telehealth\', \'telemarketing\', \'therapy_(individual+group)\'. */
voiceIntegrityUseCase?: string;
/** A Business Identity of the calls. Is of type enum. One of \'direct_customer\', \'isv_reseller_or_partner\'. */
businessProfileIdentity?: string;
/** A Business Industry of the calls. Is of type enum. One of \'automotive\', \'agriculture\', \'banking\', \'consumer\', \'construction\', \'education\', \'engineering\', \'energy\', \'oil_and_gas\', \'fast_moving_consumer_goods\', \'financial\', \'fintech\', \'food_and_beverage\', \'government\', \'healthcare\', \'hospitality\', \'insurance\', \'legal\', \'manufacturing\', \'media\', \'online\', \'professional_services\', \'raw_materials\', \'real_estate\', \'religion\', \'retail\', \'jewelry\', \'technology\', \'telecommunications\', \'transportation\', \'travel\', \'electronics\', \'not_for_profit\' */
businessProfileIndustry?: string;
/** A unique SID identifier of the Business Profile. */
businessProfileBundleSid?: string;
/** A Business Profile Type of the calls. Is of type enum. One of \'primary\', \'secondary\'. */
businessProfileType?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -150,5 +182,3 @@ pageSize?: number;

toCountryCode?: string;
/** A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. */
branded?: boolean;
/** A boolean flag indicating whether or not the caller was verified using SHAKEN/STIR. */
/** A boolean flag indicating whether or not the caller was verified using SHAKEN/STIR.One of \'true\' or \'false\'. */
verifiedCaller?: boolean;

@@ -187,2 +217,20 @@ /** A boolean flag indicating the presence of one or more [Voice Insights Call Tags](https://www.twilio.com/docs/voice/voice-insights/api/call/details-call-tags). */

callScoreAnnotation?: string;
/** A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. One of \'true\' or \'false\' */
brandedEnabled?: boolean;
/** A boolean flag indicating whether or not the phone number had voice integrity enabled.One of \'true\' or \'false\' */
voiceIntegrityEnabled?: boolean;
/** A unique SID identifier of the Branded Call. */
brandedBundleSid?: string;
/** A unique SID identifier of the Voice Integrity Profile. */
voiceIntegrityBundleSid?: string;
/** A Voice Integrity Use Case . Is of type enum. One of \'abandoned_cart\', \'appointment_reminders\', \'appointment_scheduling\', \'asset_management\', \'automated_support\', \'call_tracking\', \'click_to_call\', \'contact_tracing\', \'contactless_delivery\', \'customer_support\', \'dating/social\', \'delivery_notifications\', \'distance_learning\', \'emergency_notifications\', \'employee_notifications\', \'exam_proctoring\', \'field_notifications\', \'first_responder\', \'fraud_alerts\', \'group_messaging\', \'identify_&_verification\', \'intelligent_routing\', \'lead_alerts\', \'lead_distribution\', \'lead_generation\', \'lead_management\', \'lead_nurturing\', \'marketing_events\', \'mass_alerts\', \'meetings/collaboration\', \'order_notifications\', \'outbound_dialer\', \'pharmacy\', \'phone_system\', \'purchase_confirmation\', \'remote_appointments\', \'rewards_program\', \'self-service\', \'service_alerts\', \'shift_management\', \'survey/research\', \'telehealth\', \'telemarketing\', \'therapy_(individual+group)\'. */
voiceIntegrityUseCase?: string;
/** A Business Identity of the calls. Is of type enum. One of \'direct_customer\', \'isv_reseller_or_partner\'. */
businessProfileIdentity?: string;
/** A Business Industry of the calls. Is of type enum. One of \'automotive\', \'agriculture\', \'banking\', \'consumer\', \'construction\', \'education\', \'engineering\', \'energy\', \'oil_and_gas\', \'fast_moving_consumer_goods\', \'financial\', \'fintech\', \'food_and_beverage\', \'government\', \'healthcare\', \'hospitality\', \'insurance\', \'legal\', \'manufacturing\', \'media\', \'online\', \'professional_services\', \'raw_materials\', \'real_estate\', \'religion\', \'retail\', \'jewelry\', \'technology\', \'telecommunications\', \'transportation\', \'travel\', \'electronics\', \'not_for_profit\' */
businessProfileIndustry?: string;
/** A unique SID identifier of the Business Profile. */
businessProfileBundleSid?: string;
/** A Business Profile Type of the calls. Is of type enum. One of \'primary\', \'secondary\'. */
businessProfileType?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -189,0 +237,0 @@ pageSize?: number;

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

data["ToCountryCode"] = params["toCountryCode"];
if (params["branded"] !== undefined)
data["Branded"] = serialize.bool(params["branded"]);
if (params["verifiedCaller"] !== undefined)

@@ -88,2 +86,20 @@ data["VerifiedCaller"] = serialize.bool(params["verifiedCaller"]);

data["CallScoreAnnotation"] = params["callScoreAnnotation"];
if (params["brandedEnabled"] !== undefined)
data["BrandedEnabled"] = serialize.bool(params["brandedEnabled"]);
if (params["voiceIntegrityEnabled"] !== undefined)
data["VoiceIntegrityEnabled"] = serialize.bool(params["voiceIntegrityEnabled"]);
if (params["brandedBundleSid"] !== undefined)
data["BrandedBundleSid"] = params["brandedBundleSid"];
if (params["voiceIntegrityBundleSid"] !== undefined)
data["VoiceIntegrityBundleSid"] = params["voiceIntegrityBundleSid"];
if (params["voiceIntegrityUseCase"] !== undefined)
data["VoiceIntegrityUseCase"] = params["voiceIntegrityUseCase"];
if (params["businessProfileIdentity"] !== undefined)
data["BusinessProfileIdentity"] = params["businessProfileIdentity"];
if (params["businessProfileIndustry"] !== undefined)
data["BusinessProfileIndustry"] = params["businessProfileIndustry"];
if (params["businessProfileBundleSid"] !== undefined)
data["BusinessProfileBundleSid"] = params["businessProfileBundleSid"];
if (params["businessProfileType"] !== undefined)
data["BusinessProfileType"] = params["businessProfileType"];
if (params["pageSize"] !== undefined)

@@ -90,0 +106,0 @@ data["PageSize"] = params["pageSize"];

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

redacted?: boolean;
/** Returns word level timestamps information, if word_timestamps is enabled. The default is `false`. */
wordTimestamps?: boolean;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -28,2 +30,4 @@ pageSize?: number;

redacted?: boolean;
/** Returns word level timestamps information, if word_timestamps is enabled. The default is `false`. */
wordTimestamps?: boolean;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -40,2 +44,4 @@ pageSize?: number;

redacted?: boolean;
/** Returns word level timestamps information, if word_timestamps is enabled. The default is `false`. */
wordTimestamps?: boolean;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -123,2 +129,3 @@ pageSize?: number;

confidence: number;
words: Array<any>;
}

@@ -154,2 +161,6 @@ export declare class SentenceInstance {

/**
* Detailed information for each of the words of the given Sentence.
*/
words: Array<any>;
/**
* Provide a user-friendly representation

@@ -167,2 +178,3 @@ *

confidence: number;
words: any[];
};

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

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

data["Redacted"] = serialize.bool(params["redacted"]);
if (params["wordTimestamps"] !== undefined)
data["WordTimestamps"] = serialize.bool(params["wordTimestamps"]);
if (params["pageSize"] !== undefined)

@@ -92,2 +94,3 @@ data["PageSize"] = params["pageSize"];

this.confidence = payload.confidence;
this.words = payload.words;
}

@@ -108,2 +111,3 @@ /**

confidence: this.confidence,
words: this.words,
};

@@ -110,0 +114,0 @@ }

@@ -6,2 +6,3 @@ import MarketplaceBase from "../MarketplaceBase";

import { ModuleDataManagementListInstance } from "./v1/moduleDataManagement";
import { ReferralConversionListInstance } from "./v1/referralConversion";
export default class V1 extends Version {

@@ -20,2 +21,4 @@ /**

protected _moduleDataManagement?: ModuleDataManagementListInstance;
/** referralConversion - { Twilio.Marketplace.V1.ReferralConversionListInstance } resource */
protected _referralConversion?: ReferralConversionListInstance;
/** Getter for availableAddOns resource */

@@ -27,2 +30,4 @@ get availableAddOns(): AvailableAddOnListInstance;

get moduleDataManagement(): ModuleDataManagementListInstance;
/** Getter for referralConversion resource */
get referralConversion(): ReferralConversionListInstance;
}

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

const moduleDataManagement_1 = require("./v1/moduleDataManagement");
const referralConversion_1 = require("./v1/referralConversion");
class V1 extends Version_1.default {

@@ -51,3 +52,9 @@ /**

}
/** Getter for referralConversion resource */
get referralConversion() {
this._referralConversion =
this._referralConversion || (0, referralConversion_1.ReferralConversionListInstance)(this);
return this._referralConversion;
}
}
exports.default = V1;
/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V1 from "../../V1";
export declare class CreateBillingUsageRequest {
"billableItems"?: Array<CreateBillingUsageRequestBillableItems>;
}
export declare class CreateBillingUsageRequestBillableItems {
/**
*
*/
"quantity": number;
/**
*
*/
"sid": string;
}
export declare class MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems {

@@ -31,2 +18,15 @@ /**

}
export declare class MarketplaceV1InstalledAddOnInstalledAddOnUsage {
"billableItems": Array<MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems>;
}
export declare class MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems {
/**
* Any floating number greater than 0.
*/
"quantity": number;
/**
* BillingSid to use for billing.
*/
"sid": string;
}
/**

@@ -37,3 +37,3 @@ * Options to pass to create a InstalledAddOnUsageInstance

/** */
createBillingUsageRequest: CreateBillingUsageRequest;
marketplaceV1InstalledAddOnInstalledAddOnUsage: MarketplaceV1InstalledAddOnInstalledAddOnUsage;
}

@@ -55,3 +55,3 @@ export interface InstalledAddOnUsageSolution {

*/
create(params: CreateBillingUsageRequest, callback?: (error: Error | null, item?: InstalledAddOnUsageInstance) => any): Promise<InstalledAddOnUsageInstance>;
create(params: MarketplaceV1InstalledAddOnInstalledAddOnUsage, callback?: (error: Error | null, item?: InstalledAddOnUsageInstance) => any): Promise<InstalledAddOnUsageInstance>;
/**

@@ -58,0 +58,0 @@ * Provide a user-friendly representation

@@ -16,3 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.InstalledAddOnUsageInstance = exports.InstalledAddOnUsageListInstance = exports.MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems = exports.CreateBillingUsageRequestBillableItems = exports.CreateBillingUsageRequest = void 0;
exports.InstalledAddOnUsageInstance = exports.InstalledAddOnUsageListInstance = exports.MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems = exports.MarketplaceV1InstalledAddOnInstalledAddOnUsage = exports.MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems = void 0;
const util_1 = require("util");

@@ -22,11 +22,11 @@ const deserialize = require("../../../../base/deserialize");

const utility_1 = require("../../../../base/utility");
class CreateBillingUsageRequest {
class MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems {
}
exports.CreateBillingUsageRequest = CreateBillingUsageRequest;
class CreateBillingUsageRequestBillableItems {
exports.MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems = MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems;
class MarketplaceV1InstalledAddOnInstalledAddOnUsage {
}
exports.CreateBillingUsageRequestBillableItems = CreateBillingUsageRequestBillableItems;
class MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems {
exports.MarketplaceV1InstalledAddOnInstalledAddOnUsage = MarketplaceV1InstalledAddOnInstalledAddOnUsage;
class MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems {
}
exports.MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems = MarketplaceV1InstalledAddOnBillingUsageResponseBillableItems;
exports.MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems = MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems;
function InstalledAddOnUsageListInstance(version, installedAddOnSid) {

@@ -33,0 +33,0 @@ if (!(0, utility_1.isValidPathParam)(installedAddOnSid)) {

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

support?: string;
/** */
configuration?: string;
}

@@ -78,2 +80,3 @@ export interface ModuleDataManagementContext {

documentation: any;
configuration: any;
}

@@ -85,9 +88,34 @@ export declare class ModuleDataManagementInstance {

constructor(_version: V1, payload: ModuleDataManagementResource, sid?: string);
/**
* URL to query the subresource.
*/
url: string;
/**
* ModuleSid that identifies this Listing.
*/
sid: string;
/**
* A JSON object describing the module and is displayed under the Description tab of the Module detail page. You can define the main body of the description, highlight key features or aspects of the module and if applicable, provide code samples for developers
*/
description: any;
/**
* A JSON object containing information on how customers can obtain support for the module. Use this parameter to provide details such as contact information and support description.
*/
support: any;
/**
* A JSON object describing the module\'s privacy and legal policies and is displayed under the Policies tab of the Module detail page. The maximum file size for Policies is 5MB
*/
policies: any;
/**
* A JSON object containing essential attributes that define a module. This information is presented on the Module detail page in the Twilio Marketplace Catalog. You can pass the following attributes in the JSON object
*/
moduleInfo: any;
/**
* A JSON object for providing comprehensive information, instructions, and resources related to the module
*/
documentation: any;
/**
* A JSON object for providing listing specific configuration. Contains button setup, notification url, among others.
*/
configuration: any;
private get _proxy();

@@ -132,2 +160,3 @@ /**

documentation: any;
configuration: any;
};

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

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

data["Support"] = params["support"];
if (params["configuration"] !== undefined)
data["Configuration"] = params["configuration"];
const headers = {};

@@ -96,2 +98,3 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

this.documentation = payload.documentation;
this.configuration = payload.configuration;
this._solution = { sid: sid || this.sid };

@@ -132,2 +135,3 @@ }

documentation: this.documentation,
configuration: this.configuration,
};

@@ -134,0 +138,0 @@ }

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

messagingServiceSid: string;
/** Customers should use this flag during the ERC registration process to indicate to Twilio that the campaign being registered is undergoing CNP migration. It is important for the user to first trigger the CNP migration process for said campaign in their CSP portal and have Twilio accept the sharing request, before making this api call. */
cnpMigration?: boolean;
}

@@ -14,0 +16,0 @@ export interface ExternalCampaignSolution {

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

data["MessagingServiceSid"] = params["messagingServiceSid"];
if (params["cnpMigration"] !== undefined)
data["CnpMigration"] = serialize.bool(params["cnpMigration"]);
const headers = {};

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

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

/**
* Options to pass to create a ChannelSenderInstance
*/
export interface ChannelSenderListInstanceCreateOptions {
/** The SID of the Channel Sender being added to the Service. */
sid: string;
}
/**
* Options to pass to each

@@ -42,2 +49,10 @@ */

/**
* Remove a ChannelSenderInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed boolean
*/
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
/**
* Fetch a ChannelSenderInstance

@@ -65,2 +80,3 @@ *

constructor(_version: V1, messagingServiceSid: string, sid: string);
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
fetch(callback?: (error: Error | null, item?: ChannelSenderInstance) => any): Promise<ChannelSenderInstance>;

@@ -132,2 +148,10 @@ /**

/**
* Remove a ChannelSenderInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed boolean
*/
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
/**
* Fetch a ChannelSenderInstance

@@ -168,2 +192,11 @@ *

/**
* Create a ChannelSenderInstance
*
* @param params - Parameter for request
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed ChannelSenderInstance
*/
create(params: ChannelSenderListInstanceCreateOptions, callback?: (error: Error | null, item?: ChannelSenderInstance) => any): Promise<ChannelSenderInstance>;
/**
* Streams ChannelSenderInstance records from the API.

@@ -170,0 +203,0 @@ *

@@ -37,2 +37,11 @@ "use strict";

}
remove(callback) {
const instance = this;
let operationVersion = instance._version, operationPromise = operationVersion.remove({
uri: instance._uri,
method: "delete",
});
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
return operationPromise;
}
fetch(callback) {

@@ -82,2 +91,12 @@ const instance = this;

/**
* Remove a ChannelSenderInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed boolean
*/
remove(callback) {
return this._proxy.remove(callback);
}
/**
* Fetch a ChannelSenderInstance

@@ -126,2 +145,23 @@ *

instance._uri = `/Services/${messagingServiceSid}/ChannelSenders`;
instance.create = function create(params, callback) {
if (params === null || params === undefined) {
throw new Error('Required parameter "params" missing.');
}
if (params["sid"] === null || params["sid"] === undefined) {
throw new Error("Required parameter \"params['sid']\" missing.");
}
let data = {};
data["Sid"] = params["sid"];
const headers = {};
headers["Content-Type"] = "application/x-www-form-urlencoded";
let operationVersion = version, operationPromise = operationVersion.create({
uri: instance._uri,
method: "post",
data,
headers,
});
operationPromise = operationPromise.then((payload) => new ChannelSenderInstance(operationVersion, payload, instance._solution.messagingServiceSid));
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
return operationPromise;
};
instance.page = function page(params, callback) {

@@ -128,0 +168,0 @@ if (params instanceof Function) {

@@ -10,4 +10,4 @@ import NumbersBase from "../NumbersBase";

import { PortingWebhookConfigurationDeleteListInstance } from "./v1/portingWebhookConfigurationDelete";
import { PortingWebhookConfigurationFetchListInstance } from "./v1/portingWebhookConfigurationFetch";
import { SigningRequestConfigurationListInstance } from "./v1/signingRequestConfiguration";
import { WebhookListInstance } from "./v1/webhook";
export default class V1 extends Version {

@@ -34,6 +34,6 @@ /**

protected _portingWebhookConfigurationsDelete?: PortingWebhookConfigurationDeleteListInstance;
/** portingWebhookConfigurationFetch - { Twilio.Numbers.V1.PortingWebhookConfigurationFetchListInstance } resource */
protected _portingWebhookConfigurationFetch?: PortingWebhookConfigurationFetchListInstance;
/** signingRequestConfigurations - { Twilio.Numbers.V1.SigningRequestConfigurationListInstance } resource */
protected _signingRequestConfigurations?: SigningRequestConfigurationListInstance;
/** webhook - { Twilio.Numbers.V1.WebhookListInstance } resource */
protected _webhook?: WebhookListInstance;
/** Getter for bulkEligibilities resource */

@@ -53,6 +53,6 @@ get bulkEligibilities(): BulkEligibilityListInstance;

get portingWebhookConfigurationsDelete(): PortingWebhookConfigurationDeleteListInstance;
/** Getter for portingWebhookConfigurationFetch resource */
get portingWebhookConfigurationFetch(): PortingWebhookConfigurationFetchListInstance;
/** Getter for signingRequestConfigurations resource */
get signingRequestConfigurations(): SigningRequestConfigurationListInstance;
/** Getter for webhook resource */
get webhook(): WebhookListInstance;
}

@@ -27,4 +27,4 @@ "use strict";

const portingWebhookConfigurationDelete_1 = require("./v1/portingWebhookConfigurationDelete");
const portingWebhookConfigurationFetch_1 = require("./v1/portingWebhookConfigurationFetch");
const signingRequestConfiguration_1 = require("./v1/signingRequestConfiguration");
const webhook_1 = require("./v1/webhook");
class V1 extends Version_1.default {

@@ -83,2 +83,9 @@ /**

}
/** Getter for portingWebhookConfigurationFetch resource */
get portingWebhookConfigurationFetch() {
this._portingWebhookConfigurationFetch =
this._portingWebhookConfigurationFetch ||
(0, portingWebhookConfigurationFetch_1.PortingWebhookConfigurationFetchListInstance)(this);
return this._portingWebhookConfigurationFetch;
}
/** Getter for signingRequestConfigurations resource */

@@ -91,8 +98,3 @@ get signingRequestConfigurations() {

}
/** Getter for webhook resource */
get webhook() {
this._webhook = this._webhook || (0, webhook_1.WebhookListInstance)(this);
return this._webhook;
}
}
exports.default = V1;

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

export interface PortingPortabilityContextFetchOptions {
/** The SID of the account where the phone number(s) will be ported. */
/** Account Sid to which the number will be ported. This can be used to determine if a sub account already has the number in its inventory or a different sub account. If this is not provided, the authenticated account will be assumed to be the target account. */
targetAccountSid?: string;

@@ -75,11 +75,11 @@ }

/**
* The target account sid to which the number will be ported
* Account Sid that the phone number belongs to in Twilio. This is only returned for phone numbers that already exist in Twilio’s inventory and belong to your account or sub account.
*/
accountSid: string;
/**
* Boolean flag specifying if phone number is portable or not.
* Boolean flag indicates if the phone number can be ported into Twilio through the Porting API or not.
*/
portable: boolean;
/**
* Boolean flag specifying if PIN and account number is required for the phone number.
* Indicates if the port in process will require a personal identification number (PIN) and an account number for this phone number. If this is true you will be required to submit both a PIN and account number from the losing carrier for this number when opening a port in request. These fields will be required in order to complete the port in process to Twilio.
*/

@@ -92,3 +92,3 @@ pinAndAccountNumberRequired: boolean;

/**
* The Portability Reason Code for the phone number if it cannot be ported into Twilio, `null` otherwise. One of `22131`, `22132`, `22130`, `22133`, `22102` or `22135`.
* The Portability Reason Code for the phone number if it cannot be ported into Twilio, `null` otherwise.
*/

@@ -95,0 +95,0 @@ notPortableReasonCode: number;

@@ -80,19 +80,19 @@ /// <reference types="node" />

/**
* The Account SID that the numbers will be added to after they are ported into Twilio.
* Account Sid or subaccount where the phone number(s) will be Ported
*/
accountSid: string;
/**
* List of emails for getting notifications about the LOA signing process. Allowed Max 10 emails.
* Additional emails to send a copy of the signed LOA to.
*/
notificationEmails: Array<string>;
/**
* Minimum number of days in the future (at least 2 days) needs to be established with the Ops team for validation.
* Target date to port the number. We cannot guarantee that this date will be honored by the other carriers, please work with Ops to get a confirmation of the firm order commitment (FOC) date. Expected format is ISO Local Date, example: ‘2011-12-03`. This date must be at least 7 days in the future for US ports and 10 days in the future for Japanese ports. (This value is only available for custom porting customers.)
*/
targetPortInDate: Date;
/**
* Minimum hour in the future needs to be established with the Ops team for validation.
* The earliest time that the port should occur on the target port in date. Expected format is ISO Offset Time, example: ‘10:15:00-08:00\'. (This value is only available for custom porting customers.)
*/
targetPortInTimeRangeStart: string;
/**
* Maximum hour in the future needs to be established with the Ops team for validation.
* The latest time that the port should occur on the target port in date. Expected format is ISO Offset Time, example: ‘10:15:00-08:00\'. (This value is only available for custom porting customers.)
*/

@@ -105,11 +105,8 @@ targetPortInTimeRangeEnd: string;

/**
* The information for the losing carrier.
* Details regarding the customer’s information with the losing carrier. These values will be used to generate the letter of authorization and should match the losing carrier’s data as closely as possible to ensure the port is accepted.
*/
losingCarrierInformation: any;
/**
* The list of phone numbers to Port in. Phone numbers are in E.164 format (e.g. +16175551212).
*/
phoneNumbers: Array<any>;
/**
* The list of documents SID referencing a utility bills
* List of document SIDs for all phone numbers included in the port in request. At least one document SID referring to a document of the type Utility Bill is required.
*/

@@ -116,0 +113,0 @@ documents: Array<string>;

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

rejection_reason_code: number;
port_date: Date;
}

@@ -72,66 +73,73 @@ export declare class PortingPortInPhoneNumberInstance {

/**
* The SID of the Port In request. This is a unique identifier of the port in request.
* The unique identifier for the port in request that this phone number is associated with.
*/
portInRequestSid: string;
/**
* The SID of the Port In request phone number. This is a unique identifier of the phone number.
* The unique identifier for this phone number associated with this port in request.
*/
phoneNumberSid: string;
/**
* URL reference for this resource.
*/
url: string;
/**
* The SID of the account that the phone number belongs to.
* Account Sid or subaccount where the phone number(s) will be Ported.
*/
accountSid: string;
/**
* The type of the phone number.
* The number type of the phone number. This can be: toll-free, local, mobile or unknown. This field may be null if the number is not portable or if the portability for a number has not yet been evaluated.
*/
phoneNumberType: string;
/**
* The date when the phone number was created.
* The timestamp for when this port in phone number was created.
*/
dateCreated: Date;
/**
* The country of the phone number.
* The ISO country code that this number is associated with. This field may be null if the number is not portable or if the portability for a number has not yet been evaluated.
*/
country: string;
/**
* The phone number is missing required fields.
* Indicates if the phone number is missing required fields such as a PIN or account number. This field may be null if the number is not portable or if the portability for a number has not yet been evaluated.
*/
missingRequiredFields: boolean;
/**
* The timestamp when the status was last updated.
* Timestamp indicating when the Port In Phone Number resource was last modified.
*/
lastUpdated: Date;
/**
* The phone number.
* Phone number to be ported. This will be in the E164 Format.
*/
phoneNumber: string;
/**
* The phone number is portable.
* If the number is portable by Twilio or not. This field may be null if the number portability has not yet been evaluated. If a number is not portable reference the `not_portability_reason_code` and `not_portability_reason` fields for more details
*/
portable: boolean;
/**
* The reason why the phone number is not portable.
* The not portability reason code description. This field may be null if the number is portable or if the portability for a number has not yet been evaluated.
*/
notPortabilityReason: string;
/**
* The code of the reason why the phone number is not portable.
* The not portability reason code. This field may be null if the number is portable or if the portability for a number has not yet been evaluated.
*/
notPortabilityReasonCode: number;
/**
* The status of the phone number in the port in request.
* The status of the port in phone number.
*/
portInPhoneNumberStatus: string;
/**
* The pin required for the losing carrier to port out the phone number.
* The pin required by the losing carrier to do the port out.
*/
portOutPin: number;
/**
* The rejection reason returned by the vendor.
* The description of the rejection reason provided by the losing carrier. This field may be null if the number has not been rejected by the losing carrier.
*/
rejectionReason: string;
/**
* The rejection reason code returned by the vendor.
* The code for the rejection reason provided by the losing carrier. This field may be null if the number has not been rejected by the losing carrier.
*/
rejectionReasonCode: number;
/**
* The timestamp the phone number will be ported. This will only be set once a port date has been confirmed. Not all carriers can guarantee a specific time on the port date. Twilio will try its best to get the port completed by this time on the port date. Please subscribe to webhooks for confirmation on when a port has actually been completed.
*/
portDate: Date;
private get _proxy();

@@ -177,2 +185,3 @@ /**

rejectionReasonCode: number;
portDate: Date;
};

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

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

this.rejectionReasonCode = deserialize.integer(payload.rejection_reason_code);
this.portDate = deserialize.iso8601DateTime(payload.port_date);
this._solution = {

@@ -141,2 +142,3 @@ portInRequestSid: portInRequestSid || this.portInRequestSid,

rejectionReasonCode: this.rejectionReasonCode,
portDate: this.portDate,
};

@@ -143,0 +145,0 @@ }

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

/**
* Webhook URL to send a request when a port in request or port in phone number event happens
* The complete webhook url that will be called when a notification event for port in request or port in phone number happens
*/
portInTargetUrl: string;
/**
* Webhook URL to send a request when a port out phone number event happens
* The complete webhook url that will be called when a notification event for a port out phone number happens.
*/
portOutTargetUrl: string;
/**
* List of notification events to send a request to the webhook URL
* A list to filter what notification events to receive for this account and its sub accounts. If it is an empty list, then it means that there are no filters for the notifications events to send in each webhook and all events will get sent.
*/

@@ -66,0 +66,0 @@ notificationsOf: Array<string>;

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import Page, { TwilioResponsePayload } from "../../../base/Page";
import Response from "../../../http/response";
import V1 from "../V1";

@@ -11,2 +13,47 @@ /**

}
/**
* Options to pass to each
*/
export interface SigningRequestConfigurationListInstanceEachOptions {
/** The country ISO code to apply this configuration, this is an optional field, Example: US, MX */
country?: string;
/** The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting */
product?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
/** Function to process each record. If this and a positional callback are passed, this one will be used */
callback?: (item: SigningRequestConfigurationInstance, done: (err?: Error) => void) => void;
/** Function to be called upon completion of streaming */
done?: Function;
/** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
limit?: number;
}
/**
* Options to pass to list
*/
export interface SigningRequestConfigurationListInstanceOptions {
/** The country ISO code to apply this configuration, this is an optional field, Example: US, MX */
country?: string;
/** The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting */
product?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
limit?: number;
}
/**
* Options to pass to page
*/
export interface SigningRequestConfigurationListInstancePageOptions {
/** The country ISO code to apply this configuration, this is an optional field, Example: US, MX */
country?: string;
/** The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting */
product?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
/** Page Number, this value is simply for client state */
pageNumber?: number;
/** PageToken provided by the API */
pageToken?: string;
}
export interface SigningRequestConfigurationSolution {

@@ -36,2 +83,52 @@ }

/**
* Streams SigningRequestConfigurationInstance records from the API.
*
* This operation lazily loads records as efficiently as possible until the limit
* is reached.
*
* The results are passed into the callback function, so this operation is memory
* efficient.
*
* If a function is passed as the first argument, it will be used as the callback
* function.
*
* @param { SigningRequestConfigurationListInstanceEachOptions } [params] - Options for request
* @param { function } [callback] - Function to process each record
*/
each(callback?: (item: SigningRequestConfigurationInstance, done: (err?: Error) => void) => void): void;
each(params: SigningRequestConfigurationListInstanceEachOptions, callback?: (item: SigningRequestConfigurationInstance, done: (err?: Error) => void) => void): void;
/**
* Retrieve a single target page of SigningRequestConfigurationInstance records from the API.
*
* The request is executed immediately.
*
* @param { string } [targetUrl] - API-generated URL for the requested results page
* @param { function } [callback] - Callback to handle list of records
*/
getPage(targetUrl: string, callback?: (error: Error | null, items: SigningRequestConfigurationPage) => any): Promise<SigningRequestConfigurationPage>;
/**
* Lists SigningRequestConfigurationInstance records from the API as a list.
*
* If a function is passed as the first argument, it will be used as the callback
* function.
*
* @param { SigningRequestConfigurationListInstanceOptions } [params] - Options for request
* @param { function } [callback] - Callback to handle list of records
*/
list(callback?: (error: Error | null, items: SigningRequestConfigurationInstance[]) => any): Promise<SigningRequestConfigurationInstance[]>;
list(params: SigningRequestConfigurationListInstanceOptions, callback?: (error: Error | null, items: SigningRequestConfigurationInstance[]) => any): Promise<SigningRequestConfigurationInstance[]>;
/**
* Retrieve a single page of SigningRequestConfigurationInstance records from the API.
*
* The request is executed immediately.
*
* If a function is passed as the first argument, it will be used as the callback
* function.
*
* @param { SigningRequestConfigurationListInstancePageOptions } [params] - Options for request
* @param { function } [callback] - Callback to handle list of records
*/
page(callback?: (error: Error | null, items: SigningRequestConfigurationPage) => any): Promise<SigningRequestConfigurationPage>;
page(params: SigningRequestConfigurationListInstancePageOptions, callback?: (error: Error | null, items: SigningRequestConfigurationPage) => any): Promise<SigningRequestConfigurationPage>;
/**
* Provide a user-friendly representation

@@ -43,2 +140,5 @@ */

export declare function SigningRequestConfigurationListInstance(version: V1): SigningRequestConfigurationListInstance;
interface SigningRequestConfigurationPayload extends TwilioResponsePayload {
configurations: SigningRequestConfigurationResource[];
}
interface SigningRequestConfigurationResource {

@@ -103,2 +203,19 @@ logo_sid: string;

}
export declare class SigningRequestConfigurationPage extends Page<V1, SigningRequestConfigurationPayload, SigningRequestConfigurationResource, SigningRequestConfigurationInstance> {
/**
* Initialize the SigningRequestConfigurationPage
*
* @param version - Version of the resource
* @param response - Response from the API
* @param solution - Path solution
*/
constructor(version: V1, response: Response<string>, solution: SigningRequestConfigurationSolution);
/**
* Build an instance of SigningRequestConfigurationInstance
*
* @param payload - Payload response from the API
*/
getInstance(payload: SigningRequestConfigurationResource): SigningRequestConfigurationInstance;
[inspect.custom](depth: any, options: InspectOptions): string;
}
export {};

@@ -15,5 +15,9 @@ "use strict";

*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SigningRequestConfigurationInstance = exports.SigningRequestConfigurationListInstance = void 0;
exports.SigningRequestConfigurationPage = exports.SigningRequestConfigurationInstance = exports.SigningRequestConfigurationListInstance = void 0;
const util_1 = require("util");
const Page_1 = __importDefault(require("../../../base/Page"));
const deserialize = require("../../../base/deserialize");

@@ -48,2 +52,43 @@ const serialize = require("../../../base/serialize");

};
instance.page = function page(params, callback) {
if (params instanceof Function) {
callback = params;
params = {};
}
else {
params = params || {};
}
let data = {};
if (params["country"] !== undefined)
data["Country"] = params["country"];
if (params["product"] !== undefined)
data["Product"] = params["product"];
if (params["pageSize"] !== undefined)
data["PageSize"] = params["pageSize"];
if (params.pageNumber !== undefined)
data["Page"] = params.pageNumber;
if (params.pageToken !== undefined)
data["PageToken"] = params.pageToken;
const headers = {};
let operationVersion = version, operationPromise = operationVersion.page({
uri: instance._uri,
method: "get",
params: data,
headers,
});
operationPromise = operationPromise.then((payload) => new SigningRequestConfigurationPage(operationVersion, payload, instance._solution));
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
return operationPromise;
};
instance.each = instance._version.each;
instance.list = instance._version.list;
instance.getPage = function getPage(targetUrl, callback) {
const operationPromise = instance._version._domain.twilio.request({
method: "get",
uri: targetUrl,
});
let pagePromise = operationPromise.then((payload) => new SigningRequestConfigurationPage(instance._version, payload, instance._solution));
pagePromise = instance._version.setPromiseCallback(pagePromise, callback);
return pagePromise;
};
instance.toJSON = function toJSON() {

@@ -92,1 +137,25 @@ return instance._solution;

exports.SigningRequestConfigurationInstance = SigningRequestConfigurationInstance;
class SigningRequestConfigurationPage extends Page_1.default {
/**
* Initialize the SigningRequestConfigurationPage
*
* @param version - Version of the resource
* @param response - Response from the API
* @param solution - Path solution
*/
constructor(version, response, solution) {
super(version, response, solution);
}
/**
* Build an instance of SigningRequestConfigurationInstance
*
* @param payload - Payload response from the API
*/
getInstance(payload) {
return new SigningRequestConfigurationInstance(this._version, payload);
}
[util_1.inspect.custom](depth, options) {
return (0, util_1.inspect)(this.toJSON(), options);
}
}
exports.SigningRequestConfigurationPage = SigningRequestConfigurationPage;

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

import { BulkHostedNumberOrderListInstance } from "./v2/bulkHostedNumberOrder";
import { BundleCloneListInstance } from "./v2/bundleClone";
import { HostedNumberOrderListInstance } from "./v2/hostedNumberOrder";

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

protected _bulkHostedNumberOrders?: BulkHostedNumberOrderListInstance;
/** bundleClone - { Twilio.Numbers.V2.BundleCloneListInstance } resource */
protected _bundleClone?: BundleCloneListInstance;
/** hostedNumberOrders - { Twilio.Numbers.V2.HostedNumberOrderListInstance } resource */

@@ -28,2 +31,4 @@ protected _hostedNumberOrders?: HostedNumberOrderListInstance;

get bulkHostedNumberOrders(): BulkHostedNumberOrderListInstance;
/** Getter for bundleClone resource */
get bundleClone(): BundleCloneListInstance;
/** Getter for hostedNumberOrders resource */

@@ -30,0 +35,0 @@ get hostedNumberOrders(): HostedNumberOrderListInstance;

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

const bulkHostedNumberOrder_1 = require("./v2/bulkHostedNumberOrder");
const bundleClone_1 = require("./v2/bundleClone");
const hostedNumberOrder_1 = require("./v2/hostedNumberOrder");

@@ -46,2 +47,7 @@ const regulatoryCompliance_1 = require("./v2/regulatoryCompliance");

}
/** Getter for bundleClone resource */
get bundleClone() {
this._bundleClone = this._bundleClone || (0, bundleClone_1.BundleCloneListInstance)(this);
return this._bundleClone;
}
/** Getter for hostedNumberOrders resource */

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

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

numberType?: string;
/** Indicates that Bundle is a Test Bundle and will be Auto-Rejected */
isTest?: boolean;
}

@@ -47,0 +49,0 @@ /**

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

data["NumberType"] = params["numberType"];
if (params["isTest"] !== undefined)
data["IsTest"] = serialize.bool(params["isTest"]);
const headers = {};

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

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

routingTarget?: string;
/** A boolean indicating if a new task should respect a worker\\\'s capacity during assignment */
/** A boolean that indicates if the Task should respect a Worker\\\'s capacity and availability during assignment. This field can only be used when the `RoutingTarget` field is set to a Worker SID. By setting `IgnoreCapacity` to a value of `true`, `1`, or `yes`, the Task will be routed to the Worker without respecting their capacity and availability. Any other value will enforce the Worker\\\'s capacity and availability. The default value of `IgnoreCapacity` is `true` when the `RoutingTarget` is set to a Worker SID. */
ignoreCapacity?: string;

@@ -343,3 +343,3 @@ /** The SID of the TaskQueue in which the Task belongs */

/**
* A boolean indicating if a new task should respect a worker\'s capacity during assignment
* A boolean that indicates if the Task should respect a Worker\'s capacity and availability during assignment. This field can only be used when the `RoutingTarget` field is set to a Worker SID. By setting `IgnoreCapacity` to a value of `true`, `1`, or `yes`, the Task will be routed to the Worker without respecting their capacity and availability. Any other value will enforce the Worker\'s capacity and availability. The default value of `IgnoreCapacity` is `true` when the `RoutingTarget` is set to a Worker SID.
*/

@@ -346,0 +346,0 @@ ignoreCapacity: boolean;

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

primaryProfileSid: string;
/** Theme id for styling the inquiry form. */
themeSetId?: string;
}

@@ -20,2 +22,4 @@ /**

notificationEmail?: string;
/** Theme id for styling the inquiry form. */
themeSetId?: string;
}

@@ -22,0 +26,0 @@ export interface ComplianceInquiriesContext {

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

data["PrimaryProfileSid"] = params["primaryProfileSid"];
if (params["themeSetId"] !== undefined)
data["ThemeSetId"] = params["themeSetId"];
const headers = {};

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

data["NotificationEmail"] = params["notificationEmail"];
if (params["themeSetId"] !== undefined)
data["ThemeSetId"] = params["themeSetId"];
const headers = {};

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

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

import FrontlineApi from "./FrontlineApi";
import PreviewIam from "./PreviewIam";
import Insights from "./Insights";

@@ -85,4 +84,2 @@ import Intelligence from "./Intelligence";

_frontlineApi?: FrontlineApi;
/** (Twilio.PreviewIam) - previewIam domain */
_previewIam?: PreviewIam;
/** (Twilio.Insights) - insights domain */

@@ -170,4 +167,2 @@ _insights?: Insights;

get frontlineApi(): FrontlineApi;
/** Getter for (Twilio.PreviewIam) domain */
get previewIam(): PreviewIam;
/** Getter for (Twilio.Insights) domain */

@@ -174,0 +169,0 @@ get insights(): Insights;

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

this.frontlineApi;
this.previewIam;
this.insights;

@@ -114,7 +113,2 @@ this.intelligence;

}
/** Getter for (Twilio.PreviewIam) domain */
get previewIam() {
return (this._previewIam ??
(this._previewIam = new (require("./PreviewIam"))(this)));
}
/** Getter for (Twilio.Insights) domain */

@@ -121,0 +115,0 @@ get insights() {

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

doNotShareWarningEnabled?: boolean;
/** Whether to allow sending verifications with a custom code instead of a randomly generated one. Not available for all customers. */
/** Whether to allow sending verifications with a custom code instead of a randomly generated one. */
customCodeEnabled?: boolean;

@@ -79,3 +79,3 @@ /** Optional configuration for the Push factors. If true, include the date in the Challenge\\\'s response. Otherwise, the date is omitted from the response. See [Challenge](https://www.twilio.com/docs/verify/api/challenge) resource’s details parameter for more info. Default: false. **Deprecated** do not use this parameter. */

doNotShareWarningEnabled?: boolean;
/** Whether to allow sending verifications with a custom code instead of a randomly generated one. Not available for all customers. */
/** Whether to allow sending verifications with a custom code instead of a randomly generated one. */
customCodeEnabled?: boolean;

@@ -289,3 +289,3 @@ /** Optional configuration for the Push factors. If true, include the date in the Challenge\\\'s response. Otherwise, the date is omitted from the response. See [Challenge](https://www.twilio.com/docs/verify/api/challenge) resource’s details parameter for more info. Default: false. **Deprecated** do not use this parameter. This timestamp value is the same one as the one found in `date_created`, please use that one instead. */

/**
* Whether to allow sending verifications with a custom code instead of a randomly generated one. Not available for all customers.
* Whether to allow sending verifications with a custom code instead of a randomly generated one.
*/

@@ -292,0 +292,0 @@ customCodeEnabled: boolean;

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