twilio 3.82.1 → 3.83.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/rest/Oauth.d.ts +32 -0
  2. package/lib/rest/Oauth.js +79 -0
  3. package/lib/rest/Supersim.d.ts +2 -0
  4. package/lib/rest/Supersim.js +9 -0
  5. package/lib/rest/Twilio.d.ts +2 -0
  6. package/lib/rest/Twilio.js +14 -0
  7. package/lib/rest/api/v2010/account/conference/participant.d.ts +16 -2
  8. package/lib/rest/api/v2010/account/conference/participant.js +28 -5
  9. package/lib/rest/api/v2010/account/message.d.ts +2 -0
  10. package/lib/rest/api/v2010/account/message.js +3 -0
  11. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +1 -1
  12. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +1 -1
  13. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +1 -1
  14. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +1 -1
  15. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +1 -1
  16. package/lib/rest/api/v2010/account/usage/record/today.d.ts +1 -1
  17. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +1 -1
  18. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +1 -1
  19. package/lib/rest/api/v2010/account/usage/record.d.ts +1 -1
  20. package/lib/rest/api/v2010/account/usage/trigger.d.ts +1 -1
  21. package/lib/rest/oauth/V1.d.ts +34 -0
  22. package/lib/rest/oauth/V1.js +80 -0
  23. package/lib/rest/oauth/v1/oauth.d.ts +115 -0
  24. package/lib/rest/oauth/v1/oauth.js +299 -0
  25. package/lib/rest/oauth/v1/openidDiscovery.d.ts +137 -0
  26. package/lib/rest/oauth/v1/openidDiscovery.js +329 -0
  27. package/lib/rest/oauth/v1/token.d.ts +115 -0
  28. package/lib/rest/oauth/v1/token.js +265 -0
  29. package/lib/rest/oauth/v1/userInfo.d.ts +123 -0
  30. package/lib/rest/oauth/v1/userInfo.js +308 -0
  31. package/lib/rest/supersim/V1.d.ts +3 -0
  32. package/lib/rest/supersim/V1.js +12 -0
  33. package/lib/rest/supersim/v1/settingsUpdate.d.ts +261 -0
  34. package/lib/rest/supersim/v1/settingsUpdate.js +466 -0
  35. package/lib/rest/verify/v2/service/accessToken.d.ts +0 -12
  36. package/lib/rest/verify/v2/service/accessToken.js +0 -12
  37. package/lib/rest/verify/v2/service/entity/challenge/notification.d.ts +0 -9
  38. package/lib/rest/verify/v2/service/entity/challenge/notification.js +0 -9
  39. package/lib/rest/verify/v2/service/entity/challenge.d.ts +0 -12
  40. package/lib/rest/verify/v2/service/entity/challenge.js +0 -12
  41. package/lib/rest/verify/v2/service/entity/factor.d.ts +0 -12
  42. package/lib/rest/verify/v2/service/entity/factor.js +0 -12
  43. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +0 -9
  44. package/lib/rest/verify/v2/service/entity/newFactor.js +0 -9
  45. package/lib/rest/verify/v2/service/entity.d.ts +0 -12
  46. package/lib/rest/verify/v2/service/entity.js +0 -12
  47. package/lib/rest/verify/v2/service/webhook.d.ts +0 -12
  48. package/lib/rest/verify/v2/service/webhook.js +0 -12
  49. package/lib/rest/verify/v2/template.d.ts +2 -0
  50. package/lib/rest/verify/v2/template.js +2 -0
  51. package/lib/twiml/VoiceResponse.d.ts +31 -1
  52. package/lib/twiml/VoiceResponse.js +34 -2
  53. package/package.json +1 -1
@@ -21,9 +21,6 @@ type FactorTotpAlgorithms = 'sha1'|'sha256'|'sha512';
21
21
  /**
22
22
  * Initialize the FactorList
23
23
  *
24
- * PLEASE NOTE that this class contains beta products that are subject to change.
25
- * Use them with caution.
26
- *
27
24
  * @param version - Version of the resource
28
25
  * @param serviceSid - Service Sid.
29
26
  * @param identity - Unique external identifier of the Entity
@@ -256,9 +253,6 @@ declare class FactorContext {
256
253
  /**
257
254
  * Initialize the FactorContext
258
255
  *
259
- * PLEASE NOTE that this class contains beta products that are subject to change.
260
- * Use them with caution.
261
- *
262
256
  * @param version - Version of the resource
263
257
  * @param serviceSid - Service Sid.
264
258
  * @param identity - Unique external identifier of the Entity
@@ -302,9 +296,6 @@ declare class FactorInstance extends SerializableClass {
302
296
  /**
303
297
  * Initialize the FactorContext
304
298
  *
305
- * PLEASE NOTE that this class contains beta products that are subject to change.
306
- * Use them with caution.
307
- *
308
299
  * @param version - Version of the resource
309
300
  * @param payload - The instance payload
310
301
  * @param serviceSid - Service Sid.
@@ -363,9 +354,6 @@ declare class FactorPage extends Page<V2, FactorPayload, FactorResource, FactorI
363
354
  /**
364
355
  * Initialize the FactorPage
365
356
  *
366
- * PLEASE NOTE that this class contains beta products that are subject to change.
367
- * Use them with caution.
368
- *
369
357
  * @param version - Version of the resource
370
358
  * @param response - Response from the API
371
359
  * @param solution - Path solution
@@ -26,9 +26,6 @@ var FactorContext;
26
26
  /**
27
27
  * Initialize the FactorList
28
28
  *
29
- * PLEASE NOTE that this class contains beta products that are subject to change.
30
- * Use them with caution.
31
- *
32
29
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.FactorList
33
30
  *
34
31
  * @param {Twilio.Verify.V2} version - Version of the resource
@@ -341,9 +338,6 @@ FactorList = function FactorList(version, serviceSid, identity) {
341
338
  /**
342
339
  * Initialize the FactorPage
343
340
  *
344
- * PLEASE NOTE that this class contains beta products that are subject to change.
345
- * Use them with caution.
346
- *
347
341
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.FactorPage
348
342
  *
349
343
  * @param {V2} version - Version of the resource
@@ -413,9 +407,6 @@ FactorPage.prototype[util.inspect.custom] = function inspect(depth, options) {
413
407
  /**
414
408
  * Initialize the FactorContext
415
409
  *
416
- * PLEASE NOTE that this class contains beta products that are subject to change.
417
- * Use them with caution.
418
- *
419
410
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.FactorInstance
420
411
  *
421
412
  * @property {string} sid - A string that uniquely identifies this Factor.
@@ -575,9 +566,6 @@ FactorInstance.prototype[util.inspect.custom] = function inspect(depth, options)
575
566
  /**
576
567
  * Initialize the FactorContext
577
568
  *
578
- * PLEASE NOTE that this class contains beta products that are subject to change.
579
- * Use them with caution.
580
- *
581
569
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.FactorContext
582
570
  *
583
571
  * @param {V2} version - Version of the resource
@@ -21,9 +21,6 @@ type NewFactorTotpAlgorithms = 'sha1'|'sha256'|'sha512';
21
21
  /**
22
22
  * Initialize the NewFactorList
23
23
  *
24
- * PLEASE NOTE that this class contains beta products that are subject to change.
25
- * Use them with caution.
26
- *
27
24
  * @param version - Version of the resource
28
25
  * @param serviceSid - Service Sid.
29
26
  * @param identity - Unique external identifier of the Entity
@@ -113,9 +110,6 @@ declare class NewFactorInstance extends SerializableClass {
113
110
  /**
114
111
  * Initialize the NewFactorContext
115
112
  *
116
- * PLEASE NOTE that this class contains beta products that are subject to change.
117
- * Use them with caution.
118
- *
119
113
  * @param version - Version of the resource
120
114
  * @param payload - The instance payload
121
115
  * @param serviceSid - Service Sid.
@@ -148,9 +142,6 @@ declare class NewFactorPage extends Page<V2, NewFactorPayload, NewFactorResource
148
142
  /**
149
143
  * Initialize the NewFactorPage
150
144
  *
151
- * PLEASE NOTE that this class contains beta products that are subject to change.
152
- * Use them with caution.
153
- *
154
145
  * @param version - Version of the resource
155
146
  * @param response - Response from the API
156
147
  * @param solution - Path solution
@@ -27,9 +27,6 @@ var NewFactorInstance;
27
27
  /**
28
28
  * Initialize the NewFactorList
29
29
  *
30
- * PLEASE NOTE that this class contains beta products that are subject to change.
31
- * Use them with caution.
32
- *
33
30
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.NewFactorList
34
31
  *
35
32
  * @param {Twilio.Verify.V2} version - Version of the resource
@@ -164,9 +161,6 @@ NewFactorList = function NewFactorList(version, serviceSid, identity) {
164
161
  /**
165
162
  * Initialize the NewFactorPage
166
163
  *
167
- * PLEASE NOTE that this class contains beta products that are subject to change.
168
- * Use them with caution.
169
- *
170
164
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.NewFactorPage
171
165
  *
172
166
  * @param {V2} version - Version of the resource
@@ -237,9 +231,6 @@ NewFactorPage.prototype[util.inspect.custom] = function inspect(depth, options)
237
231
  /**
238
232
  * Initialize the NewFactorContext
239
233
  *
240
- * PLEASE NOTE that this class contains beta products that are subject to change.
241
- * Use them with caution.
242
- *
243
234
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.NewFactorInstance
244
235
  *
245
236
  * @property {string} sid - A string that uniquely identifies this Factor.
@@ -19,9 +19,6 @@ import { SerializableClass } from '../../../../interfaces';
19
19
  /**
20
20
  * Initialize the EntityList
21
21
  *
22
- * PLEASE NOTE that this class contains beta products that are subject to change.
23
- * Use them with caution.
24
- *
25
22
  * @param version - Version of the resource
26
23
  * @param serviceSid - Service Sid.
27
24
  */
@@ -236,9 +233,6 @@ declare class EntityContext {
236
233
  /**
237
234
  * Initialize the EntityContext
238
235
  *
239
- * PLEASE NOTE that this class contains beta products that are subject to change.
240
- * Use them with caution.
241
- *
242
236
  * @param version - Version of the resource
243
237
  * @param serviceSid - Service Sid.
244
238
  * @param identity - Unique external identifier of the Entity
@@ -271,9 +265,6 @@ declare class EntityInstance extends SerializableClass {
271
265
  /**
272
266
  * Initialize the EntityContext
273
267
  *
274
- * PLEASE NOTE that this class contains beta products that are subject to change.
275
- * Use them with caution.
276
- *
277
268
  * @param version - Version of the resource
278
269
  * @param payload - The instance payload
279
270
  * @param serviceSid - Service Sid.
@@ -325,9 +316,6 @@ declare class EntityPage extends Page<V2, EntityPayload, EntityResource, EntityI
325
316
  /**
326
317
  * Initialize the EntityPage
327
318
  *
328
- * PLEASE NOTE that this class contains beta products that are subject to change.
329
- * Use them with caution.
330
- *
331
319
  * @param version - Version of the resource
332
320
  * @param response - Response from the API
333
321
  * @param solution - Path solution
@@ -29,9 +29,6 @@ var EntityContext;
29
29
  /**
30
30
  * Initialize the EntityList
31
31
  *
32
- * PLEASE NOTE that this class contains beta products that are subject to change.
33
- * Use them with caution.
34
- *
35
32
  * @constructor Twilio.Verify.V2.ServiceContext.EntityList
36
33
  *
37
34
  * @param {Twilio.Verify.V2} version - Version of the resource
@@ -390,9 +387,6 @@ EntityList = function EntityList(version, serviceSid) {
390
387
  /**
391
388
  * Initialize the EntityPage
392
389
  *
393
- * PLEASE NOTE that this class contains beta products that are subject to change.
394
- * Use them with caution.
395
- *
396
390
  * @constructor Twilio.Verify.V2.ServiceContext.EntityPage
397
391
  *
398
392
  * @param {V2} version - Version of the resource
@@ -457,9 +451,6 @@ EntityPage.prototype[util.inspect.custom] = function inspect(depth, options) {
457
451
  /**
458
452
  * Initialize the EntityContext
459
453
  *
460
- * PLEASE NOTE that this class contains beta products that are subject to change.
461
- * Use them with caution.
462
- *
463
454
  * @constructor Twilio.Verify.V2.ServiceContext.EntityInstance
464
455
  *
465
456
  * @property {string} sid - A string that uniquely identifies this Entity.
@@ -615,9 +606,6 @@ EntityInstance.prototype[util.inspect.custom] = function inspect(depth, options)
615
606
  /**
616
607
  * Initialize the EntityContext
617
608
  *
618
- * PLEASE NOTE that this class contains beta products that are subject to change.
619
- * Use them with caution.
620
- *
621
609
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext
622
610
  *
623
611
  * @property {Twilio.Verify.V2.ServiceContext.EntityContext.FactorList} factors -
@@ -19,9 +19,6 @@ type WebhookVersion = 'v1'|'v2';
19
19
  /**
20
20
  * Initialize the WebhookList
21
21
  *
22
- * PLEASE NOTE that this class contains beta products that are subject to change.
23
- * Use them with caution.
24
- *
25
22
  * @param version - Version of the resource
26
23
  * @param serviceSid - Service Sid.
27
24
  */
@@ -265,9 +262,6 @@ declare class WebhookContext {
265
262
  /**
266
263
  * Initialize the WebhookContext
267
264
  *
268
- * PLEASE NOTE that this class contains beta products that are subject to change.
269
- * Use them with caution.
270
- *
271
265
  * @param version - Version of the resource
272
266
  * @param serviceSid - Service Sid.
273
267
  * @param sid - The unique string that identifies the resource to fetch
@@ -310,9 +304,6 @@ declare class WebhookInstance extends SerializableClass {
310
304
  /**
311
305
  * Initialize the WebhookContext
312
306
  *
313
- * PLEASE NOTE that this class contains beta products that are subject to change.
314
- * Use them with caution.
315
- *
316
307
  * @param version - Version of the resource
317
308
  * @param payload - The instance payload
318
309
  * @param serviceSid - Service Sid.
@@ -369,9 +360,6 @@ declare class WebhookPage extends Page<V2, WebhookPayload, WebhookResource, Webh
369
360
  /**
370
361
  * Initialize the WebhookPage
371
362
  *
372
- * PLEASE NOTE that this class contains beta products that are subject to change.
373
- * Use them with caution.
374
- *
375
363
  * @param version - Version of the resource
376
364
  * @param response - Response from the API
377
365
  * @param solution - Path solution
@@ -27,9 +27,6 @@ var WebhookContext;
27
27
  /**
28
28
  * Initialize the WebhookList
29
29
  *
30
- * PLEASE NOTE that this class contains beta products that are subject to change.
31
- * Use them with caution.
32
- *
33
30
  * @constructor Twilio.Verify.V2.ServiceContext.WebhookList
34
31
  *
35
32
  * @param {Twilio.Verify.V2} version - Version of the resource
@@ -406,9 +403,6 @@ WebhookList = function WebhookList(version, serviceSid) {
406
403
  /**
407
404
  * Initialize the WebhookPage
408
405
  *
409
- * PLEASE NOTE that this class contains beta products that are subject to change.
410
- * Use them with caution.
411
- *
412
406
  * @constructor Twilio.Verify.V2.ServiceContext.WebhookPage
413
407
  *
414
408
  * @param {V2} version - Version of the resource
@@ -473,9 +467,6 @@ WebhookPage.prototype[util.inspect.custom] = function inspect(depth, options) {
473
467
  /**
474
468
  * Initialize the WebhookContext
475
469
  *
476
- * PLEASE NOTE that this class contains beta products that are subject to change.
477
- * Use them with caution.
478
- *
479
470
  * @constructor Twilio.Verify.V2.ServiceContext.WebhookInstance
480
471
  *
481
472
  * @property {string} sid - The unique string that identifies the resource
@@ -621,9 +612,6 @@ WebhookInstance.prototype[util.inspect.custom] = function inspect(depth,
621
612
  /**
622
613
  * Initialize the WebhookContext
623
614
  *
624
- * PLEASE NOTE that this class contains beta products that are subject to change.
625
- * Use them with caution.
626
- *
627
615
  * @constructor Twilio.Verify.V2.ServiceContext.WebhookContext
628
616
  *
629
617
  * @param {V2} version - Version of the resource
@@ -188,6 +188,7 @@ interface TemplatePayload extends TemplateResource, Page.TwilioResponsePayload {
188
188
 
189
189
  interface TemplateResource {
190
190
  account_sid: string;
191
+ channels: string[];
191
192
  friendly_name: string;
192
193
  sid: string;
193
194
  translations: object;
@@ -207,6 +208,7 @@ declare class TemplateInstance extends SerializableClass {
207
208
  constructor(version: V2, payload: TemplatePayload);
208
209
 
209
210
  accountSid: string;
211
+ channels: string[];
210
212
  friendlyName: string;
211
213
  sid: string;
212
214
  /**
@@ -390,6 +390,7 @@ TemplatePage.prototype[util.inspect.custom] = function inspect(depth, options) {
390
390
  * @property {string} sid - A string that uniquely identifies this Template
391
391
  * @property {string} accountSid - Account Sid
392
392
  * @property {string} friendlyName - A string to describe the verification template
393
+ * @property {string} channels - The channels
393
394
  * @property {object} translations - Object with the template translations.
394
395
  *
395
396
  * @param {V2} version - Version of the resource
@@ -403,6 +404,7 @@ TemplateInstance = function TemplateInstance(version, payload) {
403
404
  this.sid = payload.sid; // jshint ignore:line
404
405
  this.accountSid = payload.account_sid; // jshint ignore:line
405
406
  this.friendlyName = payload.friendly_name; // jshint ignore:line
407
+ this.channels = payload.channels; // jshint ignore:line
406
408
  this.translations = payload.translations; // jshint ignore:line
407
409
 
408
410
  // Context
@@ -247,7 +247,7 @@ declare namespace VoiceResponse {
247
247
 
248
248
  type PromptCardType = 'visa'|'mastercard'|'amex'|'maestro'|'discover'|'optima'|'jcb'|'diners-club'|'enroute';
249
249
 
250
- type PromptErrorType = 'timeout'|'invalid-card-number'|'invalid-card-type'|'invalid-date'|'invalid-security-code'|'internal-error';
250
+ type PromptErrorType = 'timeout'|'invalid-card-number'|'invalid-card-type'|'invalid-date'|'invalid-security-code'|'internal-error'|'input-matching-failed';
251
251
 
252
252
  type PromptFor = 'payment-card-number'|'expiration-date'|'security-code'|'postal-code'|'payment-processing'|'bank-account-number'|'bank-routing-number';
253
253
 
@@ -504,7 +504,14 @@ declare namespace VoiceResponse {
504
504
  /**
505
505
  * Options to pass to number
506
506
  *
507
+ * @property amdStatusCallback - The URL we should call to send amd status information to your application
508
+ * @property amdStatusCallbackMethod - HTTP Method to use with amd_status_callback
507
509
  * @property byoc - BYOC trunk SID (Beta)
510
+ * @property machineDetection - Enable machine detection or end of greeting detection
511
+ * @property machineDetectionSilenceTimeout - Number of milliseconds of initial silence
512
+ * @property machineDetectionSpeechEndThreshold - Number of milliseconds of silence after speech activity
513
+ * @property machineDetectionSpeechThreshold - Number of milliseconds for measuring stick for the length of the speech activity
514
+ * @property machineDetectionTimeout - Number of seconds to wait for machine detection
508
515
  * @property method - TwiML URL method
509
516
  * @property sendDigits - DTMF tones to play when the call is answered
510
517
  * @property statusCallback - Status callback URL
@@ -513,7 +520,14 @@ declare namespace VoiceResponse {
513
520
  * @property url - TwiML URL
514
521
  */
515
522
  export interface NumberAttributes {
523
+ amdStatusCallback?: string;
524
+ amdStatusCallbackMethod?: string;
516
525
  byoc?: string;
526
+ machineDetection?: string;
527
+ machineDetectionSilenceTimeout?: number;
528
+ machineDetectionSpeechEndThreshold?: number;
529
+ machineDetectionSpeechThreshold?: number;
530
+ machineDetectionTimeout?: number;
517
531
  method?: string;
518
532
  sendDigits?: string;
519
533
  statusCallback?: string;
@@ -603,12 +617,14 @@ declare namespace VoiceResponse {
603
617
  * @property cardType - Type of the credit card
604
618
  * @property errorType - Type of error
605
619
  * @property for_ - Name of the payment source data element
620
+ * @property requireMatchingInputs - Require customer to input requested information twice and verify matching.
606
621
  */
607
622
  export interface PromptAttributes {
608
623
  attempt?: number[];
609
624
  cardType?: PromptCardType[];
610
625
  errorType?: PromptErrorType[];
611
626
  for_?: PromptFor;
627
+ requireMatchingInputs?: boolean;
612
628
  }
613
629
 
614
630
  /**
@@ -711,6 +727,13 @@ declare namespace VoiceResponse {
711
727
  /**
712
728
  * Options to pass to sip
713
729
  *
730
+ * @property amdStatusCallback - The URL we should call to send amd status information to your application
731
+ * @property amdStatusCallbackMethod - HTTP Method to use with amd_status_callback
732
+ * @property machineDetection - Enable machine detection or end of greeting detection
733
+ * @property machineDetectionSilenceTimeout - Number of milliseconds of initial silence
734
+ * @property machineDetectionSpeechEndThreshold - Number of milliseconds of silence after speech activity
735
+ * @property machineDetectionSpeechThreshold - Number of milliseconds for measuring stick for the length of the speech activity
736
+ * @property machineDetectionTimeout - Number of seconds to wait for machine detection
714
737
  * @property method - Action URL method
715
738
  * @property password - SIP Password
716
739
  * @property statusCallback - Status callback URL
@@ -720,6 +743,13 @@ declare namespace VoiceResponse {
720
743
  * @property username - SIP Username
721
744
  */
722
745
  export interface SipAttributes {
746
+ amdStatusCallback?: string;
747
+ amdStatusCallbackMethod?: string;
748
+ machineDetection?: string;
749
+ machineDetectionSilenceTimeout?: number;
750
+ machineDetectionSpeechEndThreshold?: number;
751
+ machineDetectionSpeechThreshold?: number;
752
+ machineDetectionTimeout?: number;
723
753
  method?: string;
724
754
  password?: string;
725
755
  statusCallback?: string;
@@ -417,6 +417,8 @@ VoiceResponse.prototype.pay = function pay(attributes) {
417
417
  * @param {prompt.error_type} [attributes.errorType] - Type of error
418
418
  * @param {prompt.card_type} [attributes.cardType] - Type of the credit card
419
419
  * @param {number} [attributes.attempt] - Current attempt count
420
+ * @param {boolean} [attributes.requireMatchingInputs] -
421
+ * Require customer to input requested information twice and verify matching.
420
422
  *
421
423
  * @returns Prompt
422
424
  */
@@ -3594,6 +3596,8 @@ Pay.prototype.constructor = Pay;
3594
3596
  * @param {prompt.error_type} [attributes.errorType] - Type of error
3595
3597
  * @param {prompt.card_type} [attributes.cardType] - Type of the credit card
3596
3598
  * @param {number} [attributes.attempt] - Current attempt count
3599
+ * @param {boolean} [attributes.requireMatchingInputs] -
3600
+ * Require customer to input requested information twice and verify matching.
3597
3601
  *
3598
3602
  * @returns Prompt
3599
3603
  */
@@ -3994,6 +3998,20 @@ Dial.prototype.conference = function conference(attributes, name) {
3994
3998
  * @param {string} [attributes.statusCallback] - Status callback URL
3995
3999
  * @param {string} [attributes.statusCallbackMethod] - Status callback URL method
3996
4000
  * @param {string} [attributes.byoc] - BYOC trunk SID (Beta)
4001
+ * @param {string} [attributes.machineDetection] -
4002
+ * Enable machine detection or end of greeting detection
4003
+ * @param {string} [attributes.amdStatusCallbackMethod] -
4004
+ * HTTP Method to use with amd_status_callback
4005
+ * @param {string} [attributes.amdStatusCallback] -
4006
+ * The URL we should call to send amd status information to your application
4007
+ * @param {number} [attributes.machineDetectionTimeout] -
4008
+ * Number of seconds to wait for machine detection
4009
+ * @param {number} [attributes.machineDetectionSpeechThreshold] -
4010
+ * Number of milliseconds for measuring stick for the length of the speech activity
4011
+ * @param {number} [attributes.machineDetectionSpeechEndThreshold] -
4012
+ * Number of milliseconds of silence after speech activity
4013
+ * @param {number} [attributes.machineDetectionSilenceTimeout] -
4014
+ * Number of milliseconds of initial silence
3997
4015
  * @param {phone_number} phoneNumber - Phone Number to dial
3998
4016
  *
3999
4017
  * @returns Number
@@ -4056,6 +4074,20 @@ Dial.prototype.sim = function sim(attributes, simSid) {
4056
4074
  * @param {sip.event} [attributes.statusCallbackEvent] - Status callback events
4057
4075
  * @param {string} [attributes.statusCallback] - Status callback URL
4058
4076
  * @param {string} [attributes.statusCallbackMethod] - Status callback URL method
4077
+ * @param {string} [attributes.machineDetection] -
4078
+ * Enable machine detection or end of greeting detection
4079
+ * @param {string} [attributes.amdStatusCallbackMethod] -
4080
+ * HTTP Method to use with amd_status_callback
4081
+ * @param {string} [attributes.amdStatusCallback] -
4082
+ * The URL we should call to send amd status information to your application
4083
+ * @param {number} [attributes.machineDetectionTimeout] -
4084
+ * Number of seconds to wait for machine detection
4085
+ * @param {number} [attributes.machineDetectionSpeechThreshold] -
4086
+ * Number of milliseconds for measuring stick for the length of the speech activity
4087
+ * @param {number} [attributes.machineDetectionSpeechEndThreshold] -
4088
+ * Number of milliseconds of silence after speech activity
4089
+ * @param {number} [attributes.machineDetectionSilenceTimeout] -
4090
+ * Number of milliseconds of initial silence
4059
4091
  * @param {url} sipUrl - SIP URL
4060
4092
  *
4061
4093
  * @returns Sip
@@ -4397,7 +4429,7 @@ VirtualAgent.prototype.constructor = VirtualAgent;
4397
4429
  */
4398
4430
  /* jshint ignore:end */
4399
4431
  VirtualAgent.prototype.config = function config(attributes) {
4400
- return new Config(this.virtual_agent.ele('Config', attributes));
4432
+ return new Config(this.virtualAgent.ele('Config', attributes));
4401
4433
  };
4402
4434
 
4403
4435
  /* jshint ignore:start */
@@ -4415,7 +4447,7 @@ VirtualAgent.prototype.config = function config(attributes) {
4415
4447
  */
4416
4448
  /* jshint ignore:end */
4417
4449
  VirtualAgent.prototype.parameter = function parameter(attributes) {
4418
- return new Parameter(this.virtual_agent.ele('Parameter', attributes));
4450
+ return new Parameter(this.virtualAgent.ele('Parameter', attributes));
4419
4451
  };
4420
4452
 
4421
4453
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "twilio",
3
3
  "description": "A Twilio helper library",
4
- "version": "3.82.1",
4
+ "version": "3.83.0",
5
5
  "author": "API Team <api@twilio.com>",
6
6
  "contributors": [
7
7
  {