twilio 5.10.4 → 5.10.5
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.
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.d.ts +3 -3
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.d.ts +3 -3
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.d.ts +3 -3
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.d.ts +3 -3
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.d.ts +3 -3
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.d.ts +3 -3
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.d.ts +3 -3
- package/lib/rest/api/v2010/account/call/payment.d.ts +15 -0
- package/lib/rest/api/v2010/account/call/siprec.d.ts +3 -0
- package/lib/rest/api/v2010/account/call/stream.d.ts +3 -0
- package/lib/rest/api/v2010/account/call/transcription.d.ts +3 -0
- package/lib/rest/api/v2010/account/message.d.ts +12 -0
- package/lib/rest/content/v1/content.d.ts +4 -4
- package/lib/rest/intelligence/v2/transcript.d.ts +1 -1
- package/lib/rest/lookups/v2/phoneNumber.d.ts +34 -34
- package/lib/rest/lookups/v2/phoneNumber.js +19 -19
- package/lib/rest/lookups/v2/query.d.ts +18 -18
- package/lib/rest/lookups/v2/query.js +19 -19
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +6 -0
- package/lib/rest/messaging/v1/tollfreeVerification.js +2 -0
- package/lib/rest/numbers/v1/portingPortIn.d.ts +3 -0
- package/lib/rest/numbers/v1/portingPortIn.js +2 -0
- package/lib/rest/studio/v2/flowValidate.d.ts +3 -0
- package/lib/rest/supersim/v1/usageRecord.d.ts +6 -0
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.d.ts +12 -0
- package/lib/rest/trusthub/v1/complianceTollfreeInquiries.d.ts +3 -0
- package/lib/rest/verify/v2/service/verification.d.ts +3 -0
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +3 -0
- package/lib/rest/wireless/v1/usageRecord.d.ts +3 -0
- package/lib/twiml/VoiceResponse.d.ts +57 -0
- package/lib/twiml/VoiceResponse.js +38 -0
- package/package.json +1 -1
|
@@ -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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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
|
-
/** 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. */
|
|
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, and wildcards cannot be used between 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;
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { inspect, InspectOptions } from "util";
|
|
2
2
|
import V2010 from "../../../V2010";
|
|
3
|
+
/**
|
|
4
|
+
* Type of bank account if payment source is ACH. One of `consumer-checking`, `consumer-savings`, or `commercial-checking`. The default value is `consumer-checking`.
|
|
5
|
+
*/
|
|
3
6
|
export type PaymentBankAccountType = "consumer-checking" | "consumer-savings" | "commercial-checking";
|
|
7
|
+
/**
|
|
8
|
+
* The piece of payment information that you wish the caller to enter. Must be one of `payment-card-number`, `expiration-date`, `security-code`, `postal-code`, `bank-routing-number`, or `bank-account-number`.
|
|
9
|
+
*/
|
|
4
10
|
export type PaymentCapture = "payment-card-number" | "expiration-date" | "security-code" | "postal-code" | "bank-routing-number" | "bank-account-number";
|
|
11
|
+
/**
|
|
12
|
+
* Type of payment being captured. One of `credit-card` or `ach-debit`. The default value is `credit-card`.
|
|
13
|
+
*/
|
|
5
14
|
export type PaymentPaymentMethod = "credit-card" | "ach-debit";
|
|
15
|
+
/**
|
|
16
|
+
* Indicates whether the current payment session should be cancelled or completed. When `cancel` the payment session is cancelled. When `complete`, Twilio sends the payment information to the selected Pay Connector for processing.
|
|
17
|
+
*/
|
|
6
18
|
export type PaymentStatus = "complete" | "cancel";
|
|
19
|
+
/**
|
|
20
|
+
* Indicates whether the payment method should be tokenized as a `one-time`, `reusable`, or `payment-method` token. The default value is `reusable`. Do not enter a charge amount when tokenizing. If a charge amount is entered, the payment method will be charged and not tokenized.
|
|
21
|
+
*/
|
|
7
22
|
export type PaymentTokenType = "one-time" | "reusable" | "payment-method";
|
|
8
23
|
/**
|
|
9
24
|
* Options to pass to update a PaymentInstance
|
|
@@ -4,6 +4,9 @@ import V2010 from "../../../V2010";
|
|
|
4
4
|
* The status - one of `stopped`, `in-progress`
|
|
5
5
|
*/
|
|
6
6
|
export type SiprecStatus = "in-progress" | "stopped";
|
|
7
|
+
/**
|
|
8
|
+
* One of `inbound_track`, `outbound_track`, `both_tracks`.
|
|
9
|
+
*/
|
|
7
10
|
export type SiprecTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
8
11
|
export type SiprecUpdateStatus = "stopped";
|
|
9
12
|
/**
|
|
@@ -4,6 +4,9 @@ import V2010 from "../../../V2010";
|
|
|
4
4
|
* The status of the Stream. Possible values are `stopped` and `in-progress`.
|
|
5
5
|
*/
|
|
6
6
|
export type StreamStatus = "in-progress" | "stopped";
|
|
7
|
+
/**
|
|
8
|
+
* The tracks to be included in the Stream. Possible values are `inbound_track`, `outbound_track`, `both_tracks`. Default value is `inbound_track`.
|
|
9
|
+
*/
|
|
7
10
|
export type StreamTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
8
11
|
export type StreamUpdateStatus = "stopped";
|
|
9
12
|
/**
|
|
@@ -4,6 +4,9 @@ import V2010 from "../../../V2010";
|
|
|
4
4
|
* The status - one of `stopped`, `in-flight`
|
|
5
5
|
*/
|
|
6
6
|
export type TranscriptionStatus = "in-progress" | "stopped";
|
|
7
|
+
/**
|
|
8
|
+
* One of `inbound_track`, `outbound_track`, `both_tracks`.
|
|
9
|
+
*/
|
|
7
10
|
export type TranscriptionTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
8
11
|
export type TranscriptionUpdateStatus = "stopped";
|
|
9
12
|
/**
|
|
@@ -4,13 +4,25 @@ import Response from "../../../../http/response";
|
|
|
4
4
|
import V2010 from "../../V2010";
|
|
5
5
|
import { FeedbackListInstance } from "./message/feedback";
|
|
6
6
|
import { MediaListInstance } from "./message/media";
|
|
7
|
+
/**
|
|
8
|
+
* Determines if the address can be stored or obfuscated based on privacy settings
|
|
9
|
+
*/
|
|
7
10
|
export type MessageAddressRetention = "retain" | "obfuscate";
|
|
11
|
+
/**
|
|
12
|
+
* Determines if the message content can be stored or redacted based on privacy settings
|
|
13
|
+
*/
|
|
8
14
|
export type MessageContentRetention = "retain" | "discard";
|
|
9
15
|
/**
|
|
10
16
|
* The direction of the message. Can be: `inbound` for incoming messages, `outbound-api` for messages created by the REST API, `outbound-call` for messages created during a call, or `outbound-reply` for messages created in response to an incoming message.
|
|
11
17
|
*/
|
|
12
18
|
export type MessageDirection = "inbound" | "outbound-api" | "outbound-call" | "outbound-reply";
|
|
19
|
+
/**
|
|
20
|
+
* Include this parameter with a value of `disable` to skip any kind of risk check on the respective message request.
|
|
21
|
+
*/
|
|
13
22
|
export type MessageRiskCheck = "enable" | "disable";
|
|
23
|
+
/**
|
|
24
|
+
* For Messaging Services only: Include this parameter with a value of `fixed` in conjuction with the `send_time` parameter in order to [schedule a Message](https://www.twilio.com/docs/messaging/features/message-scheduling).
|
|
25
|
+
*/
|
|
14
26
|
export type MessageScheduleType = "fixed";
|
|
15
27
|
/**
|
|
16
28
|
* The status of the Message. Possible values: `accepted`, `scheduled`, `canceled`, `queued`, `sending`, `sent`, `failed`, `delivered`, `undelivered`, `receiving`, `received`, or `read` (WhatsApp only). For more information, See [detailed descriptions](https://www.twilio.com/docs/sms/api/message-resource#message-status-values).
|
|
@@ -87,7 +87,7 @@ export declare class ListItem {
|
|
|
87
87
|
"description"?: string;
|
|
88
88
|
}
|
|
89
89
|
export declare class QuickReplyAction {
|
|
90
|
-
"type"
|
|
90
|
+
"type"?: QuickReplyActionType;
|
|
91
91
|
"title": string;
|
|
92
92
|
"id"?: string;
|
|
93
93
|
}
|
|
@@ -103,7 +103,7 @@ export declare class TwilioCallToAction {
|
|
|
103
103
|
* twilio/card is a structured template which can be used to send a series of related information. It must include a title and at least one additional field.
|
|
104
104
|
*/
|
|
105
105
|
export declare class TwilioCard {
|
|
106
|
-
"title"
|
|
106
|
+
"title"?: string;
|
|
107
107
|
"subtitle"?: string;
|
|
108
108
|
"media"?: Array<string>;
|
|
109
109
|
"actions"?: Array<CardAction>;
|
|
@@ -132,8 +132,8 @@ export declare class TwilioCatalog {
|
|
|
132
132
|
export declare class TwilioFlows {
|
|
133
133
|
"body": string;
|
|
134
134
|
"buttonText": string;
|
|
135
|
-
"subtitle"
|
|
136
|
-
"mediaUrl"
|
|
135
|
+
"subtitle"?: string;
|
|
136
|
+
"mediaUrl"?: string;
|
|
137
137
|
"pages": Array<FlowsPage>;
|
|
138
138
|
"type": string;
|
|
139
139
|
}
|
|
@@ -10,7 +10,7 @@ import { SentenceListInstance } from "./transcript/sentence";
|
|
|
10
10
|
/**
|
|
11
11
|
* The Status of this Transcript. One of `queued`, `in-progress`, `completed`, `failed` or `canceled`.
|
|
12
12
|
*/
|
|
13
|
-
export type TranscriptStatus = "queued" | "in-progress" | "completed" | "failed" | "canceled" | "error";
|
|
13
|
+
export type TranscriptStatus = "queued" | "in-progress" | "completed" | "new" | "failed" | "canceled" | "error";
|
|
14
14
|
/**
|
|
15
15
|
* Options to pass to create a TranscriptInstance
|
|
16
16
|
*/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { inspect, InspectOptions } from "util";
|
|
2
2
|
import V2 from "../V2";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class CallForwardingInfo {
|
|
4
4
|
"callForwardingEnabled"?: boolean;
|
|
5
5
|
"errorCode"?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class CallerNameInfo {
|
|
8
8
|
"callerName"?: string;
|
|
9
9
|
"callerType"?: string;
|
|
10
10
|
"errorCode"?: number;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class IdentityMatchInfo {
|
|
13
13
|
"firstNameMatch"?: string;
|
|
14
14
|
"lastNameMatch"?: string;
|
|
15
15
|
"addressLinesMatch"?: string;
|
|
@@ -23,35 +23,35 @@ export declare class IdentityMatch {
|
|
|
23
23
|
"errorCode"?: number;
|
|
24
24
|
"errorMessage"?: string;
|
|
25
25
|
}
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class LastSimSwapInfo {
|
|
27
27
|
"lastSimSwapDate"?: Date;
|
|
28
28
|
"swappedPeriod"?: string;
|
|
29
29
|
"swappedInPeriod"?: boolean;
|
|
30
30
|
}
|
|
31
|
-
export declare class
|
|
31
|
+
export declare class LineStatusInfo {
|
|
32
32
|
"status"?: string;
|
|
33
33
|
"errorCode"?: number;
|
|
34
34
|
}
|
|
35
|
-
export declare class
|
|
35
|
+
export declare class LineTypeIntelligenceInfo {
|
|
36
36
|
"mobileCountryCode"?: string;
|
|
37
37
|
"mobileNetworkCode"?: string;
|
|
38
38
|
"carrierName"?: string;
|
|
39
39
|
"type"?: string;
|
|
40
40
|
"errorCode"?: number;
|
|
41
41
|
}
|
|
42
|
-
export declare class
|
|
42
|
+
export declare class ReassignedNumberInfo {
|
|
43
43
|
"lastVerifiedDate"?: string;
|
|
44
44
|
"isNumberReassigned"?: string;
|
|
45
45
|
"errorCode"?: string;
|
|
46
46
|
}
|
|
47
|
-
export declare class
|
|
48
|
-
"lastSimSwap"?:
|
|
47
|
+
export declare class SimSwapInfo {
|
|
48
|
+
"lastSimSwap"?: LastSimSwapInfo;
|
|
49
49
|
"carrierName"?: string;
|
|
50
50
|
"mobileCountryCode"?: string;
|
|
51
51
|
"mobileNetworkCode"?: string;
|
|
52
52
|
"errorCode"?: number;
|
|
53
53
|
}
|
|
54
|
-
export declare class
|
|
54
|
+
export declare class SmsPumpingRiskInfo {
|
|
55
55
|
"carrierRiskCategory"?: string;
|
|
56
56
|
"numberBlocked"?: boolean;
|
|
57
57
|
"numberBlockedDate"?: Date;
|
|
@@ -146,14 +146,14 @@ interface PhoneNumberResource {
|
|
|
146
146
|
national_format: string;
|
|
147
147
|
valid: boolean;
|
|
148
148
|
validation_errors: Array<ValidationError>;
|
|
149
|
-
caller_name:
|
|
150
|
-
sim_swap:
|
|
151
|
-
call_forwarding:
|
|
152
|
-
line_type_intelligence:
|
|
153
|
-
line_status:
|
|
154
|
-
identity_match:
|
|
155
|
-
reassigned_number:
|
|
156
|
-
sms_pumping_risk:
|
|
149
|
+
caller_name: CallerNameInfo;
|
|
150
|
+
sim_swap: SimSwapInfo;
|
|
151
|
+
call_forwarding: CallForwardingInfo;
|
|
152
|
+
line_type_intelligence: LineTypeIntelligenceInfo;
|
|
153
|
+
line_status: LineStatusInfo;
|
|
154
|
+
identity_match: IdentityMatchInfo;
|
|
155
|
+
reassigned_number: ReassignedNumberInfo;
|
|
156
|
+
sms_pumping_risk: SmsPumpingRiskInfo;
|
|
157
157
|
phone_number_quality_score: any;
|
|
158
158
|
pre_fill: any;
|
|
159
159
|
url: string;
|
|
@@ -187,14 +187,14 @@ export declare class PhoneNumberInstance {
|
|
|
187
187
|
* Contains reasons why a phone number is invalid. Possible values: TOO_SHORT, TOO_LONG, INVALID_BUT_POSSIBLE, INVALID_COUNTRY_CODE, INVALID_LENGTH, NOT_A_NUMBER.
|
|
188
188
|
*/
|
|
189
189
|
validationErrors: Array<ValidationError>;
|
|
190
|
-
callerName:
|
|
191
|
-
simSwap:
|
|
192
|
-
callForwarding:
|
|
193
|
-
lineTypeIntelligence:
|
|
194
|
-
lineStatus:
|
|
195
|
-
identityMatch:
|
|
196
|
-
reassignedNumber:
|
|
197
|
-
smsPumpingRisk:
|
|
190
|
+
callerName: CallerNameInfo;
|
|
191
|
+
simSwap: SimSwapInfo;
|
|
192
|
+
callForwarding: CallForwardingInfo;
|
|
193
|
+
lineTypeIntelligence: LineTypeIntelligenceInfo;
|
|
194
|
+
lineStatus: LineStatusInfo;
|
|
195
|
+
identityMatch: IdentityMatchInfo;
|
|
196
|
+
reassignedNumber: ReassignedNumberInfo;
|
|
197
|
+
smsPumpingRisk: SmsPumpingRiskInfo;
|
|
198
198
|
/**
|
|
199
199
|
* An object that contains information of a mobile phone number quality score. Quality score will return a risk score about the phone number.
|
|
200
200
|
*/
|
|
@@ -237,14 +237,14 @@ export declare class PhoneNumberInstance {
|
|
|
237
237
|
nationalFormat: string;
|
|
238
238
|
valid: boolean;
|
|
239
239
|
validationErrors: ValidationError[];
|
|
240
|
-
callerName:
|
|
241
|
-
simSwap:
|
|
242
|
-
callForwarding:
|
|
243
|
-
lineTypeIntelligence:
|
|
244
|
-
lineStatus:
|
|
245
|
-
identityMatch:
|
|
246
|
-
reassignedNumber:
|
|
247
|
-
smsPumpingRisk:
|
|
240
|
+
callerName: CallerNameInfo;
|
|
241
|
+
simSwap: SimSwapInfo;
|
|
242
|
+
callForwarding: CallForwardingInfo;
|
|
243
|
+
lineTypeIntelligence: LineTypeIntelligenceInfo;
|
|
244
|
+
lineStatus: LineStatusInfo;
|
|
245
|
+
identityMatch: IdentityMatchInfo;
|
|
246
|
+
reassignedNumber: ReassignedNumberInfo;
|
|
247
|
+
smsPumpingRisk: SmsPumpingRiskInfo;
|
|
248
248
|
phoneNumberQualityScore: any;
|
|
249
249
|
preFill: any;
|
|
250
250
|
url: string;
|
|
@@ -13,39 +13,39 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PhoneNumberInstance = exports.PhoneNumberContextImpl = exports.
|
|
16
|
+
exports.PhoneNumberInstance = exports.PhoneNumberContextImpl = exports.SmsPumpingRiskInfo = exports.SimSwapInfo = exports.ReassignedNumberInfo = exports.LineTypeIntelligenceInfo = exports.LineStatusInfo = exports.LastSimSwapInfo = exports.IdentityMatchInfo = exports.CallerNameInfo = exports.CallForwardingInfo = void 0;
|
|
17
17
|
exports.PhoneNumberListInstance = PhoneNumberListInstance;
|
|
18
18
|
const util_1 = require("util");
|
|
19
19
|
const deserialize = require("../../../base/deserialize");
|
|
20
20
|
const serialize = require("../../../base/serialize");
|
|
21
21
|
const utility_1 = require("../../../base/utility");
|
|
22
|
-
class
|
|
22
|
+
class CallForwardingInfo {
|
|
23
23
|
}
|
|
24
|
-
exports.
|
|
25
|
-
class
|
|
24
|
+
exports.CallForwardingInfo = CallForwardingInfo;
|
|
25
|
+
class CallerNameInfo {
|
|
26
26
|
}
|
|
27
|
-
exports.
|
|
28
|
-
class
|
|
27
|
+
exports.CallerNameInfo = CallerNameInfo;
|
|
28
|
+
class IdentityMatchInfo {
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
31
|
-
class
|
|
30
|
+
exports.IdentityMatchInfo = IdentityMatchInfo;
|
|
31
|
+
class LastSimSwapInfo {
|
|
32
32
|
}
|
|
33
|
-
exports.
|
|
34
|
-
class
|
|
33
|
+
exports.LastSimSwapInfo = LastSimSwapInfo;
|
|
34
|
+
class LineStatusInfo {
|
|
35
35
|
}
|
|
36
|
-
exports.
|
|
37
|
-
class
|
|
36
|
+
exports.LineStatusInfo = LineStatusInfo;
|
|
37
|
+
class LineTypeIntelligenceInfo {
|
|
38
38
|
}
|
|
39
|
-
exports.
|
|
40
|
-
class
|
|
39
|
+
exports.LineTypeIntelligenceInfo = LineTypeIntelligenceInfo;
|
|
40
|
+
class ReassignedNumberInfo {
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
43
|
-
class
|
|
42
|
+
exports.ReassignedNumberInfo = ReassignedNumberInfo;
|
|
43
|
+
class SimSwapInfo {
|
|
44
44
|
}
|
|
45
|
-
exports.
|
|
46
|
-
class
|
|
45
|
+
exports.SimSwapInfo = SimSwapInfo;
|
|
46
|
+
class SmsPumpingRiskInfo {
|
|
47
47
|
}
|
|
48
|
-
exports.
|
|
48
|
+
exports.SmsPumpingRiskInfo = SmsPumpingRiskInfo;
|
|
49
49
|
class PhoneNumberContextImpl {
|
|
50
50
|
constructor(_version, phoneNumber) {
|
|
51
51
|
this._version = _version;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { inspect, InspectOptions } from "util";
|
|
2
2
|
import V2 from "../V2";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class CallForwardingInfo {
|
|
4
4
|
"callForwardingEnabled"?: boolean;
|
|
5
5
|
"errorCode"?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class CallerNameInfo {
|
|
8
8
|
"callerName"?: string;
|
|
9
9
|
"callerType"?: string;
|
|
10
10
|
"errorCode"?: number;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class IdentityMatchInfo {
|
|
13
13
|
"firstNameMatch"?: string;
|
|
14
14
|
"lastNameMatch"?: string;
|
|
15
15
|
"addressLinesMatch"?: string;
|
|
@@ -35,16 +35,16 @@ export declare class IdentityMatchParameters {
|
|
|
35
35
|
"nationalId"?: string;
|
|
36
36
|
"dateOfBirth"?: string;
|
|
37
37
|
}
|
|
38
|
-
export declare class
|
|
38
|
+
export declare class LastSimSwapInfo {
|
|
39
39
|
"lastSimSwapDate"?: Date;
|
|
40
40
|
"swappedPeriod"?: string;
|
|
41
41
|
"swappedInPeriod"?: boolean;
|
|
42
42
|
}
|
|
43
|
-
export declare class
|
|
43
|
+
export declare class LineStatusInfo {
|
|
44
44
|
"status"?: string;
|
|
45
45
|
"errorCode"?: number;
|
|
46
46
|
}
|
|
47
|
-
export declare class
|
|
47
|
+
export declare class LineTypeIntelligenceInfo {
|
|
48
48
|
"mobileCountryCode"?: string;
|
|
49
49
|
"mobileNetworkCode"?: string;
|
|
50
50
|
"carrierName"?: string;
|
|
@@ -78,21 +78,21 @@ export declare class LookupBatchResponse {
|
|
|
78
78
|
"nationalFormat"?: string;
|
|
79
79
|
"valid"?: boolean;
|
|
80
80
|
"validationErrors"?: Array<string>;
|
|
81
|
-
"callerName"?:
|
|
82
|
-
"simSwap"?:
|
|
83
|
-
"callForwarding"?:
|
|
84
|
-
"lineTypeIntelligence"?:
|
|
85
|
-
"lineStatus"?:
|
|
86
|
-
"identityMatch"?:
|
|
87
|
-
"reassignedNumber"?:
|
|
88
|
-
"smsPumpingRisk"?:
|
|
81
|
+
"callerName"?: CallerNameInfo;
|
|
82
|
+
"simSwap"?: SimSwapInfo;
|
|
83
|
+
"callForwarding"?: CallForwardingInfo;
|
|
84
|
+
"lineTypeIntelligence"?: LineTypeIntelligenceInfo;
|
|
85
|
+
"lineStatus"?: LineStatusInfo;
|
|
86
|
+
"identityMatch"?: IdentityMatchInfo;
|
|
87
|
+
"reassignedNumber"?: ReassignedNumberInfo;
|
|
88
|
+
"smsPumpingRisk"?: SmsPumpingRiskInfo;
|
|
89
89
|
"phoneNumberQualityScore"?: any | null;
|
|
90
90
|
"preFill"?: any | null;
|
|
91
91
|
}
|
|
92
92
|
export declare class LookupRequest {
|
|
93
93
|
"phoneNumbers"?: Array<LookupBatchRequest>;
|
|
94
94
|
}
|
|
95
|
-
export declare class
|
|
95
|
+
export declare class ReassignedNumberInfo {
|
|
96
96
|
"lastVerifiedDate"?: string;
|
|
97
97
|
"isNumberReassigned"?: string;
|
|
98
98
|
"errorCode"?: string;
|
|
@@ -103,14 +103,14 @@ export declare class ReassignedNumberParameters {
|
|
|
103
103
|
export declare class RiskParameters {
|
|
104
104
|
"partnerSubId"?: string;
|
|
105
105
|
}
|
|
106
|
-
export declare class
|
|
107
|
-
"lastSimSwap"?:
|
|
106
|
+
export declare class SimSwapInfo {
|
|
107
|
+
"lastSimSwap"?: LastSimSwapInfo;
|
|
108
108
|
"carrierName"?: string;
|
|
109
109
|
"mobileCountryCode"?: string;
|
|
110
110
|
"mobileNetworkCode"?: string;
|
|
111
111
|
"errorCode"?: number;
|
|
112
112
|
}
|
|
113
|
-
export declare class
|
|
113
|
+
export declare class SmsPumpingRiskInfo {
|
|
114
114
|
"carrierRiskCategory"?: string;
|
|
115
115
|
"numberBlocked"?: boolean;
|
|
116
116
|
"numberBlockedDate"?: Date;
|
|
@@ -13,32 +13,32 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.QueryInstance = exports.
|
|
16
|
+
exports.QueryInstance = exports.SmsPumpingRiskInfo = exports.SimSwapInfo = exports.RiskParameters = exports.ReassignedNumberParameters = exports.ReassignedNumberInfo = exports.LookupRequest = exports.LookupBatchResponse = exports.LookupBatchRequest = exports.LineTypeIntelligenceInfo = exports.LineStatusInfo = exports.LastSimSwapInfo = exports.IdentityMatchParameters = exports.IdentityMatchInfo = exports.CallerNameInfo = exports.CallForwardingInfo = void 0;
|
|
17
17
|
exports.QueryListInstance = QueryListInstance;
|
|
18
18
|
const util_1 = require("util");
|
|
19
19
|
const deserialize = require("../../../base/deserialize");
|
|
20
20
|
const serialize = require("../../../base/serialize");
|
|
21
|
-
class
|
|
21
|
+
class CallForwardingInfo {
|
|
22
22
|
}
|
|
23
|
-
exports.
|
|
24
|
-
class
|
|
23
|
+
exports.CallForwardingInfo = CallForwardingInfo;
|
|
24
|
+
class CallerNameInfo {
|
|
25
25
|
}
|
|
26
|
-
exports.
|
|
27
|
-
class
|
|
26
|
+
exports.CallerNameInfo = CallerNameInfo;
|
|
27
|
+
class IdentityMatchInfo {
|
|
28
28
|
}
|
|
29
|
-
exports.
|
|
29
|
+
exports.IdentityMatchInfo = IdentityMatchInfo;
|
|
30
30
|
class IdentityMatchParameters {
|
|
31
31
|
}
|
|
32
32
|
exports.IdentityMatchParameters = IdentityMatchParameters;
|
|
33
|
-
class
|
|
33
|
+
class LastSimSwapInfo {
|
|
34
34
|
}
|
|
35
|
-
exports.
|
|
36
|
-
class
|
|
35
|
+
exports.LastSimSwapInfo = LastSimSwapInfo;
|
|
36
|
+
class LineStatusInfo {
|
|
37
37
|
}
|
|
38
|
-
exports.
|
|
39
|
-
class
|
|
38
|
+
exports.LineStatusInfo = LineStatusInfo;
|
|
39
|
+
class LineTypeIntelligenceInfo {
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
41
|
+
exports.LineTypeIntelligenceInfo = LineTypeIntelligenceInfo;
|
|
42
42
|
class LookupBatchRequest {
|
|
43
43
|
}
|
|
44
44
|
exports.LookupBatchRequest = LookupBatchRequest;
|
|
@@ -48,21 +48,21 @@ exports.LookupBatchResponse = LookupBatchResponse;
|
|
|
48
48
|
class LookupRequest {
|
|
49
49
|
}
|
|
50
50
|
exports.LookupRequest = LookupRequest;
|
|
51
|
-
class
|
|
51
|
+
class ReassignedNumberInfo {
|
|
52
52
|
}
|
|
53
|
-
exports.
|
|
53
|
+
exports.ReassignedNumberInfo = ReassignedNumberInfo;
|
|
54
54
|
class ReassignedNumberParameters {
|
|
55
55
|
}
|
|
56
56
|
exports.ReassignedNumberParameters = ReassignedNumberParameters;
|
|
57
57
|
class RiskParameters {
|
|
58
58
|
}
|
|
59
59
|
exports.RiskParameters = RiskParameters;
|
|
60
|
-
class
|
|
60
|
+
class SimSwapInfo {
|
|
61
61
|
}
|
|
62
|
-
exports.
|
|
63
|
-
class
|
|
62
|
+
exports.SimSwapInfo = SimSwapInfo;
|
|
63
|
+
class SmsPumpingRiskInfo {
|
|
64
64
|
}
|
|
65
|
-
exports.
|
|
65
|
+
exports.SmsPumpingRiskInfo = SmsPumpingRiskInfo;
|
|
66
66
|
function QueryListInstance(version) {
|
|
67
67
|
const instance = {};
|
|
68
68
|
instance._version = version;
|
|
@@ -170,6 +170,8 @@ export interface TollfreeVerificationListInstanceEachOptions {
|
|
|
170
170
|
includeSubAccounts?: boolean;
|
|
171
171
|
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
172
172
|
pageSize?: number;
|
|
173
|
+
/** The trust product sids / tollfree bundle sids of tollfree verifications */
|
|
174
|
+
trustProductSid?: Array<string>;
|
|
173
175
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
174
176
|
callback?: (item: TollfreeVerificationInstance, done: (err?: Error) => void) => void;
|
|
175
177
|
/** Function to be called upon completion of streaming */
|
|
@@ -191,6 +193,8 @@ export interface TollfreeVerificationListInstanceOptions {
|
|
|
191
193
|
includeSubAccounts?: boolean;
|
|
192
194
|
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
193
195
|
pageSize?: number;
|
|
196
|
+
/** The trust product sids / tollfree bundle sids of tollfree verifications */
|
|
197
|
+
trustProductSid?: Array<string>;
|
|
194
198
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
195
199
|
limit?: number;
|
|
196
200
|
}
|
|
@@ -208,6 +212,8 @@ export interface TollfreeVerificationListInstancePageOptions {
|
|
|
208
212
|
includeSubAccounts?: boolean;
|
|
209
213
|
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
210
214
|
pageSize?: number;
|
|
215
|
+
/** The trust product sids / tollfree bundle sids of tollfree verifications */
|
|
216
|
+
trustProductSid?: Array<string>;
|
|
211
217
|
/** Page Number, this value is simply for client state */
|
|
212
218
|
pageNumber?: number;
|
|
213
219
|
/** PageToken provided by the API */
|
|
@@ -460,6 +460,8 @@ function TollfreeVerificationListInstance(version) {
|
|
|
460
460
|
data["IncludeSubAccounts"] = serialize.bool(params["includeSubAccounts"]);
|
|
461
461
|
if (params["pageSize"] !== undefined)
|
|
462
462
|
data["PageSize"] = params["pageSize"];
|
|
463
|
+
if (params["trustProductSid"] !== undefined)
|
|
464
|
+
data["TrustProductSid"] = serialize.map(params["trustProductSid"], (e) => e);
|
|
463
465
|
if (params.pageNumber !== undefined)
|
|
464
466
|
data["Page"] = params.pageNumber;
|
|
465
467
|
if (params.pageToken !== undefined)
|
|
@@ -227,6 +227,7 @@ interface PortingPortInResource {
|
|
|
227
227
|
documents: Array<string>;
|
|
228
228
|
date_created: Date;
|
|
229
229
|
support_ticket_id: number;
|
|
230
|
+
signature_request_url: string;
|
|
230
231
|
}
|
|
231
232
|
export declare class PortingPortInInstance {
|
|
232
233
|
protected _version: V1;
|
|
@@ -292,6 +293,7 @@ export declare class PortingPortInInstance {
|
|
|
292
293
|
* Unique ID of the request\'s support ticket
|
|
293
294
|
*/
|
|
294
295
|
supportTicketId: number;
|
|
296
|
+
signatureRequestUrl: string;
|
|
295
297
|
private get _proxy();
|
|
296
298
|
/**
|
|
297
299
|
* Remove a PortingPortInInstance
|
|
@@ -332,6 +334,7 @@ export declare class PortingPortInInstance {
|
|
|
332
334
|
documents: string[];
|
|
333
335
|
dateCreated: Date;
|
|
334
336
|
supportTicketId: number;
|
|
337
|
+
signatureRequestUrl: string;
|
|
335
338
|
};
|
|
336
339
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
337
340
|
}
|
|
@@ -100,6 +100,7 @@ class PortingPortInInstance {
|
|
|
100
100
|
this.documents = payload.documents;
|
|
101
101
|
this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
|
|
102
102
|
this.supportTicketId = deserialize.integer(payload.support_ticket_id);
|
|
103
|
+
this.signatureRequestUrl = payload.signature_request_url;
|
|
103
104
|
this._solution = {
|
|
104
105
|
portInRequestSid: portInRequestSid || this.portInRequestSid,
|
|
105
106
|
};
|
|
@@ -154,6 +155,7 @@ class PortingPortInInstance {
|
|
|
154
155
|
documents: this.documents,
|
|
155
156
|
dateCreated: this.dateCreated,
|
|
156
157
|
supportTicketId: this.supportTicketId,
|
|
158
|
+
signatureRequestUrl: this.signatureRequestUrl,
|
|
157
159
|
};
|
|
158
160
|
}
|
|
159
161
|
[util_1.inspect.custom](_depth, options) {
|
|
@@ -2,7 +2,13 @@ import { inspect, InspectOptions } from "util";
|
|
|
2
2
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
3
3
|
import Response from "../../../http/response";
|
|
4
4
|
import V1 from "../V1";
|
|
5
|
+
/**
|
|
6
|
+
* Time-based grouping that UsageRecords should be aggregated by. Can be: `hour`, `day`, or `all`. Default is `all`. `all` returns one UsageRecord that describes the usage for the entire period.
|
|
7
|
+
*/
|
|
5
8
|
export type UsageRecordGranularity = "hour" | "day" | "all";
|
|
9
|
+
/**
|
|
10
|
+
* Dimension over which to aggregate usage records. Can be: `sim`, `fleet`, `network`, `isoCountry`. Default is to not aggregate across any of these dimensions, UsageRecords will be aggregated into the time buckets described by the `Granularity` parameter.
|
|
11
|
+
*/
|
|
6
12
|
export type UsageRecordGroup = "sim" | "fleet" | "network" | "isoCountry";
|
|
7
13
|
/**
|
|
8
14
|
* Options to pass to each
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { inspect, InspectOptions } from "util";
|
|
2
2
|
import V1 from "../V1";
|
|
3
|
+
/**
|
|
4
|
+
* The type of business identity. Can be `direct customer` or `ISV`.
|
|
5
|
+
*/
|
|
3
6
|
export type ComplianceRegistrationInquiriesBusinessIdentityType = "direct_customer" | "isv_reseller_or_partner" | "unknown";
|
|
7
|
+
/**
|
|
8
|
+
* The authority that registered the business
|
|
9
|
+
*/
|
|
4
10
|
export type ComplianceRegistrationInquiriesBusinessRegistrationAuthority = "UK:CRN" | "US:EIN" | "CA:CBN" | "AU:ACN" | "Other";
|
|
11
|
+
/**
|
|
12
|
+
* The type of End User the regulation requires - can be `Individual` or `Business`.
|
|
13
|
+
*/
|
|
5
14
|
export type ComplianceRegistrationInquiriesEndUserType = "Individual" | "Business";
|
|
15
|
+
/**
|
|
16
|
+
* The type of phone number of the Bundle\'s ownership request. Can be `local`, `mobile`, `national`, or `toll-free`.
|
|
17
|
+
*/
|
|
6
18
|
export type ComplianceRegistrationInquiriesPhoneNumberType = "local" | "national" | "mobile" | "toll-free";
|
|
7
19
|
/**
|
|
8
20
|
* Options to pass to update a ComplianceRegistrationInquiriesInstance
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { inspect, InspectOptions } from "util";
|
|
2
2
|
import V1 from "../V1";
|
|
3
|
+
/**
|
|
4
|
+
* Describe how a user opts-in to text messages.
|
|
5
|
+
*/
|
|
3
6
|
export type ComplianceTollfreeInquiriesOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE";
|
|
4
7
|
/**
|
|
5
8
|
* Options to pass to create a ComplianceTollfreeInquiriesInstance
|
|
@@ -4,6 +4,9 @@ import V2 from "../../V2";
|
|
|
4
4
|
* The verification method used. One of: [`email`](https://www.twilio.com/docs/verify/email), `sms`, `whatsapp`, `call`, `sna`, or `rcs`.
|
|
5
5
|
*/
|
|
6
6
|
export type VerificationChannel = "sms" | "call" | "email" | "whatsapp" | "sna";
|
|
7
|
+
/**
|
|
8
|
+
* Risk_check overrides Fraud Prevention measures like Fraud Guard, Geo Permissions etc per verification attempt basis, allowing Verify to block traffic considered fraudulent if enabled or bypass active protections if disabled. Can be: `enable`(default) or `disable`. For SMS channel only.
|
|
9
|
+
*/
|
|
7
10
|
export type VerificationRiskCheck = "enable" | "disable";
|
|
8
11
|
/**
|
|
9
12
|
* The status of the verification. Can be: `pending`, `approved`, `canceled`, `max_attempts_reached`, `deleted`, `failed` or `expired`.
|
|
@@ -2,6 +2,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
2
2
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
3
3
|
import Response from "../../../../http/response";
|
|
4
4
|
import V1 from "../../V1";
|
|
5
|
+
/**
|
|
6
|
+
* How to summarize the usage by time. Can be: `daily`, `hourly`, or `all`. The default is `all`. A value of `all` returns one Usage Record that describes the usage for the entire period.
|
|
7
|
+
*/
|
|
5
8
|
export type UsageRecordGranularity = "hourly" | "daily" | "all";
|
|
6
9
|
/**
|
|
7
10
|
* Options to pass to each
|
|
@@ -2,6 +2,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
2
2
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
3
3
|
import Response from "../../../http/response";
|
|
4
4
|
import V1 from "../V1";
|
|
5
|
+
/**
|
|
6
|
+
* How to summarize the usage by time. Can be: `daily`, `hourly`, or `all`. A value of `all` returns one Usage Record that describes the usage for the entire period.
|
|
7
|
+
*/
|
|
5
8
|
export type UsageRecordGranularity = "hourly" | "daily" | "all";
|
|
6
9
|
/**
|
|
7
10
|
* Options to pass to each
|
|
@@ -199,6 +199,11 @@ declare namespace VoiceResponse {
|
|
|
199
199
|
type PromptFor = "payment-card-number" | "expiration-date" | "security-code" | "postal-code" | "payment-processing" | "bank-account-number" | "bank-routing-number";
|
|
200
200
|
type RecordRecordingEvent = "in-progress" | "completed" | "absent";
|
|
201
201
|
type RecordTrim = "trim-silence" | "do-not-trim";
|
|
202
|
+
type RecordingChannels = "mono" | "dual";
|
|
203
|
+
type RecordingEvent = "in-progress" | "completed" | "absent";
|
|
204
|
+
type RecordingRecordingStatusCallbackMethod = "GET" | "POST";
|
|
205
|
+
type RecordingTrack = "inbound" | "outbound" | "both";
|
|
206
|
+
type RecordingTrim = "trim-silence" | "do-not-trim";
|
|
202
207
|
type RejectReason = "rejected" | "busy";
|
|
203
208
|
type SayLanguage = "af-ZA" | "am-ET" | "ar-AE" | "ar-XA" | "arb" | "bg-BG" | "bn-IN" | "ca-ES" | "cmn-CN" | "cmn-TW" | "cs-CZ" | "cy-GB" | "da-DK" | "de-AT" | "de-DE" | "el-GR" | "en-AU" | "en-CA" | "en-GB" | "en-GB-WLS" | "en-IE" | "en-IN" | "en-NZ" | "en-US" | "en-ZA" | "es-ES" | "es-MX" | "es-US" | "fi-FI" | "fil-PH" | "fr-CA" | "fr-FR" | "fr-BE" | "gu-IN" | "he-IL" | "hi-IN" | "hu-HU" | "id-ID" | "is-IS" | "it-IT" | "ja-JP" | "kn-IN" | "ko-KR" | "lv-LV" | "ml-IN" | "mr-IN" | "ms-MY" | "nb-NO" | "nl-BE" | "nl-NL" | "pa-IN" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sk-SK" | "sr-RS" | "sv-SE" | "ta-IN" | "te-IN" | "th-TH" | "tr-TR" | "uk-UA" | "vi-VN" | "yue-HK" | "zh-CN" | "zh-HK" | "zh-TW";
|
|
204
209
|
type SayVoice = "man" | "woman" | "alice" | "Google.af-ZA-Standard-A" | "Google.am-ET-Standard-A" | "Google.am-ET-Standard-B" | "Google.am-ET-Wavenet-A" | "Google.am-ET-Wavenet-B" | "Google.ar-XA-Chirp3-HD-Aoede" | "Google.ar-XA-Chirp3-HD-Charon" | "Google.ar-XA-Chirp3-HD-Fenrir" | "Google.ar-XA-Chirp3-HD-Kore" | "Google.ar-XA-Chirp3-HD-Leda" | "Google.ar-XA-Chirp3-HD-Orus" | "Google.ar-XA-Chirp3-HD-Puck" | "Google.ar-XA-Chirp3-HD-Zephyr" | "Google.ar-XA-Standard-A" | "Google.ar-XA-Standard-B" | "Google.ar-XA-Standard-C" | "Google.ar-XA-Standard-D" | "Google.ar-XA-Wavenet-A" | "Google.ar-XA-Wavenet-B" | "Google.ar-XA-Wavenet-C" | "Google.ar-XA-Wavenet-D" | "Google.bg-BG-Standard-A" | "Google.bg-BG-Standard-B" | "Google.bn-IN-Chirp3-HD-Aoede" | "Google.bn-IN-Chirp3-HD-Charon" | "Google.bn-IN-Chirp3-HD-Fenrir" | "Google.bn-IN-Chirp3-HD-Kore" | "Google.bn-IN-Chirp3-HD-Leda" | "Google.bn-IN-Chirp3-HD-Orus" | "Google.bn-IN-Chirp3-HD-Puck" | "Google.bn-IN-Chirp3-HD-Zephyr" | "Google.bn-IN-Standard-A" | "Google.bn-IN-Standard-B" | "Google.bn-IN-Standard-C" | "Google.bn-IN-Standard-D" | "Google.bn-IN-Wavenet-A" | "Google.bn-IN-Wavenet-B" | "Google.bn-IN-Wavenet-C" | "Google.bn-IN-Wavenet-D" | "Google.ca-ES-Standard-A" | "Google.ca-ES-Standard-B" | "Google.cmn-CN-Chirp3-HD-Aoede" | "Google.cmn-CN-Chirp3-HD-Charon" | "Google.cmn-CN-Chirp3-HD-Fenrir" | "Google.cmn-CN-Chirp3-HD-Kore" | "Google.cmn-CN-Chirp3-HD-Leda" | "Google.cmn-CN-Chirp3-HD-Orus" | "Google.cmn-CN-Chirp3-HD-Puck" | "Google.cmn-CN-Chirp3-HD-Zephyr" | "Google.cmn-CN-Standard-A" | "Google.cmn-CN-Standard-B" | "Google.cmn-CN-Standard-C" | "Google.cmn-CN-Standard-D" | "Google.cmn-CN-Wavenet-A" | "Google.cmn-CN-Wavenet-B" | "Google.cmn-CN-Wavenet-C" | "Google.cmn-CN-Wavenet-D" | "Google.cmn-TW-Standard-A" | "Google.cmn-TW-Standard-B" | "Google.cmn-TW-Standard-C" | "Google.cmn-TW-Wavenet-A" | "Google.cmn-TW-Wavenet-B" | "Google.cmn-TW-Wavenet-C" | "Google.cs-CZ-Standard-A" | "Google.cs-CZ-Standard-B" | "Google.cs-CZ-Wavenet-A" | "Google.cs-CZ-Wavenet-B" | "Google.da-DK-Neural2-D" | "Google.da-DK-Neural2-F" | "Google.da-DK-Standard-A" | "Google.da-DK-Standard-C" | "Google.da-DK-Standard-D" | "Google.da-DK-Standard-E" | "Google.da-DK-Standard-F" | "Google.da-DK-Standard-G" | "Google.da-DK-Wavenet-A" | "Google.da-DK-Wavenet-C" | "Google.da-DK-Wavenet-D" | "Google.da-DK-Wavenet-E" | "Google.da-DK-Wavenet-F" | "Google.da-DK-Wavenet-G" | "Google.de-DE-Chirp3-HD-Aoede" | "Google.de-DE-Chirp3-HD-Charon" | "Google.de-DE-Chirp3-HD-Fenrir" | "Google.de-DE-Chirp3-HD-Kore" | "Google.de-DE-Chirp3-HD-Leda" | "Google.de-DE-Chirp3-HD-Orus" | "Google.de-DE-Chirp3-HD-Puck" | "Google.de-DE-Chirp3-HD-Zephyr" | "Google.de-DE-Neural2-A" | "Google.de-DE-Neural2-B" | "Google.de-DE-Neural2-C" | "Google.de-DE-Neural2-D" | "Google.de-DE-Neural2-F" | "Google.de-DE-Neural2-G" | "Google.de-DE-Neural2-H" | "Google.de-DE-Standard-A" | "Google.de-DE-Standard-B" | "Google.de-DE-Standard-C" | "Google.de-DE-Standard-D" | "Google.de-DE-Standard-E" | "Google.de-DE-Standard-F" | "Google.de-DE-Standard-G" | "Google.de-DE-Standard-H" | "Google.de-DE-Wavenet-A" | "Google.de-DE-Wavenet-B" | "Google.de-DE-Wavenet-C" | "Google.de-DE-Wavenet-D" | "Google.de-DE-Wavenet-E" | "Google.de-DE-Wavenet-F" | "Google.de-DE-Wavenet-G" | "Google.de-DE-Wavenet-H" | "Google.el-GR-Standard-A" | "Google.el-GR-Standard-B" | "Google.el-GR-Wavenet-A" | "Google.el-GR-Wavenet-B" | "Google.en-AU-Chirp3-HD-Aoede" | "Google.en-AU-Chirp3-HD-Charon" | "Google.en-AU-Chirp3-HD-Fenrir" | "Google.en-AU-Chirp3-HD-Kore" | "Google.en-AU-Chirp3-HD-Leda" | "Google.en-AU-Chirp3-HD-Orus" | "Google.en-AU-Chirp3-HD-Puck" | "Google.en-AU-Chirp3-HD-Zephyr" | "Google.en-AU-Neural2-A" | "Google.en-AU-Neural2-B" | "Google.en-AU-Neural2-C" | "Google.en-AU-Neural2-D" | "Google.en-AU-Standard-A" | "Google.en-AU-Standard-B" | "Google.en-AU-Standard-C" | "Google.en-AU-Standard-D" | "Google.en-AU-Wavenet-A" | "Google.en-AU-Wavenet-B" | "Google.en-AU-Wavenet-C" | "Google.en-AU-Wavenet-D" | "Google.en-GB-Chirp3-HD-Aoede" | "Google.en-GB-Chirp3-HD-Charon" | "Google.en-GB-Chirp3-HD-Fenrir" | "Google.en-GB-Chirp3-HD-Kore" | "Google.en-GB-Chirp3-HD-Leda" | "Google.en-GB-Chirp3-HD-Orus" | "Google.en-GB-Chirp3-HD-Puck" | "Google.en-GB-Chirp3-HD-Zephyr" | "Google.en-GB-Neural2-A" | "Google.en-GB-Neural2-B" | "Google.en-GB-Neural2-C" | "Google.en-GB-Neural2-D" | "Google.en-GB-Neural2-F" | "Google.en-GB-Neural2-N" | "Google.en-GB-Neural2-O" | "Google.en-GB-Standard-A" | "Google.en-GB-Standard-B" | "Google.en-GB-Standard-C" | "Google.en-GB-Standard-D" | "Google.en-GB-Standard-F" | "Google.en-GB-Standard-N" | "Google.en-GB-Standard-O" | "Google.en-GB-Wavenet-A" | "Google.en-GB-Wavenet-B" | "Google.en-GB-Wavenet-C" | "Google.en-GB-Wavenet-D" | "Google.en-GB-Wavenet-F" | "Google.en-GB-Wavenet-N" | "Google.en-GB-Wavenet-O" | "Google.en-IN-Chirp3-HD-Aoede" | "Google.en-IN-Chirp3-HD-Charon" | "Google.en-IN-Chirp3-HD-Fenrir" | "Google.en-IN-Chirp3-HD-Kore" | "Google.en-IN-Chirp3-HD-Leda" | "Google.en-IN-Chirp3-HD-Orus" | "Google.en-IN-Chirp3-HD-Puck" | "Google.en-IN-Chirp3-HD-Zephyr" | "Google.en-IN-Neural2-A" | "Google.en-IN-Neural2-B" | "Google.en-IN-Neural2-C" | "Google.en-IN-Neural2-D" | "Google.en-IN-Standard-A" | "Google.en-IN-Standard-B" | "Google.en-IN-Standard-C" | "Google.en-IN-Standard-D" | "Google.en-IN-Standard-E" | "Google.en-IN-Standard-F" | "Google.en-IN-Wavenet-A" | "Google.en-IN-Wavenet-B" | "Google.en-IN-Wavenet-C" | "Google.en-IN-Wavenet-D" | "Google.en-IN-Wavenet-E" | "Google.en-IN-Wavenet-F" | "Google.en-US-Chirp3-HD-Aoede" | "Google.en-US-Chirp3-HD-Charon" | "Google.en-US-Chirp3-HD-Fenrir" | "Google.en-US-Chirp3-HD-Kore" | "Google.en-US-Chirp3-HD-Leda" | "Google.en-US-Chirp3-HD-Orus" | "Google.en-US-Chirp3-HD-Puck" | "Google.en-US-Chirp3-HD-Zephyr" | "Google.en-US-Neural2-A" | "Google.en-US-Neural2-C" | "Google.en-US-Neural2-D" | "Google.en-US-Neural2-E" | "Google.en-US-Neural2-F" | "Google.en-US-Neural2-G" | "Google.en-US-Neural2-H" | "Google.en-US-Neural2-I" | "Google.en-US-Neural2-J" | "Google.en-US-Standard-A" | "Google.en-US-Standard-B" | "Google.en-US-Standard-C" | "Google.en-US-Standard-D" | "Google.en-US-Standard-E" | "Google.en-US-Standard-F" | "Google.en-US-Standard-G" | "Google.en-US-Standard-H" | "Google.en-US-Standard-I" | "Google.en-US-Standard-J" | "Google.en-US-Wavenet-A" | "Google.en-US-Wavenet-B" | "Google.en-US-Wavenet-C" | "Google.en-US-Wavenet-D" | "Google.en-US-Wavenet-E" | "Google.en-US-Wavenet-F" | "Google.en-US-Wavenet-G" | "Google.en-US-Wavenet-H" | "Google.en-US-Wavenet-I" | "Google.en-US-Wavenet-J" | "Google.es-ES-Chirp3-HD-Aoede" | "Google.es-ES-Chirp3-HD-Charon" | "Google.es-ES-Chirp3-HD-Fenrir" | "Google.es-ES-Chirp3-HD-Kore" | "Google.es-ES-Chirp3-HD-Leda" | "Google.es-ES-Chirp3-HD-Orus" | "Google.es-ES-Chirp3-HD-Puck" | "Google.es-ES-Chirp3-HD-Zephyr" | "Google.es-ES-Neural2-A" | "Google.es-ES-Neural2-B" | "Google.es-ES-Neural2-C" | "Google.es-ES-Neural2-D" | "Google.es-ES-Neural2-E" | "Google.es-ES-Neural2-F" | "Google.es-ES-Neural2-G" | "Google.es-ES-Neural2-H" | "Google.es-ES-Standard-A" | "Google.es-ES-Standard-B" | "Google.es-ES-Standard-C" | "Google.es-ES-Standard-D" | "Google.es-ES-Standard-E" | "Google.es-ES-Standard-F" | "Google.es-ES-Standard-G" | "Google.es-ES-Standard-H" | "Google.es-ES-Wavenet-B" | "Google.es-ES-Wavenet-C" | "Google.es-ES-Wavenet-D" | "Google.es-ES-Wavenet-E" | "Google.es-ES-Wavenet-F" | "Google.es-ES-Wavenet-G" | "Google.es-ES-Wavenet-H" | "Google.es-US-Chirp3-HD-Aoede" | "Google.es-US-Chirp3-HD-Charon" | "Google.es-US-Chirp3-HD-Fenrir" | "Google.es-US-Chirp3-HD-Kore" | "Google.es-US-Chirp3-HD-Leda" | "Google.es-US-Chirp3-HD-Orus" | "Google.es-US-Chirp3-HD-Puck" | "Google.es-US-Chirp3-HD-Zephyr" | "Google.es-US-Neural2-A" | "Google.es-US-Neural2-B" | "Google.es-US-Neural2-C" | "Google.es-US-Standard-A" | "Google.es-US-Standard-B" | "Google.es-US-Standard-C" | "Google.es-US-Wavenet-A" | "Google.es-US-Wavenet-B" | "Google.es-US-Wavenet-C" | "Google.eu-ES-Standard-A" | "Google.eu-ES-Standard-B" | "Google.fi-FI-Standard-A" | "Google.fi-FI-Standard-B" | "Google.fi-FI-Wavenet-A" | "Google.fi-FI-Wavenet-B" | "Google.fil-ph-Neural2-A" | "Google.fil-ph-Neural2-D" | "Google.fil-PH-Standard-A" | "Google.fil-PH-Standard-B" | "Google.fil-PH-Standard-C" | "Google.fil-PH-Standard-D" | "Google.fil-PH-Wavenet-A" | "Google.fil-PH-Wavenet-B" | "Google.fil-PH-Wavenet-C" | "Google.fil-PH-Wavenet-D" | "Google.fr-CA-Chirp3-HD-Aoede" | "Google.fr-CA-Chirp3-HD-Charon" | "Google.fr-CA-Chirp3-HD-Fenrir" | "Google.fr-CA-Chirp3-HD-Kore" | "Google.fr-CA-Chirp3-HD-Leda" | "Google.fr-CA-Chirp3-HD-Orus" | "Google.fr-CA-Chirp3-HD-Puck" | "Google.fr-CA-Chirp3-HD-Zephyr" | "Google.fr-CA-Neural2-A" | "Google.fr-CA-Neural2-B" | "Google.fr-CA-Neural2-C" | "Google.fr-CA-Neural2-D" | "Google.fr-CA-Standard-A" | "Google.fr-CA-Standard-B" | "Google.fr-CA-Standard-C" | "Google.fr-CA-Standard-D" | "Google.fr-CA-Wavenet-A" | "Google.fr-CA-Wavenet-B" | "Google.fr-CA-Wavenet-C" | "Google.fr-CA-Wavenet-D" | "Google.fr-FR-Chirp3-HD-Aoede" | "Google.fr-FR-Chirp3-HD-Charon" | "Google.fr-FR-Chirp3-HD-Fenrir" | "Google.fr-FR-Chirp3-HD-Kore" | "Google.fr-FR-Chirp3-HD-Leda" | "Google.fr-FR-Chirp3-HD-Orus" | "Google.fr-FR-Chirp3-HD-Puck" | "Google.fr-FR-Chirp3-HD-Zephyr" | "Google.fr-FR-Neural2-A" | "Google.fr-FR-Neural2-B" | "Google.fr-FR-Neural2-C" | "Google.fr-FR-Neural2-D" | "Google.fr-FR-Neural2-E" | "Google.fr-FR-Neural2-F" | "Google.fr-FR-Neural2-G" | "Google.fr-FR-Standard-A" | "Google.fr-FR-Standard-B" | "Google.fr-FR-Standard-C" | "Google.fr-FR-Standard-D" | "Google.fr-FR-Standard-E" | "Google.fr-FR-Standard-F" | "Google.fr-FR-Standard-G" | "Google.fr-FR-Wavenet-A" | "Google.fr-FR-Wavenet-B" | "Google.fr-FR-Wavenet-C" | "Google.fr-FR-Wavenet-D" | "Google.fr-FR-Wavenet-E" | "Google.fr-FR-Wavenet-F" | "Google.fr-FR-Wavenet-G" | "Google.gl-ES-Standard-A" | "Google.gl-ES-Standard-B" | "Google.gu-IN-Chirp3-HD-Aoede" | "Google.gu-IN-Chirp3-HD-Charon" | "Google.gu-IN-Chirp3-HD-Fenrir" | "Google.gu-IN-Chirp3-HD-Kore" | "Google.gu-IN-Chirp3-HD-Leda" | "Google.gu-IN-Chirp3-HD-Orus" | "Google.gu-IN-Chirp3-HD-Puck" | "Google.gu-IN-Chirp3-HD-Zephyr" | "Google.gu-IN-Standard-A" | "Google.gu-IN-Standard-B" | "Google.gu-IN-Standard-C" | "Google.gu-IN-Standard-D" | "Google.gu-IN-Wavenet-A" | "Google.gu-IN-Wavenet-B" | "Google.gu-IN-Wavenet-C" | "Google.gu-IN-Wavenet-D" | "Google.he-IL-Standard-A" | "Google.he-IL-Standard-B" | "Google.he-IL-Standard-C" | "Google.he-IL-Standard-D" | "Google.he-IL-Wavenet-A" | "Google.he-IL-Wavenet-B" | "Google.he-IL-Wavenet-C" | "Google.he-IL-Wavenet-D" | "Google.hi-IN-Chirp3-HD-Aoede" | "Google.hi-IN-Chirp3-HD-Charon" | "Google.hi-IN-Chirp3-HD-Fenrir" | "Google.hi-IN-Chirp3-HD-Kore" | "Google.hi-IN-Chirp3-HD-Leda" | "Google.hi-IN-Chirp3-HD-Orus" | "Google.hi-IN-Chirp3-HD-Puck" | "Google.hi-IN-Chirp3-HD-Zephyr" | "Google.hi-IN-Neural2-A" | "Google.hi-IN-Neural2-B" | "Google.hi-IN-Neural2-C" | "Google.hi-IN-Neural2-D" | "Google.hi-IN-Standard-A" | "Google.hi-IN-Standard-B" | "Google.hi-IN-Standard-C" | "Google.hi-IN-Standard-D" | "Google.hi-IN-Standard-E" | "Google.hi-IN-Standard-F" | "Google.hi-IN-Wavenet-A" | "Google.hi-IN-Wavenet-B" | "Google.hi-IN-Wavenet-C" | "Google.hi-IN-Wavenet-D" | "Google.hi-IN-Wavenet-E" | "Google.hi-IN-Wavenet-F" | "Google.hu-HU-Standard-A" | "Google.hu-HU-Standard-B" | "Google.hu-HU-Wavenet-A" | "Google.id-ID-Chirp3-HD-Aoede" | "Google.id-ID-Chirp3-HD-Charon" | "Google.id-ID-Chirp3-HD-Fenrir" | "Google.id-ID-Chirp3-HD-Kore" | "Google.id-ID-Chirp3-HD-Leda" | "Google.id-ID-Chirp3-HD-Orus" | "Google.id-ID-Chirp3-HD-Puck" | "Google.id-ID-Chirp3-HD-Zephyr" | "Google.id-ID-Standard-A" | "Google.id-ID-Standard-B" | "Google.id-ID-Standard-C" | "Google.id-ID-Standard-D" | "Google.id-ID-Wavenet-A" | "Google.id-ID-Wavenet-B" | "Google.id-ID-Wavenet-C" | "Google.id-ID-Wavenet-D" | "Google.is-IS-Standard-A" | "Google.is-IS-Standard-B" | "Google.it-IT-Chirp3-HD-Aoede" | "Google.it-IT-Chirp3-HD-Charon" | "Google.it-IT-Chirp3-HD-Fenrir" | "Google.it-IT-Chirp3-HD-Kore" | "Google.it-IT-Chirp3-HD-Leda" | "Google.it-IT-Chirp3-HD-Orus" | "Google.it-IT-Chirp3-HD-Puck" | "Google.it-IT-Chirp3-HD-Zephyr" | "Google.it-IT-Neural2-A" | "Google.it-IT-Neural2-C" | "Google.it-IT-Neural2-F" | "Google.it-IT-Standard-A" | "Google.it-IT-Standard-B" | "Google.it-IT-Standard-C" | "Google.it-IT-Standard-D" | "Google.it-IT-Standard-E" | "Google.it-IT-Standard-F" | "Google.it-IT-Wavenet-A" | "Google.it-IT-Wavenet-B" | "Google.it-IT-Wavenet-C" | "Google.it-IT-Wavenet-D" | "Google.it-IT-Wavenet-E" | "Google.it-IT-Wavenet-F" | "Google.ja-JP-Chirp3-HD-Aoede" | "Google.ja-JP-Chirp3-HD-Charon" | "Google.ja-JP-Chirp3-HD-Fenrir" | "Google.ja-JP-Chirp3-HD-Kore" | "Google.ja-JP-Chirp3-HD-Leda" | "Google.ja-JP-Chirp3-HD-Orus" | "Google.ja-JP-Chirp3-HD-Puck" | "Google.ja-JP-Chirp3-HD-Zephyr" | "Google.ja-JP-Neural2-B" | "Google.ja-JP-Neural2-C" | "Google.ja-JP-Neural2-D" | "Google.ja-JP-Standard-A" | "Google.ja-JP-Standard-B" | "Google.ja-JP-Standard-C" | "Google.ja-JP-Standard-D" | "Google.ja-JP-Wavenet-A" | "Google.ja-JP-Wavenet-B" | "Google.ja-JP-Wavenet-C" | "Google.ja-JP-Wavenet-D" | "Google.kn-IN-Chirp3-HD-Aoede" | "Google.kn-IN-Chirp3-HD-Charon" | "Google.kn-IN-Chirp3-HD-Fenrir" | "Google.kn-IN-Chirp3-HD-Kore" | "Google.kn-IN-Chirp3-HD-Leda" | "Google.kn-IN-Chirp3-HD-Orus" | "Google.kn-IN-Chirp3-HD-Puck" | "Google.kn-IN-Chirp3-HD-Zephyr" | "Google.kn-IN-Standard-A" | "Google.kn-IN-Standard-B" | "Google.kn-IN-Standard-C" | "Google.kn-IN-Standard-D" | "Google.kn-IN-Wavenet-A" | "Google.kn-IN-Wavenet-B" | "Google.kn-IN-Wavenet-C" | "Google.kn-IN-Wavenet-D" | "Google.ko-KR-Chirp3-HD-Aoede" | "Google.ko-KR-Chirp3-HD-Charon" | "Google.ko-KR-Chirp3-HD-Fenrir" | "Google.ko-KR-Chirp3-HD-Kore" | "Google.ko-KR-Chirp3-HD-Leda" | "Google.ko-KR-Chirp3-HD-Orus" | "Google.ko-KR-Chirp3-HD-Puck" | "Google.ko-KR-Chirp3-HD-Zephyr" | "Google.ko-KR-Neural2-A" | "Google.ko-KR-Neural2-B" | "Google.ko-KR-Neural2-C" | "Google.ko-KR-Standard-A" | "Google.ko-KR-Standard-B" | "Google.ko-KR-Standard-C" | "Google.ko-KR-Standard-D" | "Google.ko-KR-Wavenet-A" | "Google.ko-KR-Wavenet-B" | "Google.ko-KR-Wavenet-C" | "Google.ko-KR-Wavenet-D" | "Google.lt-LT-Standard-A" | "Google.lt-LT-Standard-B" | "Google.lv-LV-Standard-A" | "Google.lv-LV-Standard-B" | "Google.ml-IN-Chirp3-HD-Aoede" | "Google.ml-IN-Chirp3-HD-Charon" | "Google.ml-IN-Chirp3-HD-Fenrir" | "Google.ml-IN-Chirp3-HD-Kore" | "Google.ml-IN-Chirp3-HD-Leda" | "Google.ml-IN-Chirp3-HD-Orus" | "Google.ml-IN-Chirp3-HD-Puck" | "Google.ml-IN-Chirp3-HD-Zephyr" | "Google.ml-IN-Standard-A" | "Google.ml-IN-Standard-B" | "Google.ml-IN-Standard-C" | "Google.ml-IN-Standard-D" | "Google.ml-IN-Wavenet-A" | "Google.ml-IN-Wavenet-B" | "Google.ml-IN-Wavenet-C" | "Google.ml-IN-Wavenet-D" | "Google.mr-IN-Chirp3-HD-Aoede" | "Google.mr-IN-Chirp3-HD-Charon" | "Google.mr-IN-Chirp3-HD-Fenrir" | "Google.mr-IN-Chirp3-HD-Kore" | "Google.mr-IN-Chirp3-HD-Leda" | "Google.mr-IN-Chirp3-HD-Orus" | "Google.mr-IN-Chirp3-HD-Puck" | "Google.mr-IN-Chirp3-HD-Zephyr" | "Google.mr-IN-Standard-A" | "Google.mr-IN-Standard-B" | "Google.mr-IN-Standard-C" | "Google.mr-IN-Wavenet-A" | "Google.mr-IN-Wavenet-B" | "Google.mr-IN-Wavenet-C" | "Google.ms-MY-Standard-A" | "Google.ms-MY-Standard-B" | "Google.ms-MY-Standard-C" | "Google.ms-MY-Standard-D" | "Google.ms-MY-Wavenet-A" | "Google.ms-MY-Wavenet-B" | "Google.ms-MY-Wavenet-C" | "Google.ms-MY-Wavenet-D" | "Google.nb-NO-Standard-A" | "Google.nb-NO-Standard-B" | "Google.nb-NO-Standard-C" | "Google.nb-NO-Standard-D" | "Google.nb-NO-Standard-E" | "Google.nb-NO-Standard-F" | "Google.nb-NO-Standard-G" | "Google.nb-NO-Wavenet-A" | "Google.nb-NO-Wavenet-B" | "Google.nb-NO-Wavenet-C" | "Google.nb-NO-Wavenet-D" | "Google.nb-NO-Wavenet-E" | "Google.nb-NO-Wavenet-F" | "Google.nb-NO-Wavenet-G" | "Google.nl-BE-Standard-A" | "Google.nl-BE-Standard-B" | "Google.nl-BE-Standard-C" | "Google.nl-BE-Standard-D" | "Google.nl-BE-Wavenet-A" | "Google.nl-BE-Wavenet-B" | "Google.nl-BE-Wavenet-C" | "Google.nl-BE-Wavenet-D" | "Google.nl-NL-Chirp3-HD-Aoede" | "Google.nl-NL-Chirp3-HD-Charon" | "Google.nl-NL-Chirp3-HD-Fenrir" | "Google.nl-NL-Chirp3-HD-Kore" | "Google.nl-NL-Chirp3-HD-Leda" | "Google.nl-NL-Chirp3-HD-Orus" | "Google.nl-NL-Chirp3-HD-Puck" | "Google.nl-NL-Chirp3-HD-Zephyr" | "Google.nl-NL-Standard-A" | "Google.nl-NL-Standard-B" | "Google.nl-NL-Standard-C" | "Google.nl-NL-Standard-D" | "Google.nl-NL-Standard-E" | "Google.nl-NL-Standard-F" | "Google.nl-NL-Standard-G" | "Google.nl-NL-Wavenet-A" | "Google.nl-NL-Wavenet-B" | "Google.nl-NL-Wavenet-C" | "Google.nl-NL-Wavenet-D" | "Google.nl-NL-Wavenet-E" | "Google.nl-NL-Wavenet-F" | "Google.nl-NL-Wavenet-G" | "Google.pa-IN-Standard-A" | "Google.pa-IN-Standard-B" | "Google.pa-IN-Standard-C" | "Google.pa-IN-Standard-D" | "Google.pa-IN-Wavenet-A" | "Google.pa-IN-Wavenet-B" | "Google.pa-IN-Wavenet-C" | "Google.pa-IN-Wavenet-D" | "Google.pl-PL-Chirp3-HD-Aoede" | "Google.pl-PL-Chirp3-HD-Charon" | "Google.pl-PL-Chirp3-HD-Fenrir" | "Google.pl-PL-Chirp3-HD-Kore" | "Google.pl-PL-Chirp3-HD-Leda" | "Google.pl-PL-Chirp3-HD-Orus" | "Google.pl-PL-Chirp3-HD-Puck" | "Google.pl-PL-Chirp3-HD-Zephyr" | "Google.pl-PL-Standard-A" | "Google.pl-PL-Standard-B" | "Google.pl-PL-Standard-C" | "Google.pl-PL-Standard-D" | "Google.pl-PL-Standard-E" | "Google.pl-PL-Standard-F" | "Google.pl-PL-Standard-G" | "Google.pl-PL-Wavenet-A" | "Google.pl-PL-Wavenet-B" | "Google.pl-PL-Wavenet-C" | "Google.pl-PL-Wavenet-D" | "Google.pl-PL-Wavenet-E" | "Google.pl-PL-Wavenet-F" | "Google.pl-PL-Wavenet-G" | "Google.pt-BR-Chirp3-HD-Aoede" | "Google.pt-BR-Chirp3-HD-Charon" | "Google.pt-BR-Chirp3-HD-Fenrir" | "Google.pt-BR-Chirp3-HD-Kore" | "Google.pt-BR-Chirp3-HD-Leda" | "Google.pt-BR-Chirp3-HD-Orus" | "Google.pt-BR-Chirp3-HD-Puck" | "Google.pt-BR-Chirp3-HD-Zephyr" | "Google.pt-BR-Neural2-A" | "Google.pt-BR-Neural2-B" | "Google.pt-BR-Neural2-C" | "Google.pt-BR-Standard-A" | "Google.pt-BR-Standard-B" | "Google.pt-BR-Standard-C" | "Google.pt-BR-Standard-D" | "Google.pt-BR-Standard-E" | "Google.pt-BR-Wavenet-A" | "Google.pt-BR-Wavenet-B" | "Google.pt-BR-Wavenet-C" | "Google.pt-BR-Wavenet-D" | "Google.pt-BR-Wavenet-E" | "Google.pt-PT-Standard-A" | "Google.pt-PT-Standard-B" | "Google.pt-PT-Standard-C" | "Google.pt-PT-Standard-D" | "Google.pt-PT-Standard-E" | "Google.pt-PT-Standard-F" | "Google.pt-PT-Wavenet-A" | "Google.pt-PT-Wavenet-B" | "Google.pt-PT-Wavenet-C" | "Google.pt-PT-Wavenet-D" | "Google.pt-PT-Wavenet-E" | "Google.pt-PT-Wavenet-F" | "Google.ro-RO-Standard-A" | "Google.ro-RO-Standard-B" | "Google.ro-RO-Wavenet-A" | "Google.ro-RO-Wavenet-B" | "Google.ru-RU-Chirp3-HD-Aoede" | "Google.ru-RU-Chirp3-HD-Charon" | "Google.ru-RU-Chirp3-HD-Fenrir" | "Google.ru-RU-Chirp3-HD-Kore" | "Google.ru-RU-Chirp3-HD-Leda" | "Google.ru-RU-Chirp3-HD-Orus" | "Google.ru-RU-Chirp3-HD-Puck" | "Google.ru-RU-Chirp3-HD-Zephyr" | "Google.ru-RU-Standard-A" | "Google.ru-RU-Standard-B" | "Google.ru-RU-Standard-C" | "Google.ru-RU-Standard-D" | "Google.ru-RU-Standard-E" | "Google.ru-RU-Wavenet-A" | "Google.ru-RU-Wavenet-B" | "Google.ru-RU-Wavenet-C" | "Google.ru-RU-Wavenet-D" | "Google.ru-RU-Wavenet-E" | "Google.sk-SK-Standard-A" | "Google.sk-SK-Standard-B" | "Google.sk-SK-Wavenet-A" | "Google.sk-SK-Wavenet-B" | "Google.sr-RS-Standard-A" | "Google.sv-SE-Standard-A" | "Google.sv-SE-Standard-B" | "Google.sv-SE-Standard-C" | "Google.sv-SE-Standard-D" | "Google.sv-SE-Standard-E" | "Google.sv-SE-Standard-F" | "Google.sv-SE-Standard-G" | "Google.sv-SE-Wavenet-A" | "Google.sv-SE-Wavenet-B" | "Google.sv-SE-Wavenet-C" | "Google.sv-SE-Wavenet-D" | "Google.sv-SE-Wavenet-E" | "Google.sv-SE-Wavenet-F" | "Google.sv-SE-Wavenet-G" | "Google.ta-IN-Chirp3-HD-Aoede" | "Google.ta-IN-Chirp3-HD-Charon" | "Google.ta-IN-Chirp3-HD-Fenrir" | "Google.ta-IN-Chirp3-HD-Kore" | "Google.ta-IN-Chirp3-HD-Leda" | "Google.ta-IN-Chirp3-HD-Orus" | "Google.ta-IN-Chirp3-HD-Puck" | "Google.ta-IN-Chirp3-HD-Zephyr" | "Google.ta-IN-Standard-A" | "Google.ta-IN-Standard-B" | "Google.ta-IN-Standard-C" | "Google.ta-IN-Standard-D" | "Google.ta-IN-Wavenet-A" | "Google.ta-IN-Wavenet-B" | "Google.ta-IN-Wavenet-C" | "Google.ta-IN-Wavenet-D" | "Google.te-IN-Chirp3-HD-Aoede" | "Google.te-IN-Chirp3-HD-Charon" | "Google.te-IN-Chirp3-HD-Fenrir" | "Google.te-IN-Chirp3-HD-Kore" | "Google.te-IN-Chirp3-HD-Leda" | "Google.te-IN-Chirp3-HD-Orus" | "Google.te-IN-Chirp3-HD-Puck" | "Google.te-IN-Chirp3-HD-Zephyr" | "Google.te-IN-Standard-A" | "Google.te-IN-Standard-B" | "Google.te-IN-Standard-C" | "Google.te-IN-Standard-D" | "Google.th-TH-Chirp3-HD-Aoede" | "Google.th-TH-Chirp3-HD-Charon" | "Google.th-TH-Chirp3-HD-Fenrir" | "Google.th-TH-Chirp3-HD-Kore" | "Google.th-TH-Chirp3-HD-Leda" | "Google.th-TH-Chirp3-HD-Orus" | "Google.th-TH-Chirp3-HD-Puck" | "Google.th-TH-Chirp3-HD-Zephyr" | "Google.th-TH-Neural2-C" | "Google.th-TH-Standard-A" | "Google.tr-TR-Chirp3-HD-Aoede" | "Google.tr-TR-Chirp3-HD-Charon" | "Google.tr-TR-Chirp3-HD-Fenrir" | "Google.tr-TR-Chirp3-HD-Kore" | "Google.tr-TR-Chirp3-HD-Leda" | "Google.tr-TR-Chirp3-HD-Orus" | "Google.tr-TR-Chirp3-HD-Puck" | "Google.tr-TR-Chirp3-HD-Zephyr" | "Google.tr-TR-Standard-A" | "Google.tr-TR-Standard-B" | "Google.tr-TR-Standard-C" | "Google.tr-TR-Standard-D" | "Google.tr-TR-Standard-E" | "Google.tr-TR-Wavenet-A" | "Google.tr-TR-Wavenet-B" | "Google.tr-TR-Wavenet-C" | "Google.tr-TR-Wavenet-D" | "Google.tr-TR-Wavenet-E" | "Google.uk-UA-Standard-A" | "Google.uk-UA-Wavenet-A" | "Google.vi-VN-Chirp3-HD-Aoede" | "Google.vi-VN-Chirp3-HD-Charon" | "Google.vi-VN-Chirp3-HD-Fenrir" | "Google.vi-VN-Chirp3-HD-Kore" | "Google.vi-VN-Chirp3-HD-Leda" | "Google.vi-VN-Chirp3-HD-Orus" | "Google.vi-VN-Chirp3-HD-Puck" | "Google.vi-VN-Chirp3-HD-Zephyr" | "Google.vi-VN-Neural2-A" | "Google.vi-VN-Neural2-D" | "Google.vi-VN-Standard-A" | "Google.vi-VN-Standard-B" | "Google.vi-VN-Standard-C" | "Google.vi-VN-Standard-D" | "Google.vi-VN-Wavenet-A" | "Google.vi-VN-Wavenet-B" | "Google.vi-VN-Wavenet-C" | "Google.vi-VN-Wavenet-D" | "Google.yue-HK-Standard-A" | "Google.yue-HK-Standard-B" | "Google.yue-HK-Standard-C" | "Google.yue-HK-Standard-D" | "Polly.Aditi" | "Polly.Amy" | "Polly.Astrid" | "Polly.Bianca" | "Polly.Brian" | "Polly.Camila" | "Polly.Carla" | "Polly.Carmen" | "Polly.Celine" | "Polly.Chantal" | "Polly.Conchita" | "Polly.Cristiano" | "Polly.Dora" | "Polly.Emma" | "Polly.Enrique" | "Polly.Ewa" | "Polly.Filiz" | "Polly.Geraint" | "Polly.Giorgio" | "Polly.Gwyneth" | "Polly.Hans" | "Polly.Ines" | "Polly.Ivy" | "Polly.Jacek" | "Polly.Jan" | "Polly.Joanna" | "Polly.Joey" | "Polly.Justin" | "Polly.Karl" | "Polly.Kendra" | "Polly.Kevin" | "Polly.Kimberly" | "Polly.Lea" | "Polly.Liv" | "Polly.Lotte" | "Polly.Lucia" | "Polly.Lupe" | "Polly.Mads" | "Polly.Maja" | "Polly.Marlene" | "Polly.Mathieu" | "Polly.Matthew" | "Polly.Maxim" | "Polly.Mia" | "Polly.Miguel" | "Polly.Mizuki" | "Polly.Naja" | "Polly.Nicole" | "Polly.Penelope" | "Polly.Raveena" | "Polly.Ricardo" | "Polly.Ruben" | "Polly.Russell" | "Polly.Salli" | "Polly.Seoyeon" | "Polly.Takumi" | "Polly.Tatyana" | "Polly.Vicki" | "Polly.Vitoria" | "Polly.Zeina" | "Polly.Zhiyu" | "Polly.Adriano-Neural" | "Polly.Amy-Neural" | "Polly.Andres-Neural" | "Polly.Aria-Neural" | "Polly.Arlet-Neural" | "Polly.Arthur-Neural" | "Polly.Ayanda-Neural" | "Polly.Bianca-Neural" | "Polly.Brian-Neural" | "Polly.Burcu-Neural" | "Polly.Camila-Neural" | "Polly.Daniel-Neural" | "Polly.Danielle-Neural" | "Polly.Elin-Neural" | "Polly.Emma-Neural" | "Polly.Gabrielle-Neural" | "Polly.Gregory-Neural" | "Polly.Hala-Neural" | "Polly.Hannah-Neural" | "Polly.Hiujin-Neural" | "Polly.Ida-Neural" | "Polly.Ines-Neural" | "Polly.Isabelle-Neural" | "Polly.Ivy-Neural" | "Polly.Joanna-Neural" | "Polly.Joey-Neural" | "Polly.Justin-Neural" | "Polly.Kajal-Neural" | "Polly.Kazuha-Neural" | "Polly.Kendra-Neural" | "Polly.Kevin-Neural" | "Polly.Kimberly-Neural" | "Polly.Laura-Neural" | "Polly.Lea-Neural" | "Polly.Liam-Neural" | "Polly.Lisa-Neural" | "Polly.Lucia-Neural" | "Polly.Lupe-Neural" | "Polly.Matthew-Neural" | "Polly.Mia-Neural" | "Polly.Niamh-Neural" | "Polly.Ola-Neural" | "Polly.Olivia-Neural" | "Polly.Pedro-Neural" | "Polly.Remi-Neural" | "Polly.Ruth-Neural" | "Polly.Salli-Neural" | "Polly.Seoyeon-Neural" | "Polly.Sergio-Neural" | "Polly.Sofie-Neural" | "Polly.Stephen-Neural" | "Polly.Suvi-Neural" | "Polly.Takumi-Neural" | "Polly.Thiago-Neural" | "Polly.Tomoko-Neural" | "Polly.Vicki-Neural" | "Polly.Vitoria-Neural" | "Polly.Zayd-Neural" | "Polly.Zhiyu-Neural" | "Polly.Amy-Generative" | "Polly.Andres-Generative" | "Polly.Ayanda-Generative" | "Polly.Bianca-Generative" | "Polly.Daniel-Generative" | "Polly.Danielle-Generative" | "Polly.Joanna-Generative" | "Polly.Kajal-Generative" | "Polly.Lea-Generative" | "Polly.Lucia-Generative" | "Polly.Lupe-Generative" | "Polly.Matthew-Generative" | "Polly.Mía-Generative" | "Polly.Olivia-Generative" | "Polly.Pedro-Generative" | "Polly.Rémi-Generative" | "Polly.Ruth-Generative" | "Polly.Sergio-Generative" | "Polly.Stephen-Generative" | "Polly.Vicki-Generative";
|
|
@@ -662,6 +667,23 @@ declare namespace VoiceResponse {
|
|
|
662
667
|
/** transcriptionEngine - Transcription Engine to be used */
|
|
663
668
|
transcriptionEngine?: string;
|
|
664
669
|
}
|
|
670
|
+
/**
|
|
671
|
+
* Attributes to pass to recording
|
|
672
|
+
*/
|
|
673
|
+
export interface RecordingAttributes {
|
|
674
|
+
/** channels - The recording channels for the final recording */
|
|
675
|
+
channels?: RecordingChannels;
|
|
676
|
+
/** recordingStatusCallback - Recording Status Callback URL */
|
|
677
|
+
recordingStatusCallback?: string;
|
|
678
|
+
/** recordingStatusCallbackEvent - Recording Status Callback Events */
|
|
679
|
+
recordingStatusCallbackEvent?: RecordingEvent[];
|
|
680
|
+
/** recordingStatusCallbackMethod - Recording Status Callback URL method */
|
|
681
|
+
recordingStatusCallbackMethod?: RecordingRecordingStatusCallbackMethod;
|
|
682
|
+
/** track - To indicate which audio track should be recorded */
|
|
683
|
+
track?: RecordingTrack;
|
|
684
|
+
/** trim - Trim the recording */
|
|
685
|
+
trim?: RecordingTrim;
|
|
686
|
+
}
|
|
665
687
|
/**
|
|
666
688
|
* Attributes to pass to say
|
|
667
689
|
*/
|
|
@@ -1581,6 +1603,15 @@ declare namespace VoiceResponse {
|
|
|
1581
1603
|
/** aiSessionConfiguration - The unique name or id of the AiSession Configuration resource. */
|
|
1582
1604
|
aiSessionConfiguration?: string;
|
|
1583
1605
|
}
|
|
1606
|
+
/**
|
|
1607
|
+
* Attributes to pass to conversationRelaySession
|
|
1608
|
+
*/
|
|
1609
|
+
export interface ConversationRelaySessionAttributes {
|
|
1610
|
+
/** connector - The unique name or installed add-on sid that identifies the installed addon resource for the ConversationRelaySession Connector */
|
|
1611
|
+
connector?: string;
|
|
1612
|
+
/** sessionConfiguration - The unique name or id of the ConversationRelaySession Configuration resource. */
|
|
1613
|
+
sessionConfiguration?: string;
|
|
1614
|
+
}
|
|
1584
1615
|
/**
|
|
1585
1616
|
* Attributes to pass to language
|
|
1586
1617
|
*/
|
|
@@ -1781,6 +1812,12 @@ declare namespace VoiceResponse {
|
|
|
1781
1812
|
* @param attributes - TwiML attributes
|
|
1782
1813
|
*/
|
|
1783
1814
|
conversationRelay(attributes?: VoiceResponse.ConversationRelayAttributes): VoiceResponse.ConversationRelay;
|
|
1815
|
+
/**
|
|
1816
|
+
* <ConversationRelaySession> TwiML Noun
|
|
1817
|
+
*
|
|
1818
|
+
* @param attributes - TwiML attributes
|
|
1819
|
+
*/
|
|
1820
|
+
conversationRelaySession(attributes?: VoiceResponse.ConversationRelaySessionAttributes): VoiceResponse.ConversationRelaySession;
|
|
1784
1821
|
/**
|
|
1785
1822
|
* <Room> TwiML Noun
|
|
1786
1823
|
*
|
|
@@ -1828,6 +1865,13 @@ declare namespace VoiceResponse {
|
|
|
1828
1865
|
*/
|
|
1829
1866
|
parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
|
|
1830
1867
|
}
|
|
1868
|
+
export class ConversationRelaySession extends TwiML {
|
|
1869
|
+
conversationRelaySession: XMLElement;
|
|
1870
|
+
/**
|
|
1871
|
+
* <ConversationRelaySession> TwiML Noun
|
|
1872
|
+
*/
|
|
1873
|
+
constructor(conversationRelaySession: XMLElement);
|
|
1874
|
+
}
|
|
1831
1875
|
export class Dial extends TwiML {
|
|
1832
1876
|
dial: XMLElement;
|
|
1833
1877
|
/**
|
|
@@ -2074,6 +2118,13 @@ declare namespace VoiceResponse {
|
|
|
2074
2118
|
*/
|
|
2075
2119
|
constructor(record: XMLElement);
|
|
2076
2120
|
}
|
|
2121
|
+
export class Recording extends TwiML {
|
|
2122
|
+
recording: XMLElement;
|
|
2123
|
+
/**
|
|
2124
|
+
* <Recording> TwiML Noun
|
|
2125
|
+
*/
|
|
2126
|
+
constructor(recording: XMLElement);
|
|
2127
|
+
}
|
|
2077
2128
|
export class Redirect extends TwiML {
|
|
2078
2129
|
redirect: XMLElement;
|
|
2079
2130
|
/**
|
|
@@ -2714,6 +2765,12 @@ declare namespace VoiceResponse {
|
|
|
2714
2765
|
* <Start> TwiML Verb
|
|
2715
2766
|
*/
|
|
2716
2767
|
constructor(start: XMLElement);
|
|
2768
|
+
/**
|
|
2769
|
+
* <Recording> TwiML Noun
|
|
2770
|
+
*
|
|
2771
|
+
* @param attributes - TwiML attributes
|
|
2772
|
+
*/
|
|
2773
|
+
recording(attributes?: VoiceResponse.RecordingAttributes): VoiceResponse.Recording;
|
|
2717
2774
|
/**
|
|
2718
2775
|
* <Siprec> TwiML Noun
|
|
2719
2776
|
*
|
|
@@ -378,6 +378,14 @@ class VoiceResponse extends TwiML_1.default {
|
|
|
378
378
|
conversationRelay(attributes) {
|
|
379
379
|
return new VoiceResponse.ConversationRelay(this.connect.ele("ConversationRelay", attributes));
|
|
380
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
* <ConversationRelaySession> TwiML Noun
|
|
383
|
+
*
|
|
384
|
+
* @param attributes - TwiML attributes
|
|
385
|
+
*/
|
|
386
|
+
conversationRelaySession(attributes) {
|
|
387
|
+
return new VoiceResponse.ConversationRelaySession(this.connect.ele("ConversationRelaySession", attributes));
|
|
388
|
+
}
|
|
381
389
|
room(attributes, name) {
|
|
382
390
|
if (typeof attributes === "string") {
|
|
383
391
|
name = attributes;
|
|
@@ -441,6 +449,17 @@ class VoiceResponse extends TwiML_1.default {
|
|
|
441
449
|
}
|
|
442
450
|
}
|
|
443
451
|
VoiceResponse.ConversationRelay = ConversationRelay;
|
|
452
|
+
class ConversationRelaySession extends TwiML_1.default {
|
|
453
|
+
/**
|
|
454
|
+
* <ConversationRelaySession> TwiML Noun
|
|
455
|
+
*/
|
|
456
|
+
constructor(conversationRelaySession) {
|
|
457
|
+
super();
|
|
458
|
+
this.conversationRelaySession = conversationRelaySession;
|
|
459
|
+
this._propertyName = "conversationRelaySession";
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
VoiceResponse.ConversationRelaySession = ConversationRelaySession;
|
|
444
463
|
class Dial extends TwiML_1.default {
|
|
445
464
|
/**
|
|
446
465
|
* <Dial> TwiML Verb
|
|
@@ -748,6 +767,17 @@ class VoiceResponse extends TwiML_1.default {
|
|
|
748
767
|
}
|
|
749
768
|
}
|
|
750
769
|
VoiceResponse.Record = Record;
|
|
770
|
+
class Recording extends TwiML_1.default {
|
|
771
|
+
/**
|
|
772
|
+
* <Recording> TwiML Noun
|
|
773
|
+
*/
|
|
774
|
+
constructor(recording) {
|
|
775
|
+
super();
|
|
776
|
+
this.recording = recording;
|
|
777
|
+
this._propertyName = "recording";
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
VoiceResponse.Recording = Recording;
|
|
751
781
|
class Redirect extends TwiML_1.default {
|
|
752
782
|
/**
|
|
753
783
|
* <Redirect> TwiML Verb
|
|
@@ -1434,6 +1464,14 @@ class VoiceResponse extends TwiML_1.default {
|
|
|
1434
1464
|
this.start = start;
|
|
1435
1465
|
this._propertyName = "start";
|
|
1436
1466
|
}
|
|
1467
|
+
/**
|
|
1468
|
+
* <Recording> TwiML Noun
|
|
1469
|
+
*
|
|
1470
|
+
* @param attributes - TwiML attributes
|
|
1471
|
+
*/
|
|
1472
|
+
recording(attributes) {
|
|
1473
|
+
return new VoiceResponse.Recording(this.start.ele("Recording", attributes));
|
|
1474
|
+
}
|
|
1437
1475
|
/**
|
|
1438
1476
|
* <Siprec> TwiML Noun
|
|
1439
1477
|
*
|