Comparing version 5.3.2 to 5.3.3
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { HttpMethod } from "../interfaces"; | ||
@@ -3,0 +4,0 @@ import { AxiosInstance } from "axios"; |
@@ -5,3 +5,3 @@ import IamBase from "../IamBase"; | ||
import { GetApiKeysListInstance } from "./v1/getApiKeys"; | ||
import { NewApiKeyListInstance } from "./v1/newApiKey"; | ||
import { KeyListInstance } from "./v1/key"; | ||
export default class V1 extends Version { | ||
@@ -18,4 +18,4 @@ /** | ||
protected _getApiKeys?: GetApiKeysListInstance; | ||
/** newApiKey - { Twilio.Iam.V1.NewApiKeyListInstance } resource */ | ||
protected _newApiKey?: NewApiKeyListInstance; | ||
/** keys - { Twilio.Iam.V1.KeyListInstance } resource */ | ||
protected _keys?: KeyListInstance; | ||
/** Getter for apiKey resource */ | ||
@@ -25,4 +25,4 @@ get apiKey(): ApiKeyListInstance; | ||
get getApiKeys(): GetApiKeysListInstance; | ||
/** Getter for newApiKey resource */ | ||
get newApiKey(): NewApiKeyListInstance; | ||
/** Getter for keys resource */ | ||
get keys(): KeyListInstance; | ||
} |
@@ -22,3 +22,3 @@ "use strict"; | ||
const getApiKeys_1 = require("./v1/getApiKeys"); | ||
const newApiKey_1 = require("./v1/newApiKey"); | ||
const key_1 = require("./v1/key"); | ||
class V1 extends Version_1.default { | ||
@@ -43,8 +43,8 @@ /** | ||
} | ||
/** Getter for newApiKey resource */ | ||
get newApiKey() { | ||
this._newApiKey = this._newApiKey || (0, newApiKey_1.NewApiKeyListInstance)(this); | ||
return this._newApiKey; | ||
/** Getter for keys resource */ | ||
get keys() { | ||
this._keys = this._keys || (0, key_1.KeyListInstance)(this); | ||
return this._keys; | ||
} | ||
} | ||
exports.default = V1; |
@@ -11,2 +11,4 @@ /// <reference types="node" /> | ||
targetAccountSid?: string; | ||
/** Address Sid of customer to which the number will be ported. */ | ||
addressSid?: string; | ||
} | ||
@@ -13,0 +15,0 @@ export interface PortingPortabilityContext { |
@@ -41,2 +41,4 @@ "use strict"; | ||
data["TargetAccountSid"] = params["targetAccountSid"]; | ||
if (params["addressSid"] !== undefined) | ||
data["AddressSid"] = params["addressSid"]; | ||
const headers = {}; | ||
@@ -43,0 +45,0 @@ const instance = this; |
import Domain from "../base/Domain"; | ||
import DeployedDevices from "./preview/DeployedDevices"; | ||
import HostedNumbers from "./preview/HostedNumbers"; | ||
@@ -8,3 +7,2 @@ import Sync from "./preview/Sync"; | ||
declare class PreviewBase extends Domain { | ||
_deployed_devices?: DeployedDevices; | ||
_hosted_numbers?: HostedNumbers; | ||
@@ -20,3 +18,2 @@ _sync?: Sync; | ||
constructor(twilio: any); | ||
get deployed_devices(): DeployedDevices; | ||
get hosted_numbers(): HostedNumbers; | ||
@@ -23,0 +20,0 @@ get sync(): Sync; |
@@ -16,3 +16,2 @@ "use strict"; | ||
const Domain_1 = __importDefault(require("../base/Domain")); | ||
const DeployedDevices_1 = __importDefault(require("./preview/DeployedDevices")); | ||
const HostedNumbers_1 = __importDefault(require("./preview/HostedNumbers")); | ||
@@ -31,7 +30,2 @@ const Sync_1 = __importDefault(require("./preview/Sync")); | ||
} | ||
get deployed_devices() { | ||
this._deployed_devices = | ||
this._deployed_devices || new DeployedDevices_1.default(this); | ||
return this._deployed_devices; | ||
} | ||
get hosted_numbers() { | ||
@@ -38,0 +32,0 @@ this._hosted_numbers = this._hosted_numbers || new HostedNumbers_1.default(this); |
@@ -31,3 +31,3 @@ /// <reference types="node" /> | ||
taskChannel?: string; | ||
/** The task\\\'s new virtual start time value. When supplied, the Task takes on the specified virtual start time. Value can\\\'t be in the future. */ | ||
/** The task\\\'s new virtual start time value. When supplied, the Task takes on the specified virtual start time. Value can\\\'t be in the future or before the year of 1900. */ | ||
virtualStartTime?: Date; | ||
@@ -49,3 +49,3 @@ } | ||
attributes?: string; | ||
/** The virtual start time to assign the new task and override the default. When supplied, the new task will have this virtual start time. When not supplied, the new task will have the virtual start time equal to `date_created`. Value can\\\'t be in the future. */ | ||
/** The virtual start time to assign the new task and override the default. When supplied, the new task will have this virtual start time. When not supplied, the new task will have the virtual start time equal to `date_created`. Value can\\\'t be in the future or before the year of 1900. */ | ||
virtualStartTime?: Date; | ||
@@ -52,0 +52,0 @@ /** A SID of a Worker, Queue, or Workflow to route a Task to */ |
@@ -48,2 +48,4 @@ /// <reference types="node" /> | ||
deviceIp?: string; | ||
/** An optional Boolean value to indicate the requirement of sna client token in the SNA URL invocation response for added security. This token must match in the Verification Check request to confirm phone number verification. */ | ||
enableSnaClientToken?: boolean; | ||
/** */ | ||
@@ -50,0 +52,0 @@ riskCheck?: VerificationRiskCheck; |
@@ -197,2 +197,4 @@ "use strict"; | ||
data["DeviceIp"] = params["deviceIp"]; | ||
if (params["enableSnaClientToken"] !== undefined) | ||
data["EnableSnaClientToken"] = serialize.bool(params["enableSnaClientToken"]); | ||
if (params["riskCheck"] !== undefined) | ||
@@ -199,0 +201,0 @@ data["RiskCheck"] = params["riskCheck"]; |
@@ -19,2 +19,4 @@ /// <reference types="node" /> | ||
payee?: string; | ||
/** A sna client token received in sna url invocation response needs to be passed in Verification Check request and should match to get successful response. */ | ||
snaClientToken?: string; | ||
} | ||
@@ -21,0 +23,0 @@ export interface VerificationCheckSolution { |
@@ -48,2 +48,4 @@ "use strict"; | ||
data["Payee"] = params["payee"]; | ||
if (params["snaClientToken"] !== undefined) | ||
data["SnaClientToken"] = params["snaClientToken"]; | ||
const headers = {}; | ||
@@ -50,0 +52,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded"; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { IncomingHttpHeaders } from "http2"; | ||
@@ -4,0 +5,0 @@ export interface Request { |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "5.3.2", | ||
"version": "5.3.3", | ||
"author": "API Team <api@twilio.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
10300184
1305
254439