Comparing version 4.13.0 to 4.14.0
@@ -13,2 +13,4 @@ /// <reference types="node" /> | ||
routing: any; | ||
/** The Interaction context sid is used for adding a context lookup sid */ | ||
interactionContextSid?: string; | ||
} | ||
@@ -56,2 +58,3 @@ export interface InteractionContext { | ||
links: Record<string, string>; | ||
interaction_context_sid: string; | ||
} | ||
@@ -77,2 +80,3 @@ export declare class InteractionInstance { | ||
links: Record<string, string>; | ||
interactionContextSid: string; | ||
private get _proxy(); | ||
@@ -102,2 +106,3 @@ /** | ||
links: Record<string, string>; | ||
interactionContextSid: string; | ||
}; | ||
@@ -104,0 +109,0 @@ [inspect.custom](_depth: any, options: InspectOptions): string; |
@@ -68,2 +68,3 @@ "use strict"; | ||
this.links = payload.links; | ||
this.interactionContextSid = payload.interaction_context_sid; | ||
this._solution = { sid: sid || this.sid }; | ||
@@ -105,2 +106,3 @@ } | ||
links: this.links, | ||
interactionContextSid: this.interactionContextSid, | ||
}; | ||
@@ -134,2 +136,4 @@ } | ||
data["Routing"] = serialize.object(params["routing"]); | ||
if (params["interactionContextSid"] !== undefined) | ||
data["InteractionContextSid"] = params["interactionContextSid"]; | ||
const headers = {}; | ||
@@ -136,0 +140,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded"; |
@@ -12,2 +12,3 @@ import MessagingBase from "../MessagingBase"; | ||
import { ServiceListInstance } from "./v1/service"; | ||
import { TollfreeVerificationListInstance } from "./v1/tollfreeVerification"; | ||
import { UsecaseListInstance } from "./v1/usecase"; | ||
@@ -39,2 +40,4 @@ export default class V1 extends Version { | ||
protected _services?: ServiceListInstance; | ||
/** tollfreeVerifications - { Twilio.Messaging.V1.TollfreeVerificationListInstance } resource */ | ||
protected _tollfreeVerifications?: TollfreeVerificationListInstance; | ||
/** usecases - { Twilio.Messaging.V1.UsecaseListInstance } resource */ | ||
@@ -60,4 +63,6 @@ protected _usecases?: UsecaseListInstance; | ||
get services(): ServiceListInstance; | ||
/** Getter for tollfreeVerifications resource */ | ||
get tollfreeVerifications(): TollfreeVerificationListInstance; | ||
/** Getter for usecases resource */ | ||
get usecases(): UsecaseListInstance; | ||
} |
@@ -29,2 +29,3 @@ "use strict"; | ||
const service_1 = require("./v1/service"); | ||
const tollfreeVerification_1 = require("./v1/tollfreeVerification"); | ||
const usecase_1 = require("./v1/usecase"); | ||
@@ -94,2 +95,8 @@ class V1 extends Version_1.default { | ||
} | ||
/** Getter for tollfreeVerifications resource */ | ||
get tollfreeVerifications() { | ||
this._tollfreeVerifications = | ||
this._tollfreeVerifications || (0, tollfreeVerification_1.TollfreeVerificationListInstance)(this); | ||
return this._tollfreeVerifications; | ||
} | ||
/** Getter for usecases resource */ | ||
@@ -96,0 +103,0 @@ get usecases() { |
@@ -18,2 +18,4 @@ /// <reference types="node" /> | ||
loggingEnabled?: boolean; | ||
/** Set to true to restart the App running on the Device. */ | ||
restartApp?: boolean; | ||
} | ||
@@ -20,0 +22,0 @@ /** |
@@ -73,2 +73,4 @@ "use strict"; | ||
data["LoggingEnabled"] = serialize.bool(params["loggingEnabled"]); | ||
if (params["restartApp"] !== undefined) | ||
data["RestartApp"] = serialize.bool(params["restartApp"]); | ||
const headers = {}; | ||
@@ -75,0 +77,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded"; |
@@ -18,2 +18,4 @@ /// <reference types="node" /> | ||
contactPhoneNumber: string; | ||
/** A list of HostedNumberOrder sids that this AuthorizationDocument will authorize for hosting phone number capabilities on Twilio\\\'s platform. */ | ||
hostedNumberOrderSids: Array<string>; | ||
/** The title of the person authorized to sign the Authorization Document for this phone number. */ | ||
@@ -20,0 +22,0 @@ contactTitle?: string; |
@@ -164,2 +164,6 @@ "use strict"; | ||
} | ||
if (params["hostedNumberOrderSids"] === null || | ||
params["hostedNumberOrderSids"] === undefined) { | ||
throw new Error("Required parameter \"params['hostedNumberOrderSids']\" missing."); | ||
} | ||
let data = {}; | ||
@@ -169,2 +173,3 @@ data["AddressSid"] = params["addressSid"]; | ||
data["ContactPhoneNumber"] = params["contactPhoneNumber"]; | ||
data["HostedNumberOrderSids"] = serialize.map(params["hostedNumberOrderSids"], (e) => e); | ||
if (params["contactTitle"] !== undefined) | ||
@@ -171,0 +176,0 @@ data["ContactTitle"] = params["contactTitle"]; |
@@ -164,3 +164,2 @@ /// <reference types="node" /> | ||
date_created: Date; | ||
sms_capability: boolean; | ||
date_updated: Date; | ||
@@ -219,6 +218,2 @@ email: string; | ||
/** | ||
* Whether the SMS capability will be hosted on our platform. Can be `true` of `false`. | ||
*/ | ||
smsCapability: boolean; | ||
/** | ||
* The date that this resource was updated, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format. | ||
@@ -289,3 +284,2 @@ */ | ||
dateCreated: Date; | ||
smsCapability: boolean; | ||
dateUpdated: Date; | ||
@@ -292,0 +286,0 @@ email: string; |
@@ -80,3 +80,2 @@ "use strict"; | ||
this.dateCreated = deserialize.iso8601DateTime(payload.date_created); | ||
this.smsCapability = payload.sms_capability; | ||
this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated); | ||
@@ -136,3 +135,2 @@ this.email = payload.email; | ||
dateCreated: this.dateCreated, | ||
smsCapability: this.smsCapability, | ||
dateUpdated: this.dateUpdated, | ||
@@ -139,0 +137,0 @@ email: this.email, |
@@ -5,2 +5,3 @@ /// <reference types="node" /> | ||
export type VerificationChannel = "sms" | "call" | "email" | "whatsapp" | "sna"; | ||
export type VerificationRiskCheck = "enable" | "disable"; | ||
export type VerificationStatus = "canceled" | "approved"; | ||
@@ -48,2 +49,4 @@ /** | ||
deviceIp?: string; | ||
/** */ | ||
riskCheck?: VerificationRiskCheck; | ||
} | ||
@@ -50,0 +53,0 @@ export interface VerificationContext { |
@@ -197,2 +197,4 @@ "use strict"; | ||
data["DeviceIp"] = params["deviceIp"]; | ||
if (params["riskCheck"] !== undefined) | ||
data["RiskCheck"] = params["riskCheck"]; | ||
const headers = {}; | ||
@@ -199,0 +201,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded"; |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "4.13.0", | ||
"version": "4.14.0", | ||
"author": "API Team <api@twilio.com>", | ||
@@ -24,3 +24,3 @@ "contributors": [ | ||
"axios": "^0.26.1", | ||
"dayjs": "^1.8.29", | ||
"dayjs": "^1.11.9", | ||
"https-proxy-agent": "^5.0.0", | ||
@@ -27,0 +27,0 @@ "jsonwebtoken": "^9.0.0", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10173358
1269
251886
Updateddayjs@^1.11.9