twilio 5.10.3 → 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/chat/v1/service.d.ts +3 -3
- package/lib/rest/chat/v2/service/binding.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/invite.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/member.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel.d.ts +3 -3
- package/lib/rest/chat/v2/service/role.d.ts +3 -3
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +3 -3
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +5 -5
- package/lib/rest/chat/v2/service/user.d.ts +3 -3
- package/lib/rest/chat/v2/service.d.ts +3 -3
- package/lib/rest/content/v1/content.d.ts +4 -4
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +1 -1
- package/lib/rest/intelligence/v2/customOperator.d.ts +1 -1
- package/lib/rest/intelligence/v2/operator.d.ts +1 -1
- package/lib/rest/intelligence/v2/operatorType.d.ts +1 -1
- package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +1 -1
- package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +1 -1
- package/lib/rest/intelligence/v2/transcript/sentence.d.ts +9 -9
- 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/messaging/v2/channelsSender.d.ts +3 -3
- 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/complianceInquiries.d.ts +10 -2
- package/lib/rest/trusthub/v1/complianceInquiries.js +7 -6
- 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).
|
|
@@ -129,7 +129,7 @@ export interface ServiceListInstanceCreateOptions {
|
|
|
129
129
|
* Options to pass to each
|
|
130
130
|
*/
|
|
131
131
|
export interface ServiceListInstanceEachOptions {
|
|
132
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
132
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
133
133
|
pageSize?: number;
|
|
134
134
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
135
135
|
callback?: (item: ServiceInstance, done: (err?: Error) => void) => void;
|
|
@@ -142,7 +142,7 @@ export interface ServiceListInstanceEachOptions {
|
|
|
142
142
|
* Options to pass to list
|
|
143
143
|
*/
|
|
144
144
|
export interface ServiceListInstanceOptions {
|
|
145
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
145
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
146
146
|
pageSize?: number;
|
|
147
147
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
148
148
|
limit?: number;
|
|
@@ -151,7 +151,7 @@ export interface ServiceListInstanceOptions {
|
|
|
151
151
|
* Options to pass to page
|
|
152
152
|
*/
|
|
153
153
|
export interface ServiceListInstancePageOptions {
|
|
154
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
154
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
155
155
|
pageSize?: number;
|
|
156
156
|
/** Page Number, this value is simply for client state */
|
|
157
157
|
pageNumber?: number;
|
|
@@ -14,7 +14,7 @@ export interface BindingListInstanceEachOptions {
|
|
|
14
14
|
bindingType?: Array<BindingBindingType>;
|
|
15
15
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
16
16
|
identity?: Array<string>;
|
|
17
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
17
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
18
18
|
pageSize?: number;
|
|
19
19
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
20
20
|
callback?: (item: BindingInstance, done: (err?: Error) => void) => void;
|
|
@@ -31,7 +31,7 @@ export interface BindingListInstanceOptions {
|
|
|
31
31
|
bindingType?: Array<BindingBindingType>;
|
|
32
32
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
33
33
|
identity?: Array<string>;
|
|
34
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
34
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
35
35
|
pageSize?: number;
|
|
36
36
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
37
37
|
limit?: number;
|
|
@@ -44,7 +44,7 @@ export interface BindingListInstancePageOptions {
|
|
|
44
44
|
bindingType?: Array<BindingBindingType>;
|
|
45
45
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
46
46
|
identity?: Array<string>;
|
|
47
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
47
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
48
48
|
pageSize?: number;
|
|
49
49
|
/** Page Number, this value is simply for client state */
|
|
50
50
|
pageNumber?: number;
|
|
@@ -17,7 +17,7 @@ export interface InviteListInstanceCreateOptions {
|
|
|
17
17
|
export interface InviteListInstanceEachOptions {
|
|
18
18
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
19
19
|
identity?: Array<string>;
|
|
20
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
20
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
21
21
|
pageSize?: number;
|
|
22
22
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
23
23
|
callback?: (item: InviteInstance, done: (err?: Error) => void) => void;
|
|
@@ -32,7 +32,7 @@ export interface InviteListInstanceEachOptions {
|
|
|
32
32
|
export interface InviteListInstanceOptions {
|
|
33
33
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
34
34
|
identity?: Array<string>;
|
|
35
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
35
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
36
36
|
pageSize?: number;
|
|
37
37
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
38
38
|
limit?: number;
|
|
@@ -43,7 +43,7 @@ export interface InviteListInstanceOptions {
|
|
|
43
43
|
export interface InviteListInstancePageOptions {
|
|
44
44
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
45
45
|
identity?: Array<string>;
|
|
46
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
46
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
47
47
|
pageSize?: number;
|
|
48
48
|
/** Page Number, this value is simply for client state */
|
|
49
49
|
pageNumber?: number;
|
|
@@ -56,7 +56,7 @@ export interface MemberListInstanceCreateOptions {
|
|
|
56
56
|
export interface MemberListInstanceEachOptions {
|
|
57
57
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
58
58
|
identity?: Array<string>;
|
|
59
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
59
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
60
60
|
pageSize?: number;
|
|
61
61
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
62
62
|
callback?: (item: MemberInstance, done: (err?: Error) => void) => void;
|
|
@@ -71,7 +71,7 @@ export interface MemberListInstanceEachOptions {
|
|
|
71
71
|
export interface MemberListInstanceOptions {
|
|
72
72
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
73
73
|
identity?: Array<string>;
|
|
74
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
74
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
75
75
|
pageSize?: number;
|
|
76
76
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
77
77
|
limit?: number;
|
|
@@ -82,7 +82,7 @@ export interface MemberListInstanceOptions {
|
|
|
82
82
|
export interface MemberListInstancePageOptions {
|
|
83
83
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
84
84
|
identity?: Array<string>;
|
|
85
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
85
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
86
86
|
pageSize?: number;
|
|
87
87
|
/** Page Number, this value is simply for client state */
|
|
88
88
|
pageNumber?: number;
|
|
@@ -57,7 +57,7 @@ export interface MessageListInstanceCreateOptions {
|
|
|
57
57
|
export interface MessageListInstanceEachOptions {
|
|
58
58
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending) with `asc` as the default. */
|
|
59
59
|
order?: MessageOrderType;
|
|
60
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
60
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
61
61
|
pageSize?: number;
|
|
62
62
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
63
63
|
callback?: (item: MessageInstance, done: (err?: Error) => void) => void;
|
|
@@ -72,7 +72,7 @@ export interface MessageListInstanceEachOptions {
|
|
|
72
72
|
export interface MessageListInstanceOptions {
|
|
73
73
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending) with `asc` as the default. */
|
|
74
74
|
order?: MessageOrderType;
|
|
75
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
75
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
76
76
|
pageSize?: number;
|
|
77
77
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
78
78
|
limit?: number;
|
|
@@ -83,7 +83,7 @@ export interface MessageListInstanceOptions {
|
|
|
83
83
|
export interface MessageListInstancePageOptions {
|
|
84
84
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending) with `asc` as the default. */
|
|
85
85
|
order?: MessageOrderType;
|
|
86
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
86
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
87
87
|
pageSize?: number;
|
|
88
88
|
/** Page Number, this value is simply for client state */
|
|
89
89
|
pageNumber?: number;
|
|
@@ -47,7 +47,7 @@ export interface WebhookListInstanceCreateOptions {
|
|
|
47
47
|
* Options to pass to each
|
|
48
48
|
*/
|
|
49
49
|
export interface WebhookListInstanceEachOptions {
|
|
50
|
-
/** How many resources to return in each list page. The default is
|
|
50
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
51
51
|
pageSize?: number;
|
|
52
52
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
53
53
|
callback?: (item: WebhookInstance, done: (err?: Error) => void) => void;
|
|
@@ -60,7 +60,7 @@ export interface WebhookListInstanceEachOptions {
|
|
|
60
60
|
* Options to pass to list
|
|
61
61
|
*/
|
|
62
62
|
export interface WebhookListInstanceOptions {
|
|
63
|
-
/** How many resources to return in each list page. The default is
|
|
63
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
64
64
|
pageSize?: number;
|
|
65
65
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
66
66
|
limit?: number;
|
|
@@ -69,7 +69,7 @@ export interface WebhookListInstanceOptions {
|
|
|
69
69
|
* Options to pass to page
|
|
70
70
|
*/
|
|
71
71
|
export interface WebhookListInstancePageOptions {
|
|
72
|
-
/** How many resources to return in each list page. The default is
|
|
72
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
73
73
|
pageSize?: number;
|
|
74
74
|
/** Page Number, this value is simply for client state */
|
|
75
75
|
pageNumber?: number;
|
|
@@ -64,7 +64,7 @@ export interface ChannelListInstanceCreateOptions {
|
|
|
64
64
|
export interface ChannelListInstanceEachOptions {
|
|
65
65
|
/** The visibility of the Channels to read. Can be: `public` or `private` and defaults to `public`. */
|
|
66
66
|
type?: Array<ChannelChannelType>;
|
|
67
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
67
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
68
68
|
pageSize?: number;
|
|
69
69
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
70
70
|
callback?: (item: ChannelInstance, done: (err?: Error) => void) => void;
|
|
@@ -79,7 +79,7 @@ export interface ChannelListInstanceEachOptions {
|
|
|
79
79
|
export interface ChannelListInstanceOptions {
|
|
80
80
|
/** The visibility of the Channels to read. Can be: `public` or `private` and defaults to `public`. */
|
|
81
81
|
type?: Array<ChannelChannelType>;
|
|
82
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
82
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
83
83
|
pageSize?: number;
|
|
84
84
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
85
85
|
limit?: number;
|
|
@@ -90,7 +90,7 @@ export interface ChannelListInstanceOptions {
|
|
|
90
90
|
export interface ChannelListInstancePageOptions {
|
|
91
91
|
/** The visibility of the Channels to read. Can be: `public` or `private` and defaults to `public`. */
|
|
92
92
|
type?: Array<ChannelChannelType>;
|
|
93
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
93
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
94
94
|
pageSize?: number;
|
|
95
95
|
/** Page Number, this value is simply for client state */
|
|
96
96
|
pageNumber?: number;
|
|
@@ -28,7 +28,7 @@ export interface RoleListInstanceCreateOptions {
|
|
|
28
28
|
* Options to pass to each
|
|
29
29
|
*/
|
|
30
30
|
export interface RoleListInstanceEachOptions {
|
|
31
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
31
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
32
32
|
pageSize?: number;
|
|
33
33
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
34
34
|
callback?: (item: RoleInstance, done: (err?: Error) => void) => void;
|
|
@@ -41,7 +41,7 @@ export interface RoleListInstanceEachOptions {
|
|
|
41
41
|
* Options to pass to list
|
|
42
42
|
*/
|
|
43
43
|
export interface RoleListInstanceOptions {
|
|
44
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
44
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
45
45
|
pageSize?: number;
|
|
46
46
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
47
47
|
limit?: number;
|
|
@@ -50,7 +50,7 @@ export interface RoleListInstanceOptions {
|
|
|
50
50
|
* Options to pass to page
|
|
51
51
|
*/
|
|
52
52
|
export interface RoleListInstancePageOptions {
|
|
53
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
53
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
54
54
|
pageSize?: number;
|
|
55
55
|
/** Page Number, this value is simply for client state */
|
|
56
56
|
pageNumber?: number;
|
|
@@ -12,7 +12,7 @@ export type UserBindingBindingType = "gcm" | "apn" | "fcm";
|
|
|
12
12
|
export interface UserBindingListInstanceEachOptions {
|
|
13
13
|
/** The push technology used by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
|
|
14
14
|
bindingType?: Array<UserBindingBindingType>;
|
|
15
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
15
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
16
16
|
pageSize?: number;
|
|
17
17
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
18
18
|
callback?: (item: UserBindingInstance, done: (err?: Error) => void) => void;
|
|
@@ -27,7 +27,7 @@ export interface UserBindingListInstanceEachOptions {
|
|
|
27
27
|
export interface UserBindingListInstanceOptions {
|
|
28
28
|
/** The push technology used by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
|
|
29
29
|
bindingType?: Array<UserBindingBindingType>;
|
|
30
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
30
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
31
31
|
pageSize?: number;
|
|
32
32
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
33
33
|
limit?: number;
|
|
@@ -38,7 +38,7 @@ export interface UserBindingListInstanceOptions {
|
|
|
38
38
|
export interface UserBindingListInstancePageOptions {
|
|
39
39
|
/** The push technology used by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
|
|
40
40
|
bindingType?: Array<UserBindingBindingType>;
|
|
41
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
41
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
42
42
|
pageSize?: number;
|
|
43
43
|
/** Page Number, this value is simply for client state */
|
|
44
44
|
pageNumber?: number;
|