twilio 3.68.0 → 3.71.2

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 (85) hide show
  1. package/CHANGES.md +104 -0
  2. package/README.md +1 -1
  3. package/lib/jwt/AccessToken.d.ts +16 -0
  4. package/lib/jwt/AccessToken.js +20 -0
  5. package/lib/jwt/ClientCapability.d.ts +1 -1
  6. package/lib/rest/Media.d.ts +28 -0
  7. package/lib/rest/Media.js +64 -0
  8. package/lib/rest/Twilio.d.ts +2 -0
  9. package/lib/rest/Twilio.js +14 -0
  10. package/lib/rest/Verify.d.ts +2 -2
  11. package/lib/rest/Verify.js +3 -4
  12. package/lib/rest/api/v2010/account/call/siprec.d.ts +776 -0
  13. package/lib/rest/api/v2010/account/call/siprec.js +811 -0
  14. package/lib/rest/api/v2010/account/call.d.ts +8 -1
  15. package/lib/rest/api/v2010/account/call.js +29 -1
  16. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +6 -2
  17. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.js +5 -2
  18. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +6 -2
  19. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.js +5 -2
  20. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +6 -2
  21. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.js +5 -2
  22. package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +7 -3
  23. package/lib/rest/api/v2010/account/incomingPhoneNumber.js +7 -4
  24. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +6 -0
  25. package/lib/rest/conversations/v1/service/configuration/notification.js +11 -1
  26. package/lib/rest/flexApi/v1/configuration.d.ts +2 -0
  27. package/lib/rest/flexApi/v1/configuration.js +2 -0
  28. package/lib/rest/frontlineApi/v1/user.d.ts +4 -0
  29. package/lib/rest/frontlineApi/v1/user.js +10 -1
  30. package/lib/rest/insights/v1/callSummaries.d.ts +27 -27
  31. package/lib/rest/insights/v1/callSummaries.js +36 -36
  32. package/lib/rest/media/V1.d.ts +28 -0
  33. package/lib/rest/media/V1.js +59 -0
  34. package/lib/rest/media/v1/mediaProcessor.d.ts +355 -0
  35. package/lib/rest/media/v1/mediaProcessor.js +702 -0
  36. package/lib/rest/media/v1/playerStreamer/playbackGrant.d.ts +162 -0
  37. package/lib/rest/media/v1/playerStreamer/playbackGrant.js +384 -0
  38. package/lib/rest/media/v1/playerStreamer.d.ts +366 -0
  39. package/lib/rest/media/v1/playerStreamer.js +729 -0
  40. package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +330 -0
  41. package/lib/rest/messaging/v1/brandRegistration/brandVetting.js +655 -0
  42. package/lib/rest/messaging/v1/brandRegistration.d.ts +15 -2
  43. package/lib/rest/messaging/v1/brandRegistration.js +37 -1
  44. package/lib/rest/messaging/v1/service.d.ts +8 -0
  45. package/lib/rest/messaging/v1/service.js +14 -0
  46. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +133 -0
  47. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.js +268 -0
  48. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +127 -0
  49. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.js +271 -0
  50. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +14 -0
  51. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.js +56 -0
  52. package/lib/rest/serverless/v1/service/build.d.ts +1 -1
  53. package/lib/rest/serverless/v1/service/environment.js +1 -1
  54. package/lib/rest/serverless/v1/service.d.ts +2 -0
  55. package/lib/rest/serverless/v1/service.js +3 -0
  56. package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +2 -0
  57. package/lib/rest/taskrouter/v1/workspace/task/reservation.js +4 -1
  58. package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +2 -0
  59. package/lib/rest/taskrouter/v1/workspace/worker/reservation.js +4 -1
  60. package/lib/rest/taskrouter/v1/workspace/worker.d.ts +27 -2
  61. package/lib/rest/taskrouter/v1/workspace/worker.js +22 -7
  62. package/lib/rest/trunking/v1/trunk.d.ts +9 -1
  63. package/lib/rest/trunking/v1/trunk.js +13 -2
  64. package/lib/rest/verify/V2.d.ts +3 -3
  65. package/lib/rest/verify/V2.js +6 -8
  66. package/lib/rest/verify/v2/service/entity/factor.d.ts +4 -2
  67. package/lib/rest/verify/v2/service/entity/factor.js +8 -3
  68. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +2 -2
  69. package/lib/rest/verify/v2/service/entity/newFactor.js +1 -1
  70. package/lib/rest/verify/v2/service/verification.d.ts +5 -1
  71. package/lib/rest/verify/v2/service/verification.js +7 -2
  72. package/lib/rest/verify/v2/service.d.ts +6 -0
  73. package/lib/rest/verify/v2/service.js +12 -2
  74. package/lib/rest/verify/v2/{verificationTemplate.d.ts → template.d.ts} +35 -37
  75. package/lib/rest/verify/v2/{verificationTemplate.js → template.js} +58 -64
  76. package/lib/rest/verify/v2/verificationAttempt.d.ts +1 -1
  77. package/lib/rest/video/v1/room.d.ts +4 -0
  78. package/lib/rest/video/v1/room.js +7 -1
  79. package/lib/rest/wireless/v1/ratePlan.d.ts +1 -1
  80. package/lib/rest/wireless/v1/ratePlan.js +3 -3
  81. package/lib/rest/wireless/v1/sim.d.ts +4 -4
  82. package/lib/rest/wireless/v1/sim.js +18 -24
  83. package/lib/twiml/VoiceResponse.d.ts +1296 -24
  84. package/lib/twiml/VoiceResponse.js +2170 -82
  85. package/package.json +2 -2
@@ -447,19 +447,21 @@ SimPage.prototype[util.inspect.custom] = function inspect(depth, options) {
447
447
  * @property {string} commandsCallbackMethod -
448
448
  * The HTTP method we use to call commands_callback_url
449
449
  * @property {string} smsFallbackMethod -
450
- * The HTTP method we use to call sms_fallback_url
450
+ * Deprecated. The HTTP method we use to call sms_fallback_url
451
451
  * @property {string} smsFallbackUrl -
452
- * The URL we call when an error occurs while retrieving or executing the TwiML requested from the sms_url
453
- * @property {string} smsMethod - The HTTP method we use to call sms_url
452
+ * Deprecated. The URL we call when an error occurs while retrieving or executing the TwiML requested from the sms_url
453
+ * @property {string} smsMethod -
454
+ * Deprecated. The HTTP method we use to call sms_url
454
455
  * @property {string} smsUrl -
455
- * The URL we call when the SIM-connected device sends an SMS message that is not a Command
456
+ * Deprecated. The URL we call when the SIM-connected device sends an SMS message that is not a Command
456
457
  * @property {string} voiceFallbackMethod -
457
- * The HTTP method we use to call voice_fallback_url
458
+ * Deprecated. The HTTP method we use to call voice_fallback_url
458
459
  * @property {string} voiceFallbackUrl -
459
- * The URL we call when an error occurs while retrieving or executing the TwiML requested from voice_url
460
- * @property {string} voiceMethod - The HTTP method we use to call voice_url
460
+ * Deprecated. The URL we call when an error occurs while retrieving or executing the TwiML requested from voice_url
461
+ * @property {string} voiceMethod -
462
+ * Deprecated. The HTTP method we use to call voice_url
461
463
  * @property {string} voiceUrl -
462
- * The URL we call when the SIM-connected device makes a voice call
464
+ * Deprecated. The URL we call when the SIM-connected device makes a voice call
463
465
  * @property {Date} dateCreated -
464
466
  * The ISO 8601 date and time in GMT when the resource was created
465
467
  * @property {Date} dateUpdated -
@@ -563,14 +565,10 @@ SimInstance.prototype.fetch = function fetch(callback) {
563
565
  * @param {string} [opts.smsMethod] - The HTTP method we should use to call sms_url
564
566
  * @param {string} [opts.smsUrl] -
565
567
  * The URL we should call when the SIM-connected device sends an SMS message that is not a Command
566
- * @param {string} [opts.voiceFallbackMethod] -
567
- * The HTTP method we should use to call voice_fallback_url
568
- * @param {string} [opts.voiceFallbackUrl] -
569
- * The URL we should call when an error occurs while retrieving or executing the TwiML requested from voice_url
570
- * @param {string} [opts.voiceMethod] -
571
- * The HTTP method we should use when we call voice_url
572
- * @param {string} [opts.voiceUrl] -
573
- * The URL we should call when the SIM-connected device makes a voice call
568
+ * @param {string} [opts.voiceFallbackMethod] - Deprecated
569
+ * @param {string} [opts.voiceFallbackUrl] - Deprecated
570
+ * @param {string} [opts.voiceMethod] - Deprecated
571
+ * @param {string} [opts.voiceUrl] - Deprecated
574
572
  * @param {sim.reset_status} [opts.resetStatus] -
575
573
  * Initiate a connectivity reset on a SIM
576
574
  * @param {string} [opts.accountSid] -
@@ -740,14 +738,10 @@ SimContext.prototype.fetch = function fetch(callback) {
740
738
  * @param {string} [opts.smsMethod] - The HTTP method we should use to call sms_url
741
739
  * @param {string} [opts.smsUrl] -
742
740
  * The URL we should call when the SIM-connected device sends an SMS message that is not a Command
743
- * @param {string} [opts.voiceFallbackMethod] -
744
- * The HTTP method we should use to call voice_fallback_url
745
- * @param {string} [opts.voiceFallbackUrl] -
746
- * The URL we should call when an error occurs while retrieving or executing the TwiML requested from voice_url
747
- * @param {string} [opts.voiceMethod] -
748
- * The HTTP method we should use when we call voice_url
749
- * @param {string} [opts.voiceUrl] -
750
- * The URL we should call when the SIM-connected device makes a voice call
741
+ * @param {string} [opts.voiceFallbackMethod] - Deprecated
742
+ * @param {string} [opts.voiceFallbackUrl] - Deprecated
743
+ * @param {string} [opts.voiceMethod] - Deprecated
744
+ * @param {string} [opts.voiceUrl] - Deprecated
751
745
  * @param {sim.reset_status} [opts.resetStatus] -
752
746
  * Initiate a connectivity reset on a SIM
753
747
  * @param {string} [opts.accountSid] -