twilio 3.83.4 → 3.84.1

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 (37) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +6 -0
  3. package/lib/rest/FlexApi.d.ts +4 -0
  4. package/lib/rest/FlexApi.js +19 -0
  5. package/lib/rest/Oauth.d.ts +2 -0
  6. package/lib/rest/Oauth.js +8 -0
  7. package/lib/rest/api/v2010/account/address.d.ts +6 -0
  8. package/lib/rest/api/v2010/account/address.js +13 -2
  9. package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.d.ts +1 -1
  10. package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.js +3 -6
  11. package/lib/rest/conversations/v1/conversation/message.d.ts +6 -0
  12. package/lib/rest/conversations/v1/conversation/message.js +10 -1
  13. package/lib/rest/conversations/v1/service/conversation/message.d.ts +6 -0
  14. package/lib/rest/conversations/v1/service/conversation/message.js +10 -1
  15. package/lib/rest/flexApi/V2.d.ts +25 -0
  16. package/lib/rest/flexApi/V2.js +46 -0
  17. package/lib/rest/flexApi/v1/goodData.d.ts +2 -2
  18. package/lib/rest/flexApi/v1/goodData.js +4 -4
  19. package/lib/rest/flexApi/v1/userRoles.js +1 -1
  20. package/lib/rest/flexApi/v2/webChannels.d.ts +101 -0
  21. package/lib/rest/flexApi/v2/webChannels.js +244 -0
  22. package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +1 -1
  23. package/lib/rest/messaging/v1/service/usAppToPerson.js +5 -2
  24. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +74 -1
  25. package/lib/rest/messaging/v1/tollfreeVerification.js +159 -0
  26. package/lib/rest/oauth/V1.d.ts +3 -0
  27. package/lib/rest/oauth/V1.js +11 -0
  28. package/lib/rest/oauth/v1/deviceCode.d.ts +107 -0
  29. package/lib/rest/oauth/v1/deviceCode.js +258 -0
  30. package/lib/rest/oauth/v1/openidDiscovery.js +1 -1
  31. package/lib/rest/supersim/v1/ipCommand.d.ts +1 -1
  32. package/lib/rest/supersim/v1/ipCommand.js +2 -1
  33. package/lib/rest/supersim/v1/settingsUpdate.d.ts +6 -0
  34. package/lib/rest/supersim/v1/settingsUpdate.js +7 -0
  35. package/lib/twiml/VoiceResponse.d.ts +7 -7
  36. package/lib/twiml/VoiceResponse.js +14 -14
  37. package/package.json +2 -2
@@ -1183,7 +1183,7 @@ Say.prototype.ssmlS = util.deprecate(function ssmlS(attributes, words) {
1183
1183
  * @param {object} attributes - TwiML attributes
1184
1184
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
1185
1185
  * as] - Specify the type of words are spoken
1186
- * @param {ssml_say_as.role} [attributes.role] -
1186
+ * @param {ssml_say_as.format} [attributes.format] -
1187
1187
  * Specify the format of the date when interpret-as is set to date
1188
1188
  * @param {string} words - Words to be interpreted
1189
1189
  *
@@ -1205,7 +1205,7 @@ Say.prototype.sayAs = function sayAs(attributes, words) {
1205
1205
  * @param {object} attributes - TwiML attributes
1206
1206
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
1207
1207
  * as] - Specify the type of words are spoken
1208
- * @param {ssml_say_as.role} [attributes.role] -
1208
+ * @param {ssml_say_as.format} [attributes.format] -
1209
1209
  * Specify the format of the date when interpret-as is set to date
1210
1210
  * @param {string} words - Words to be interpreted
1211
1211
  *
@@ -1494,7 +1494,7 @@ SsmlW.prototype.ssmlProsody = util.deprecate(function ssmlProsody(attributes,
1494
1494
  * @param {object} attributes - TwiML attributes
1495
1495
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
1496
1496
  * as] - Specify the type of words are spoken
1497
- * @param {ssml_say_as.role} [attributes.role] -
1497
+ * @param {ssml_say_as.format} [attributes.format] -
1498
1498
  * Specify the format of the date when interpret-as is set to date
1499
1499
  * @param {string} words - Words to be interpreted
1500
1500
  *
@@ -1516,7 +1516,7 @@ SsmlW.prototype.sayAs = function sayAs(attributes, words) {
1516
1516
  * @param {object} attributes - TwiML attributes
1517
1517
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
1518
1518
  * as] - Specify the type of words are spoken
1519
- * @param {ssml_say_as.role} [attributes.role] -
1519
+ * @param {ssml_say_as.format} [attributes.format] -
1520
1520
  * Specify the format of the date when interpret-as is set to date
1521
1521
  * @param {string} words - Words to be interpreted
1522
1522
  *
@@ -1913,7 +1913,7 @@ SsmlProsody.prototype.ssmlS = util.deprecate(function ssmlS(attributes, words) {
1913
1913
  * @param {object} attributes - TwiML attributes
1914
1914
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
1915
1915
  * as] - Specify the type of words are spoken
1916
- * @param {ssml_say_as.role} [attributes.role] -
1916
+ * @param {ssml_say_as.format} [attributes.format] -
1917
1917
  * Specify the format of the date when interpret-as is set to date
1918
1918
  * @param {string} words - Words to be interpreted
1919
1919
  *
@@ -1935,7 +1935,7 @@ SsmlProsody.prototype.sayAs = function sayAs(attributes, words) {
1935
1935
  * @param {object} attributes - TwiML attributes
1936
1936
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
1937
1937
  * as] - Specify the type of words are spoken
1938
- * @param {ssml_say_as.role} [attributes.role] -
1938
+ * @param {ssml_say_as.format} [attributes.format] -
1939
1939
  * Specify the format of the date when interpret-as is set to date
1940
1940
  * @param {string} words - Words to be interpreted
1941
1941
  *
@@ -2262,7 +2262,7 @@ SsmlS.prototype.ssmlProsody = util.deprecate(function ssmlProsody(attributes,
2262
2262
  * @param {object} attributes - TwiML attributes
2263
2263
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
2264
2264
  * as] - Specify the type of words are spoken
2265
- * @param {ssml_say_as.role} [attributes.role] -
2265
+ * @param {ssml_say_as.format} [attributes.format] -
2266
2266
  * Specify the format of the date when interpret-as is set to date
2267
2267
  * @param {string} words - Words to be interpreted
2268
2268
  *
@@ -2284,7 +2284,7 @@ SsmlS.prototype.sayAs = function sayAs(attributes, words) {
2284
2284
  * @param {object} attributes - TwiML attributes
2285
2285
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
2286
2286
  * as] - Specify the type of words are spoken
2287
- * @param {ssml_say_as.role} [attributes.role] -
2287
+ * @param {ssml_say_as.format} [attributes.format] -
2288
2288
  * Specify the format of the date when interpret-as is set to date
2289
2289
  * @param {string} words - Words to be interpreted
2290
2290
  *
@@ -2700,7 +2700,7 @@ SsmlLang.prototype.ssmlS = util.deprecate(function ssmlS(attributes, words) {
2700
2700
  * @param {object} attributes - TwiML attributes
2701
2701
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
2702
2702
  * as] - Specify the type of words are spoken
2703
- * @param {ssml_say_as.role} [attributes.role] -
2703
+ * @param {ssml_say_as.format} [attributes.format] -
2704
2704
  * Specify the format of the date when interpret-as is set to date
2705
2705
  * @param {string} words - Words to be interpreted
2706
2706
  *
@@ -2722,7 +2722,7 @@ SsmlLang.prototype.sayAs = function sayAs(attributes, words) {
2722
2722
  * @param {object} attributes - TwiML attributes
2723
2723
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
2724
2724
  * as] - Specify the type of words are spoken
2725
- * @param {ssml_say_as.role} [attributes.role] -
2725
+ * @param {ssml_say_as.format} [attributes.format] -
2726
2726
  * Specify the format of the date when interpret-as is set to date
2727
2727
  * @param {string} words - Words to be interpreted
2728
2728
  *
@@ -3084,7 +3084,7 @@ SsmlP.prototype.ssmlS = util.deprecate(function ssmlS(attributes, words) {
3084
3084
  * @param {object} attributes - TwiML attributes
3085
3085
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
3086
3086
  * as] - Specify the type of words are spoken
3087
- * @param {ssml_say_as.role} [attributes.role] -
3087
+ * @param {ssml_say_as.format} [attributes.format] -
3088
3088
  * Specify the format of the date when interpret-as is set to date
3089
3089
  * @param {string} words - Words to be interpreted
3090
3090
  *
@@ -3106,7 +3106,7 @@ SsmlP.prototype.sayAs = function sayAs(attributes, words) {
3106
3106
  * @param {object} attributes - TwiML attributes
3107
3107
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
3108
3108
  * as] - Specify the type of words are spoken
3109
- * @param {ssml_say_as.role} [attributes.role] -
3109
+ * @param {ssml_say_as.format} [attributes.format] -
3110
3110
  * Specify the format of the date when interpret-as is set to date
3111
3111
  * @param {string} words - Words to be interpreted
3112
3112
  *
@@ -3434,7 +3434,7 @@ SsmlEmphasis.prototype.ssmlProsody = util.deprecate(function
3434
3434
  * @param {object} attributes - TwiML attributes
3435
3435
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
3436
3436
  * as] - Specify the type of words are spoken
3437
- * @param {ssml_say_as.role} [attributes.role] -
3437
+ * @param {ssml_say_as.format} [attributes.format] -
3438
3438
  * Specify the format of the date when interpret-as is set to date
3439
3439
  * @param {string} words - Words to be interpreted
3440
3440
  *
@@ -3456,7 +3456,7 @@ SsmlEmphasis.prototype.sayAs = function sayAs(attributes, words) {
3456
3456
  * @param {object} attributes - TwiML attributes
3457
3457
  * @param {ssml_say_as.interpret_as} [attributes.interpret-
3458
3458
  * as] - Specify the type of words are spoken
3459
- * @param {ssml_say_as.role} [attributes.role] -
3459
+ * @param {ssml_say_as.format} [attributes.format] -
3460
3460
  * Specify the format of the date when interpret-as is set to date
3461
3461
  * @param {string} words - Words to be interpreted
3462
3462
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "twilio",
3
3
  "description": "A Twilio helper library",
4
- "version": "3.83.4",
4
+ "version": "3.84.1",
5
5
  "author": "API Team <api@twilio.com>",
6
6
  "contributors": [
7
7
  {
@@ -56,7 +56,7 @@
56
56
  "ci": "npm run nyc && npm run nsp",
57
57
  "coverage": "nyc npm test",
58
58
  "jsdoc": "jsdoc -r lib -d docs",
59
- "nsp": "if [ `npm --version | cut -d'.' -f1` -ge \"6\" ]; then npm audit --production; else echo \"npm audit is not available for npm < 6.0\"; fi",
59
+ "nsp": "if [ `npm --version | cut -d'.' -f1` -ge \"6\" ]; then npm audit --production || true; else echo \"npm audit is not available for npm < 6.0\"; fi",
60
60
  "nyc": "if [ `node --version | cut -d'.' -f1 | cut -c2-` -ge \"8\" ]; then npm run coverage; else npm test; fi"
61
61
  },
62
62
  "files": [