You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The maximum duration of the call in seconds. Constraints depend on account and configuration. */
142
142
timeLimit?: number;
143
-
/** Whether to detect if a human, answering machine, or fax has picked up the call. Can be: `Enable` or `DetectMessageEnd`. Use `Enable` if you would like us to return `AnsweredBy` as soon as the called party is identified. Use `DetectMessageEnd`, if you would like to leave a message on an answering machine. If `send_digits` is provided, this parameter is ignored. For more information, see [Answering Machine Detection](https://www.twilio.com/docs/voice/answering-machine-detection). */
143
+
/** Whether to detect if a human, answering machine, or fax has picked up the call. Can be: `Enable` or `DetectMessageEnd`. Use `Enable` if you would like us to return `AnsweredBy` as soon as the called party is identified. Use `DetectMessageEnd`, if you would like to leave a message on an answering machine. For more information, see [Answering Machine Detection](https://www.twilio.com/docs/voice/answering-machine-detection). */
144
144
machineDetection?: string;
145
145
/** The number of seconds that we should attempt to detect an answering machine before timing out and sending a voice request with `AnsweredBy` of `unknown`. The default timeout is 30 seconds. */
/** The recipient\\\'s phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses), e.g. `whatsapp:+15552229999`. */
69
69
to: string;
70
-
/** The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/sms/services/api). */
70
+
/** The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api). */
71
71
statusCallback?: string;
72
72
/** The SID of the associated [TwiML Application](https://www.twilio.com/docs/usage/api/applications). If this parameter is provided, the `status_callback` parameter of this request is ignored; [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url) are sent to the TwiML App\\\'s `message_status_callback` URL. */
73
73
applicationSid?: string;
@@ -488,7 +488,7 @@ export class MessageInstance {
488
488
numMedia: string;
489
489
status: MessageStatus;
490
490
/**
491
-
* The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) associated with the Message resource. The value is `null` if a Messaging Service was not used.
491
+
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) associated with the Message resource. The value is `null` if a Messaging Service was not used.
Copy file name to clipboardExpand all lines: src/rest/conversations/v1/configuration.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ import { WebhookListInstance } from "./configuration/webhook";
25
25
exportinterfaceConfigurationContextUpdateOptions{
26
26
/** The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to use when creating a conversation. */
27
27
defaultChatServiceSid?: string;
28
-
/** The SID of the default [Messaging Service](https://www.twilio.com/docs/sms/services/api) to use when creating a conversation. */
28
+
/** The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to use when creating a conversation. */
29
29
defaultMessagingServiceSid?: string;
30
30
/** Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. */
31
31
defaultInactiveTimer?: string;
@@ -205,7 +205,7 @@ export class ConfigurationInstance {
205
205
*/
206
206
defaultChatServiceSid: string;
207
207
/**
208
-
* The SID of the default [Messaging Service](https://www.twilio.com/docs/sms/services/api) used when creating a conversation.
208
+
* The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) used when creating a conversation.
/** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
51
51
attributes?: string;
52
-
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to. */
52
+
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
/** The date that this resource was last updated. */
77
77
dateUpdated?: Date;
78
-
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to. */
78
+
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
79
79
messagingServiceSid?: string;
80
80
/** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
81
81
attributes?: string;
@@ -444,7 +444,7 @@ export class ConversationInstance {
444
444
*/
445
445
chatServiceSid: string;
446
446
/**
447
-
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to.
447
+
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to.
Copy file name to clipboardExpand all lines: src/rest/conversations/v1/service/configuration.ts
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -24,13 +24,13 @@ import { WebhookListInstance } from "./configuration/webhook";
24
24
* Options to pass to update a ConfigurationInstance
25
25
*/
26
26
exportinterfaceConfigurationContextUpdateOptions{
27
-
/** The conversation-level role assigned to a conversation creator when they join a new conversation. See the [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. */
27
+
/** The conversation-level role assigned to a conversation creator when they join a new conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. */
28
28
defaultConversationCreatorRoleSid?: string;
29
-
/** The conversation-level role assigned to users when they are added to a conversation. See the [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. */
29
+
/** The conversation-level role assigned to users when they are added to a conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. */
30
30
defaultConversationRoleSid?: string;
31
-
/** The service-level role assigned to users when they are added to the service. See the [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. */
31
+
/** The service-level role assigned to users when they are added to the service. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. */
32
32
defaultChatServiceRoleSid?: string;
33
-
/** Whether the [Reachability Indicator](https://www.twilio.com/docs/chat/reachability-indicator) is enabled for this Conversations Service. The default is `false`. */
33
+
/** Whether the [Reachability Indicator](https://www.twilio.com/docs/conversations/reachability) is enabled for this Conversations Service. The default is `false`. */
34
34
reachabilityEnabled?: boolean;
35
35
}
36
36
@@ -226,15 +226,15 @@ export class ConfigurationInstance {
226
226
*/
227
227
chatServiceSid: string;
228
228
/**
229
-
* The conversation-level role assigned to a conversation creator user when they join a new conversation. See the [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
229
+
* The conversation-level role assigned to a conversation creator when they join a new conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
230
230
*/
231
231
defaultConversationCreatorRoleSid: string;
232
232
/**
233
-
* The conversation-level role assigned to users when they are added to a conversation. See the [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
233
+
* The conversation-level role assigned to users when they are added to a conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
234
234
*/
235
235
defaultConversationRoleSid: string;
236
236
/**
237
-
* The service-level role assigned to users when they are added to the service. See the [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
237
+
* The service-level role assigned to users when they are added to the service. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
238
238
*/
239
239
defaultChatServiceRoleSid: string;
240
240
/**
@@ -246,7 +246,7 @@ export class ConfigurationInstance {
246
246
*/
247
247
links: Record<string,string>;
248
248
/**
249
-
* Whether the [Reachability Indicator](https://www.twilio.com/docs/chat/reachability-indicator) is enabled for this Conversations Service. The default is `false`.
249
+
* Whether the [Reachability Indicator](https://www.twilio.com/docs/conversations/reachability) is enabled for this Conversations Service. The default is `false`.
/** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
51
51
attributes?: string;
52
-
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to. */
52
+
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
/** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
75
75
attributes?: string;
76
-
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to. */
76
+
/** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
77
77
messagingServiceSid?: string;
78
78
/** The date that this resource was created. */
79
79
dateCreated?: Date;
@@ -466,7 +466,7 @@ export class ConversationInstance {
466
466
*/
467
467
chatServiceSid: string;
468
468
/**
469
-
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to.
469
+
* The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to.
/** An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`. */
95
95
answeredBy?: CallSummariesAnsweredBy;
96
+
/** Either machine or human. */
97
+
answeredByAnnotation?: string;
96
98
/** A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`. */
97
-
connectivityIssue?: string;
99
+
connectivityIssueAnnotation?: string;
98
100
/** A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`. */
99
-
qualityIssue?: string;
101
+
qualityIssueAnnotation?: string;
100
102
/** A boolean flag indicating spam calls. */
101
-
spam?: boolean;
103
+
spamAnnotation?: boolean;
102
104
/** A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad]. */
103
-
callScore?: string;
105
+
callScoreAnnotation?: string;
104
106
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
105
107
pageSize?: number;
106
108
/** Function to process each record. If this and a positional callback are passed, this one will be used */
/** An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`. */
155
157
answeredBy?: CallSummariesAnsweredBy;
158
+
/** Either machine or human. */
159
+
answeredByAnnotation?: string;
156
160
/** A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`. */
157
-
connectivityIssue?: string;
161
+
connectivityIssueAnnotation?: string;
158
162
/** A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`. */
159
-
qualityIssue?: string;
163
+
qualityIssueAnnotation?: string;
160
164
/** A boolean flag indicating spam calls. */
161
-
spam?: boolean;
165
+
spamAnnotation?: boolean;
162
166
/** A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad]. */
163
-
callScore?: string;
167
+
callScoreAnnotation?: string;
164
168
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
165
169
pageSize?: number;
166
170
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
/** An Answered By value for the calls based on `Answering Machine Detection (AMD)`. One of `unknown`, `machine_start`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`, `human` or `fax`. */
211
215
answeredBy?: CallSummariesAnsweredBy;
216
+
/** Either machine or human. */
217
+
answeredByAnnotation?: string;
212
218
/** A Connectivity Issue with the calls. One of `no_connectivity_issue`, `invalid_number`, `caller_id`, `dropped_call`, or `number_reachability`. */
213
-
connectivityIssue?: string;
219
+
connectivityIssueAnnotation?: string;
214
220
/** A subjective Quality Issue with the calls. One of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`. */
215
-
qualityIssue?: string;
221
+
qualityIssueAnnotation?: string;
216
222
/** A boolean flag indicating spam calls. */
217
-
spam?: boolean;
223
+
spamAnnotation?: boolean;
218
224
/** A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad]. */
219
-
callScore?: string;
225
+
callScoreAnnotation?: string;
220
226
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
221
227
pageSize?: number;
222
228
/** Page Number, this value is simply for client state */
@@ -371,14 +377,17 @@ export function CallSummariesListInstance(
0 commit comments