Comparing version 3.78.0 to 3.79.0
@@ -508,3 +508,4 @@ 'use strict'; | ||
* The unique ID of the Conversation for this participant. | ||
* @param {sid} sid - A 34 character string that uniquely identifies this resource. | ||
* @param {sid_like} sid - | ||
* A 34 character string that uniquely identifies this resource. | ||
*/ | ||
@@ -655,3 +656,4 @@ /* jshint ignore:end */ | ||
* The unique ID of the Conversation for this participant. | ||
* @param {sid} sid - A 34 character string that uniquely identifies this resource. | ||
* @param {sid_like} sid - | ||
* A 34 character string that uniquely identifies this resource. | ||
*/ | ||
@@ -658,0 +660,0 @@ /* jshint ignore:end */ |
@@ -530,3 +530,4 @@ 'use strict'; | ||
* The unique ID of the Conversation for this participant. | ||
* @param {sid} sid - A 34 character string that uniquely identifies this resource. | ||
* @param {sid_like} sid - | ||
* A 34 character string that uniquely identifies this resource. | ||
*/ | ||
@@ -686,3 +687,4 @@ /* jshint ignore:end */ | ||
* The unique ID of the Conversation for this participant. | ||
* @param {sid} sid - A 34 character string that uniquely identifies this resource. | ||
* @param {sid_like} sid - | ||
* A 34 character string that uniquely identifies this resource. | ||
*/ | ||
@@ -689,0 +691,0 @@ /* jshint ignore:end */ |
@@ -63,3 +63,2 @@ /** | ||
country_code: string; | ||
enhanced_line_type: object; | ||
line_type_intelligence: object; | ||
@@ -129,3 +128,2 @@ live_activity: object; | ||
countryCode: string; | ||
enhancedLineType: any; | ||
/** | ||
@@ -132,0 +130,0 @@ * fetch a PhoneNumberInstance |
@@ -182,4 +182,2 @@ 'use strict'; | ||
* An object that contains live activity information | ||
* @property {object} enhancedLineType - | ||
* An object that contains line type information | ||
* @property {object} lineTypeIntelligence - | ||
@@ -209,3 +207,2 @@ * An object that contains line type information | ||
this.liveActivity = payload.live_activity; // jshint ignore:line | ||
this.enhancedLineType = payload.enhanced_line_type; // jshint ignore:line | ||
this.lineTypeIntelligence = payload.line_type_intelligence; // jshint ignore:line | ||
@@ -212,0 +209,0 @@ this.url = payload.url; // jshint ignore:line |
@@ -14,2 +14,4 @@ /** | ||
import { SerializableClass } from '../../../interfaces'; | ||
import { SimIpAddressList } from './sim/simIpAddress'; | ||
import { SimIpAddressListInstance } from './sim/simIpAddress'; | ||
@@ -294,2 +296,3 @@ type SimStatus = 'new'|'ready'|'active'|'inactive'|'scheduled'; | ||
fetch(callback?: (error: Error | null, items: SimInstance) => any): Promise<SimInstance>; | ||
simIpAddresses: SimIpAddressListInstance; | ||
/** | ||
@@ -346,2 +349,6 @@ * Provide a user-friendly representation | ||
sid: string; | ||
/** | ||
* Access the simIpAddresses | ||
*/ | ||
simIpAddresses(): SimIpAddressListInstance; | ||
status: SimStatus; | ||
@@ -348,0 +355,0 @@ /** |
@@ -17,2 +17,3 @@ 'use strict'; | ||
var Page = require('../../../base/Page'); /* jshint ignore:line */ | ||
var SimIpAddressList = require('./sim/simIpAddress').SimIpAddressList; | ||
var deserialize = require( | ||
@@ -596,2 +597,16 @@ '../../../base/deserialize'); /* jshint ignore:line */ | ||
/** | ||
* Access the simIpAddresses | ||
* | ||
* @function simIpAddresses | ||
* @memberof Twilio.Supersim.V1.SimInstance# | ||
* | ||
* @returns {Twilio.Supersim.V1.SimContext.SimIpAddressList} | ||
*/ | ||
/* jshint ignore:end */ | ||
SimInstance.prototype.simIpAddresses = function simIpAddresses() { | ||
return this._proxy.simIpAddresses; | ||
}; | ||
/* jshint ignore:start */ | ||
/** | ||
* Provide a user-friendly representation | ||
@@ -631,2 +646,4 @@ * | ||
* billingPeriods resource | ||
* @property {Twilio.Supersim.V1.SimContext.SimIpAddressList} simIpAddresses - | ||
* simIpAddresses resource | ||
* | ||
@@ -646,2 +663,3 @@ * @param {V1} version - Version of the resource | ||
this._billingPeriods = undefined; | ||
this._simIpAddresses = undefined; | ||
}; | ||
@@ -748,2 +766,12 @@ | ||
Object.defineProperty(SimContext.prototype, | ||
'simIpAddresses', { | ||
get: function() { | ||
if (!this._simIpAddresses) { | ||
this._simIpAddresses = new SimIpAddressList(this._version, this._solution.sid); | ||
} | ||
return this._simIpAddresses; | ||
} | ||
}); | ||
/* jshint ignore:start */ | ||
@@ -750,0 +778,0 @@ /** |
@@ -27,6 +27,12 @@ /** | ||
* | ||
* @param callback - Callback to handle processed record | ||
*/ | ||
create(callback?: (error: Error | null, item: VerificationCheckInstance) => any): Promise<VerificationCheckInstance>; | ||
/** | ||
* create a VerificationCheckInstance | ||
* | ||
* @param opts - Options for request | ||
* @param callback - Callback to handle processed record | ||
*/ | ||
create(opts: VerificationCheckListInstanceCreateOptions, callback?: (error: Error | null, item: VerificationCheckInstance) => any): Promise<VerificationCheckInstance>; | ||
create(opts?: VerificationCheckListInstanceCreateOptions, callback?: (error: Error | null, item: VerificationCheckInstance) => any): Promise<VerificationCheckInstance>; | ||
/** | ||
@@ -49,3 +55,3 @@ * Provide a user-friendly representation | ||
amount?: string; | ||
code: string; | ||
code?: string; | ||
payee?: string; | ||
@@ -52,0 +58,0 @@ to?: string; |
@@ -61,4 +61,3 @@ 'use strict'; | ||
* | ||
* @param {object} opts - Options for request | ||
* @param {string} opts.code - The verification string | ||
* @param {object} [opts] - Options for request | ||
* @param {string} [opts.to] - The phone number or email to verify | ||
@@ -71,2 +70,3 @@ * @param {string} [opts.verificationSid] - | ||
* The payee of the associated PSD2 compliant transaction | ||
* @param {string} [opts.code] - The verification string | ||
* @param {function} [callback] - Callback to handle processed record | ||
@@ -78,16 +78,15 @@ * | ||
VerificationCheckListInstance.create = function create(opts, callback) { | ||
if (_.isUndefined(opts)) { | ||
throw new Error('Required parameter "opts" missing.'); | ||
if (_.isFunction(opts)) { | ||
callback = opts; | ||
opts = {}; | ||
} | ||
if (_.isUndefined(opts['code'])) { | ||
throw new Error('Required parameter "opts[\'code\']" missing.'); | ||
} | ||
opts = opts || {}; | ||
var deferred = Q.defer(); | ||
var data = values.of({ | ||
'Code': _.get(opts, 'code'), | ||
'To': _.get(opts, 'to'), | ||
'VerificationSid': _.get(opts, 'verificationSid'), | ||
'Amount': _.get(opts, 'amount'), | ||
'Payee': _.get(opts, 'payee') | ||
'Payee': _.get(opts, 'payee'), | ||
'Code': _.get(opts, 'code') | ||
}); | ||
@@ -94,0 +93,0 @@ |
@@ -30,3 +30,3 @@ /** | ||
* @property destinationPrefix - Filters the attempts considered on the summary by destination prefix. | ||
* @property serviceSid - Filter the verification attempts considered on the summary by verify service. | ||
* @property verifyServiceSid - Filter the verification attempts considered on the summary by verify service. | ||
*/ | ||
@@ -39,3 +39,3 @@ interface VerificationAttemptsSummaryInstanceFetchOptions { | ||
destinationPrefix?: string; | ||
serviceSid?: string; | ||
verifyServiceSid?: string; | ||
} | ||
@@ -42,0 +42,0 @@ |
@@ -212,3 +212,3 @@ 'use strict'; | ||
* @param {object} [opts] - Options for request | ||
* @param {string} [opts.serviceSid] - | ||
* @param {string} [opts.verifyServiceSid] - | ||
* Filter the verification attempts considered on the summary by verify service. | ||
@@ -287,3 +287,3 @@ * @param {Date} [opts.dateCreatedAfter] - | ||
* @param {object} [opts] - Options for request | ||
* @param {string} [opts.serviceSid] - | ||
* @param {string} [opts.verifyServiceSid] - | ||
* Filter the verification attempts considered on the summary by verify service. | ||
@@ -315,3 +315,3 @@ * @param {Date} [opts.dateCreatedAfter] - | ||
var data = values.of({ | ||
'ServiceSid': _.get(opts, 'serviceSid'), | ||
'VerifyServiceSid': _.get(opts, 'verifyServiceSid'), | ||
'DateCreatedAfter': serialize.iso8601DateTime(_.get(opts, 'dateCreatedAfter')), | ||
@@ -318,0 +318,0 @@ 'DateCreatedBefore': serialize.iso8601DateTime(_.get(opts, 'dateCreatedBefore')), |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "3.78.0", | ||
"version": "3.79.0", | ||
"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
13901116
1083
396127