twilio 5.9.0 → 5.10.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 (85) hide show
  1. package/README.md +1 -10
  2. package/lib/base/RequestClient.js +2 -2
  3. package/lib/rest/Knowledge.d.ts +4 -0
  4. package/lib/rest/Knowledge.js +8 -0
  5. package/lib/rest/KnowledgeBase.d.ts +13 -0
  6. package/lib/rest/KnowledgeBase.js +31 -0
  7. package/lib/rest/NumbersBase.d.ts +3 -0
  8. package/lib/rest/NumbersBase.js +5 -0
  9. package/lib/rest/OauthBase.d.ts +3 -0
  10. package/lib/rest/OauthBase.js +5 -0
  11. package/lib/rest/Twilio.d.ts +5 -0
  12. package/lib/rest/Twilio.js +5 -0
  13. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.d.ts +3 -3
  14. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.d.ts +3 -3
  15. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.d.ts +3 -3
  16. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.d.ts +3 -3
  17. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.d.ts +3 -3
  18. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.d.ts +3 -3
  19. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.d.ts +3 -3
  20. package/lib/rest/api/v2010/account/conference/participant.d.ts +3 -1
  21. package/lib/rest/api/v2010/account/conference/participant.js +2 -0
  22. package/lib/rest/api/v2010/account/recording.d.ts +1 -1
  23. package/lib/rest/assistants/v1/assistant/feedback.d.ts +2 -2
  24. package/lib/rest/assistants/v1/assistant/message.d.ts +1 -1
  25. package/lib/rest/assistants/v1/assistant.d.ts +20 -20
  26. package/lib/rest/assistants/v1/knowledge.d.ts +6 -6
  27. package/lib/rest/assistants/v1/tool.d.ts +8 -8
  28. package/lib/rest/content/v1/content.d.ts +39 -25
  29. package/lib/rest/content/v1/content.js +7 -1
  30. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +1 -1
  31. package/lib/rest/intelligence/v2/service.d.ts +10 -0
  32. package/lib/rest/intelligence/v2/service.js +6 -0
  33. package/lib/rest/intelligence/v2/transcript/encryptedOperatorResults.d.ts +113 -0
  34. package/lib/rest/intelligence/v2/transcript/encryptedOperatorResults.js +120 -0
  35. package/lib/rest/intelligence/v2/transcript/encryptedSentences.d.ts +113 -0
  36. package/lib/rest/intelligence/v2/transcript/encryptedSentences.js +120 -0
  37. package/lib/rest/intelligence/v2/transcript.d.ts +22 -0
  38. package/lib/rest/intelligence/v2/transcript.js +28 -0
  39. package/lib/rest/knowledge/V1.d.ts +15 -0
  40. package/lib/rest/knowledge/V1.js +36 -0
  41. package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +166 -0
  42. package/lib/rest/knowledge/v1/knowledge/chunk.js +131 -0
  43. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +100 -0
  44. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +118 -0
  45. package/lib/rest/knowledge/v1/knowledge.d.ts +411 -0
  46. package/lib/rest/knowledge/v1/knowledge.js +302 -0
  47. package/lib/rest/lookups/v2/lookupOverride.d.ts +1 -1
  48. package/lib/rest/lookups/v2/query.d.ts +71 -71
  49. package/lib/rest/marketplace/v1/installedAddOn/installedAddOnUsage.d.ts +2 -2
  50. package/lib/rest/marketplace/v1/referralConversion.d.ts +1 -1
  51. package/lib/rest/messaging/V2.d.ts +5 -0
  52. package/lib/rest/messaging/V2.js +7 -0
  53. package/lib/rest/messaging/v2/channelsSender.d.ts +30 -30
  54. package/lib/rest/messaging/v2/typingIndicator.d.ts +54 -0
  55. package/lib/rest/messaging/v2/typingIndicator.js +79 -0
  56. package/lib/rest/numbers/V3.d.ts +15 -0
  57. package/lib/rest/numbers/V3.js +37 -0
  58. package/lib/rest/numbers/v1/portingPortIn.d.ts +172 -22
  59. package/lib/rest/numbers/v1/portingPortIn.js +18 -7
  60. package/lib/rest/numbers/v3/hostedNumberOrder.d.ts +210 -0
  61. package/lib/rest/numbers/v3/hostedNumberOrder.js +154 -0
  62. package/lib/rest/oauth/V2.d.ts +15 -0
  63. package/lib/rest/oauth/V2.js +36 -0
  64. package/lib/rest/oauth/v2/token.d.ts +95 -0
  65. package/lib/rest/oauth/v2/token.js +99 -0
  66. package/lib/rest/previewIam/versionless/organization/roleAssignment.d.ts +1 -1
  67. package/lib/rest/pricing/v1/messaging/country.d.ts +6 -6
  68. package/lib/rest/pricing/v1/phoneNumber/country.d.ts +3 -3
  69. package/lib/rest/pricing/v1/voice/country.d.ts +6 -6
  70. package/lib/rest/pricing/v1/voice/number.d.ts +5 -5
  71. package/lib/rest/pricing/v2/country.d.ts +8 -8
  72. package/lib/rest/pricing/v2/number.d.ts +8 -8
  73. package/lib/rest/pricing/v2/voice/country.d.ts +8 -8
  74. package/lib/rest/pricing/v2/voice/number.d.ts +6 -6
  75. package/lib/rest/verify/v2/service/approveChallenge.d.ts +202 -0
  76. package/lib/rest/verify/v2/service/approveChallenge.js +123 -0
  77. package/lib/rest/verify/v2/service/newChallenge.d.ts +205 -0
  78. package/lib/rest/verify/v2/service/newChallenge.js +153 -0
  79. package/lib/rest/verify/v2/service/newFactor.d.ts +207 -0
  80. package/lib/rest/verify/v2/service/newFactor.js +148 -0
  81. package/lib/rest/verify/v2/service.d.ts +24 -0
  82. package/lib/rest/verify/v2/service.js +39 -0
  83. package/lib/twiml/VoiceResponse.d.ts +22 -0
  84. package/lib/twiml/VoiceResponse.js +19 -0
  85. package/package.json +2 -2
package/README.md CHANGED
@@ -80,6 +80,7 @@ If your environment requires SSL decryption, you can set the path to CA bundle i
80
80
 
81
81
  If you invoke any V2010 operations without specifying an account SID, `twilio-node` will automatically use the `TWILIO_ACCOUNT_SID` value that the client was initialized with. This is useful for when you'd like to, for example, fetch resources for your main account but also your subaccount. See below:
82
82
 
83
+ **CommonJS:**
83
84
  ```javascript
84
85
  // Your Account SID, Subaccount SID Auth Token from console.twilio.com
85
86
  const accountSid = process.env.TWILIO_ACCOUNT_SID;
@@ -95,16 +96,6 @@ const subaccountCalls = client.api.v2010.account(subaccountSid).calls.list; // S
95
96
 
96
97
  `twilio-node` supports lazy loading required modules for faster loading time. Lazy loading is enabled by default. To disable lazy loading, simply instantiate the Twilio client with the `lazyLoading` flag set to `false`:
97
98
 
98
- ```javascript
99
- // Your Account SID and Auth Token from console.twilio.com
100
- const accountSid = process.env.TWILIO_ACCOUNT_SID;
101
- const authToken = process.env.TWILIO_AUTH_TOKEN;
102
-
103
- const client = require('twilio')(accountSid, authToken, {
104
- lazyLoading: false,
105
- });
106
- ```
107
-
108
99
  ### Enable Auto-Retry with Exponential Backoff
109
100
 
110
101
  `twilio-node` supports automatic retry with exponential backoff when API requests receive an [Error 429 response](https://support.twilio.com/hc/en-us/articles/360044308153-Twilio-API-response-Error-429-Too-Many-Requests-). This retry with exponential backoff feature is disabled by default. To enable this feature, instantiate the Twilio client with the `autoRetry` flag set to `true`.
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
36
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
37
37
  };
38
- const axios_1 = __importDefault(require("axios"));
38
+ const axios_1 = __importStar(require("axios"));
39
39
  const fs = __importStar(require("fs"));
40
40
  const https_proxy_agent_1 = __importDefault(require("https-proxy-agent"));
41
41
  const qs_1 = __importDefault(require("qs"));
@@ -252,7 +252,7 @@ class RequestClient {
252
252
  */
253
253
  validationInterceptor(validationClient) {
254
254
  return function (config) {
255
- config.headers = config.headers || {};
255
+ config.headers = config.headers || new axios_1.AxiosHeaders();
256
256
  try {
257
257
  config.headers["Twilio-Client-Validation"] = new ValidationToken_1.default(validationClient).fromHttpRequest(config);
258
258
  }
@@ -0,0 +1,4 @@
1
+ import KnowledgeBase from "./KnowledgeBase";
2
+ declare class Knowledge extends KnowledgeBase {
3
+ }
4
+ export = Knowledge;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ const KnowledgeBase_1 = __importDefault(require("./KnowledgeBase"));
6
+ class Knowledge extends KnowledgeBase_1.default {
7
+ }
8
+ module.exports = Knowledge;
@@ -0,0 +1,13 @@
1
+ import Domain from "../base/Domain";
2
+ import V1 from "./knowledge/V1";
3
+ declare class KnowledgeBase extends Domain {
4
+ _v1?: V1;
5
+ /**
6
+ * Initialize knowledge domain
7
+ *
8
+ * @param twilio - The twilio client
9
+ */
10
+ constructor(twilio: any);
11
+ get v1(): V1;
12
+ }
13
+ export = KnowledgeBase;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /*
3
+ * This code was generated by
4
+ * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
5
+ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
6
+ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator.
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ var __importDefault = (this && this.__importDefault) || function (mod) {
13
+ return (mod && mod.__esModule) ? mod : { "default": mod };
14
+ };
15
+ const Domain_1 = __importDefault(require("../base/Domain"));
16
+ const V1_1 = __importDefault(require("./knowledge/V1"));
17
+ class KnowledgeBase extends Domain_1.default {
18
+ /**
19
+ * Initialize knowledge domain
20
+ *
21
+ * @param twilio - The twilio client
22
+ */
23
+ constructor(twilio) {
24
+ super(twilio, "https://knowledge.twilio.com");
25
+ }
26
+ get v1() {
27
+ this._v1 = this._v1 || new V1_1.default(this);
28
+ return this._v1;
29
+ }
30
+ }
31
+ module.exports = KnowledgeBase;
@@ -1,9 +1,11 @@
1
1
  import Domain from "../base/Domain";
2
2
  import V1 from "./numbers/V1";
3
3
  import V2 from "./numbers/V2";
4
+ import V3 from "./numbers/V3";
4
5
  declare class NumbersBase extends Domain {
5
6
  _v1?: V1;
6
7
  _v2?: V2;
8
+ _v3?: V3;
7
9
  /**
8
10
  * Initialize numbers domain
9
11
  *
@@ -12,5 +14,6 @@ declare class NumbersBase extends Domain {
12
14
  constructor(twilio: any);
13
15
  get v1(): V1;
14
16
  get v2(): V2;
17
+ get v3(): V3;
15
18
  }
16
19
  export = NumbersBase;
@@ -15,6 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
15
15
  const Domain_1 = __importDefault(require("../base/Domain"));
16
16
  const V1_1 = __importDefault(require("./numbers/V1"));
17
17
  const V2_1 = __importDefault(require("./numbers/V2"));
18
+ const V3_1 = __importDefault(require("./numbers/V3"));
18
19
  class NumbersBase extends Domain_1.default {
19
20
  /**
20
21
  * Initialize numbers domain
@@ -32,5 +33,9 @@ class NumbersBase extends Domain_1.default {
32
33
  this._v2 = this._v2 || new V2_1.default(this);
33
34
  return this._v2;
34
35
  }
36
+ get v3() {
37
+ this._v3 = this._v3 || new V3_1.default(this);
38
+ return this._v3;
39
+ }
35
40
  }
36
41
  module.exports = NumbersBase;
@@ -1,7 +1,9 @@
1
1
  import Domain from "../base/Domain";
2
2
  import V1 from "./oauth/V1";
3
+ import V2 from "./oauth/V2";
3
4
  declare class OauthBase extends Domain {
4
5
  _v1?: V1;
6
+ _v2?: V2;
5
7
  /**
6
8
  * Initialize oauth domain
7
9
  *
@@ -9,5 +11,6 @@ declare class OauthBase extends Domain {
9
11
  */
10
12
  constructor(twilio: any);
11
13
  get v1(): V1;
14
+ get v2(): V2;
12
15
  }
13
16
  export = OauthBase;
@@ -14,6 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  };
15
15
  const Domain_1 = __importDefault(require("../base/Domain"));
16
16
  const V1_1 = __importDefault(require("./oauth/V1"));
17
+ const V2_1 = __importDefault(require("./oauth/V2"));
17
18
  class OauthBase extends Domain_1.default {
18
19
  /**
19
20
  * Initialize oauth domain
@@ -27,5 +28,9 @@ class OauthBase extends Domain_1.default {
27
28
  this._v1 = this._v1 || new V1_1.default(this);
28
29
  return this._v1;
29
30
  }
31
+ get v2() {
32
+ this._v2 = this._v2 || new V2_1.default(this);
33
+ return this._v2;
34
+ }
30
35
  }
31
36
  module.exports = OauthBase;
@@ -14,6 +14,7 @@ import Iam from "./Iam";
14
14
  import Insights from "./Insights";
15
15
  import Intelligence from "./Intelligence";
16
16
  import IpMessaging from "./IpMessaging";
17
+ import Knowledge from "./Knowledge";
17
18
  import Lookups from "./Lookups";
18
19
  import Marketplace from "./Marketplace";
19
20
  import Messaging from "./Messaging";
@@ -94,6 +95,8 @@ declare class Twilio extends Client {
94
95
  _intelligence?: Intelligence;
95
96
  /** (Twilio.IpMessaging) - ipMessaging domain */
96
97
  _ipMessaging?: IpMessaging;
98
+ /** (Twilio.Knowledge) - knowledge domain */
99
+ _knowledge?: Knowledge;
97
100
  /** (Twilio.Lookups) - lookups domain */
98
101
  _lookups?: Lookups;
99
102
  /** (Twilio.Marketplace) - marketplace domain */
@@ -180,6 +183,8 @@ declare class Twilio extends Client {
180
183
  get intelligence(): Intelligence;
181
184
  /** Getter for (Twilio.IpMessaging) domain */
182
185
  get ipMessaging(): IpMessaging;
186
+ /** Getter for (Twilio.Knowledge) domain */
187
+ get knowledge(): Knowledge;
183
188
  /** Getter for (Twilio.Lookups) domain */
184
189
  get lookups(): Lookups;
185
190
  /** Getter for (Twilio.Marketplace) domain */
@@ -47,6 +47,7 @@ class Twilio extends BaseTwilio_1.Client {
47
47
  this.insights;
48
48
  this.intelligence;
49
49
  this.ipMessaging;
50
+ this.knowledge;
50
51
  this.lookups;
51
52
  this.marketplace;
52
53
  this.messaging;
@@ -139,6 +140,10 @@ class Twilio extends BaseTwilio_1.Client {
139
140
  return (this._ipMessaging ??
140
141
  (this._ipMessaging = new (require("./IpMessaging"))(this)));
141
142
  }
143
+ /** Getter for (Twilio.Knowledge) domain */
144
+ get knowledge() {
145
+ return (this._knowledge ?? (this._knowledge = new (require("./Knowledge"))(this)));
146
+ }
142
147
  /** Getter for (Twilio.Lookups) domain */
143
148
  get lookups() {
144
149
  return this._lookups ?? (this._lookups = new (require("./Lookups"))(this));
@@ -9,7 +9,7 @@ import { PhoneNumberCapabilities } from "../../../../../interfaces";
9
9
  export interface LocalListInstanceEachOptions {
10
10
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
11
11
  areaCode?: number;
12
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters. */
12
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
13
13
  contains?: string;
14
14
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
15
15
  smsEnabled?: boolean;
@@ -58,7 +58,7 @@ export interface LocalListInstanceEachOptions {
58
58
  export interface LocalListInstanceOptions {
59
59
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
60
60
  areaCode?: number;
61
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters. */
61
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
62
62
  contains?: string;
63
63
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
64
64
  smsEnabled?: boolean;
@@ -103,7 +103,7 @@ export interface LocalListInstanceOptions {
103
103
  export interface LocalListInstancePageOptions {
104
104
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
105
105
  areaCode?: number;
106
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters. */
106
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
107
107
  contains?: string;
108
108
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
109
109
  smsEnabled?: boolean;
@@ -9,7 +9,7 @@ import { PhoneNumberCapabilities } from "../../../../../interfaces";
9
9
  export interface MachineToMachineListInstanceEachOptions {
10
10
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
11
11
  areaCode?: number;
12
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
12
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
13
13
  contains?: string;
14
14
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
15
15
  smsEnabled?: boolean;
@@ -58,7 +58,7 @@ export interface MachineToMachineListInstanceEachOptions {
58
58
  export interface MachineToMachineListInstanceOptions {
59
59
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
60
60
  areaCode?: number;
61
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
61
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
62
62
  contains?: string;
63
63
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
64
64
  smsEnabled?: boolean;
@@ -103,7 +103,7 @@ export interface MachineToMachineListInstanceOptions {
103
103
  export interface MachineToMachineListInstancePageOptions {
104
104
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
105
105
  areaCode?: number;
106
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
106
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
107
107
  contains?: string;
108
108
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
109
109
  smsEnabled?: boolean;
@@ -9,7 +9,7 @@ import { PhoneNumberCapabilities } from "../../../../../interfaces";
9
9
  export interface MobileListInstanceEachOptions {
10
10
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
11
11
  areaCode?: number;
12
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
12
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
13
13
  contains?: string;
14
14
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
15
15
  smsEnabled?: boolean;
@@ -58,7 +58,7 @@ export interface MobileListInstanceEachOptions {
58
58
  export interface MobileListInstanceOptions {
59
59
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
60
60
  areaCode?: number;
61
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
61
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
62
62
  contains?: string;
63
63
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
64
64
  smsEnabled?: boolean;
@@ -103,7 +103,7 @@ export interface MobileListInstanceOptions {
103
103
  export interface MobileListInstancePageOptions {
104
104
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
105
105
  areaCode?: number;
106
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
106
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
107
107
  contains?: string;
108
108
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
109
109
  smsEnabled?: boolean;
@@ -9,7 +9,7 @@ import { PhoneNumberCapabilities } from "../../../../../interfaces";
9
9
  export interface NationalListInstanceEachOptions {
10
10
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
11
11
  areaCode?: number;
12
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
12
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
13
13
  contains?: string;
14
14
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
15
15
  smsEnabled?: boolean;
@@ -58,7 +58,7 @@ export interface NationalListInstanceEachOptions {
58
58
  export interface NationalListInstanceOptions {
59
59
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
60
60
  areaCode?: number;
61
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
61
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
62
62
  contains?: string;
63
63
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
64
64
  smsEnabled?: boolean;
@@ -103,7 +103,7 @@ export interface NationalListInstanceOptions {
103
103
  export interface NationalListInstancePageOptions {
104
104
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
105
105
  areaCode?: number;
106
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
106
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
107
107
  contains?: string;
108
108
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
109
109
  smsEnabled?: boolean;
@@ -9,7 +9,7 @@ import { PhoneNumberCapabilities } from "../../../../../interfaces";
9
9
  export interface SharedCostListInstanceEachOptions {
10
10
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
11
11
  areaCode?: number;
12
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
12
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
13
13
  contains?: string;
14
14
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
15
15
  smsEnabled?: boolean;
@@ -58,7 +58,7 @@ export interface SharedCostListInstanceEachOptions {
58
58
  export interface SharedCostListInstanceOptions {
59
59
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
60
60
  areaCode?: number;
61
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
61
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
62
62
  contains?: string;
63
63
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
64
64
  smsEnabled?: boolean;
@@ -103,7 +103,7 @@ export interface SharedCostListInstanceOptions {
103
103
  export interface SharedCostListInstancePageOptions {
104
104
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
105
105
  areaCode?: number;
106
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
106
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
107
107
  contains?: string;
108
108
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
109
109
  smsEnabled?: boolean;
@@ -9,7 +9,7 @@ import { PhoneNumberCapabilities } from "../../../../../interfaces";
9
9
  export interface TollFreeListInstanceEachOptions {
10
10
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
11
11
  areaCode?: number;
12
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
12
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
13
13
  contains?: string;
14
14
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
15
15
  smsEnabled?: boolean;
@@ -58,7 +58,7 @@ export interface TollFreeListInstanceEachOptions {
58
58
  export interface TollFreeListInstanceOptions {
59
59
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
60
60
  areaCode?: number;
61
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
61
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
62
62
  contains?: string;
63
63
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
64
64
  smsEnabled?: boolean;
@@ -103,7 +103,7 @@ export interface TollFreeListInstanceOptions {
103
103
  export interface TollFreeListInstancePageOptions {
104
104
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
105
105
  areaCode?: number;
106
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
106
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
107
107
  contains?: string;
108
108
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
109
109
  smsEnabled?: boolean;
@@ -9,7 +9,7 @@ import { PhoneNumberCapabilities } from "../../../../../interfaces";
9
9
  export interface VoipListInstanceEachOptions {
10
10
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
11
11
  areaCode?: number;
12
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
12
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
13
13
  contains?: string;
14
14
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
15
15
  smsEnabled?: boolean;
@@ -58,7 +58,7 @@ export interface VoipListInstanceEachOptions {
58
58
  export interface VoipListInstanceOptions {
59
59
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
60
60
  areaCode?: number;
61
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
61
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
62
62
  contains?: string;
63
63
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
64
64
  smsEnabled?: boolean;
@@ -103,7 +103,7 @@ export interface VoipListInstanceOptions {
103
103
  export interface VoipListInstancePageOptions {
104
104
  /** The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada. */
105
105
  areaCode?: number;
106
- /** The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. */
106
+ /** Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can\'t be adjacent to each other. */
107
107
  contains?: string;
108
108
  /** Whether the phone numbers can receive text messages. Can be: `true` or `false`. */
109
109
  smsEnabled?: boolean;
@@ -41,7 +41,7 @@ export interface ParticipantContextUpdateOptions {
41
41
  export interface ParticipantListInstanceCreateOptions {
42
42
  /** The phone number, Client identifier, or username portion of SIP address that made this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). Client identifiers are formatted `client:name`. If using a phone number, it must be a Twilio number or a Verified [outgoing caller id](https://www.twilio.com/docs/voice/api/outgoing-caller-ids) for your account. If the `to` parameter is a phone number, `from` must also be a phone number. If `to` is sip address, this value of `from` should be a username portion to be used to populate the P-Asserted-Identity header that is passed to the SIP endpoint. */
43
43
  from: string;
44
- /** The phone number, SIP address, or Client identifier that received this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). SIP addresses are formatted as `sip:name@company.com`. Client identifiers are formatted `client:name`. [Custom parameters](https://www.twilio.com/docs/voice/api/conference-participant-resource#custom-parameters) may also be specified. */
44
+ /** The phone number, SIP address, Client, TwiML App identifier that received this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). SIP addresses are formatted as `sip:name@company.com`. Client identifiers are formatted `client:name`. TwiML App identifiers are formatted `app:<APP_SID>`. [Custom parameters](https://www.twilio.com/docs/voice/api/conference-participant-resource#custom-parameters) may also be specified. */
45
45
  to: string;
46
46
  /** The URL we should call using the `status_callback_method` to send status information to your application. */
47
47
  statusCallback?: string;
@@ -135,6 +135,8 @@ export interface ParticipantListInstanceCreateOptions {
135
135
  trim?: string;
136
136
  /** A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call\\\'s call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call. */
137
137
  callToken?: string;
138
+ /** The name that appears to the called party for this call. Must be between 2 and 255 characters. */
139
+ callerDisplayName?: string;
138
140
  }
139
141
  /**
140
142
  * Options to pass to each
@@ -330,6 +330,8 @@ function ParticipantListInstance(version, accountSid, conferenceSid) {
330
330
  data["Trim"] = params["trim"];
331
331
  if (params["callToken"] !== undefined)
332
332
  data["CallToken"] = params["callToken"];
333
+ if (params["callerDisplayName"] !== undefined)
334
+ data["CallerDisplayName"] = params["callerDisplayName"];
333
335
  const headers = {};
334
336
  headers["Content-Type"] = "application/x-www-form-urlencoded";
335
337
  headers["Accept"] = "application/json";
@@ -220,7 +220,7 @@ export declare class RecordingInstance {
220
220
  priceUnit: string;
221
221
  status: RecordingStatus;
222
222
  /**
223
- * The number of channels in the final recording file. Can be: `1` or `2`. Default: `1`.
223
+ * The number of channels in the recording resource. For information on specifying the number of channels in the downloaded recording file, check out [Fetch a Recording’s media file](https://www.twilio.com/docs/voice/api/recording#download-dual-channel-media-file).
224
224
  */
225
225
  channels: number;
226
226
  source: RecordingSource;
@@ -6,7 +6,7 @@ export declare class AssistantsV1ServiceCreateFeedbackRequest {
6
6
  /**
7
7
  * The message ID.
8
8
  */
9
- "message_id"?: string;
9
+ "messageId"?: string;
10
10
  /**
11
11
  * The score to be given(0-1).
12
12
  */
@@ -14,7 +14,7 @@ export declare class AssistantsV1ServiceCreateFeedbackRequest {
14
14
  /**
15
15
  * The Session ID.
16
16
  */
17
- "session_id": string;
17
+ "sessionId": string;
18
18
  /**
19
19
  * The text to be given as feedback.
20
20
  */
@@ -8,7 +8,7 @@ export declare class AssistantsV1ServiceAssistantSendMessageRequest {
8
8
  /**
9
9
  * The unique name for the session.
10
10
  */
11
- "session_id"?: string;
11
+ "sessionId"?: string;
12
12
  /**
13
13
  * The query to ask the assistant.
14
14
  */