Skip to content

Commit 90208b3

Browse files
committed
[Librarian] Regenerated @ 437c39e3f150e78058f5afb3ef0672e89fc59ec0
1 parent 00e852f commit 90208b3

File tree

16 files changed

+52
-26
lines changed

16 files changed

+52
-26
lines changed

Diff for: CHANGES.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
twilio-node changelog
22
=====================
33

4+
[2023-12-01] Version 4.19.3
5+
---------------------------
6+
**Verify**
7+
- Add `VerifyEventSubscriptionEnabled` parameter to service create and update endpoints.
8+
9+
410
[2023-11-17] Version 4.19.2
511
---------------------------
612
**Library - Chore**

Diff for: src/rest/api/v2010/account/message.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export interface MessageListInstanceCreateOptions {
9191
smartEncoded?: boolean;
9292
/** Rich actions for non-SMS/MMS channels. Used for [sending location in WhatsApp messages](https://www.twilio.com/docs/whatsapp/message-features#location-messages-with-whatsapp). */
9393
persistentAction?: Array<string>;
94-
/** For Messaging Services with [Link Shortening configured](https://www.twilio.com/docs/messaging/features/how-to-configure-link-shortening) only: A Boolean indicating whether or not Twilio should shorten links in the `body` of the Message. Default value is `false`. If `true`, the `messaging_service_sid` parameter must also be provided. */
94+
/** For Messaging Services with [Link Shortening configured](https://www.twilio.com/docs/messaging/features/link-shortening) only: A Boolean indicating whether or not Twilio should shorten links in the `body` of the Message. Default value is `false`. If `true`, the `messaging_service_sid` parameter must also be provided. */
9595
shortenUrls?: boolean;
9696
/** */
9797
scheduleType?: MessageScheduleType;
@@ -103,13 +103,13 @@ export interface MessageListInstanceCreateOptions {
103103
contentVariables?: string;
104104
/** */
105105
riskCheck?: MessageRiskCheck;
106-
/** The sender\\\'s Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service\\\'s Sender Pool) or you can provide a specific sender from your Sender Pool. */
106+
/** The sender\\\'s Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/quickstart), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/en-us/messaging/channels/sms/short-codes), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service\\\'s Sender Pool) or you can provide a specific sender from your Sender Pool. */
107107
from?: string;
108108
/** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service\\\'s Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool. */
109109
messagingServiceSid?: string;
110110
/** The text content of the outgoing message. Can be up to 1,600 characters in length. SMS only: If the `body` contains more than 160 [GSM-7](https://www.twilio.com/docs/glossary/what-is-gsm-7-character-encoding) characters (or 70 [UCS-2](https://www.twilio.com/docs/glossary/what-is-ucs-2-character-encoding) characters), the message is segmented and charged accordingly. For long `body` text, consider using the [send_as_mms parameter](https://www.twilio.com/blog/mms-for-long-text-messages). */
111111
body?: string;
112-
/** The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/sms/accepted-mime-types) of accepted media. To send more than one image in the message, provide multiple `media_url` parameters in the POST request. You can include up to ten `media_url` parameters per message. [International](https://support.twilio.com/hc/en-us/articles/223179808-Sending-and-receiving-MMS-messages) and [carrier](https://support.twilio.com/hc/en-us/articles/223133707-Is-MMS-supported-for-all-carriers-in-US-and-Canada-) limits apply. */
112+
/** The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/messaging/guides/accepted-mime-types) of accepted media. To send more than one image in the message, provide multiple `media_url` parameters in the POST request. You can include up to ten `media_url` parameters per message. [International](https://support.twilio.com/hc/en-us/articles/223179808-Sending-and-receiving-MMS-messages) and [carrier](https://support.twilio.com/hc/en-us/articles/223133707-Is-MMS-supported-for-all-carriers-in-US-and-Canada-) limits apply. */
113113
mediaUrl?: Array<string>;
114114
/** For [Content Editor/API](https://www.twilio.com/docs/content) only: The SID of the Content Template to be used with the Message, e.g., `HXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`. If this parameter is not provided, a Content Template is not used. Find the SID in the Console on the Content Editor page. For Content API users, the SID is found in Twilio\\\'s response when [creating the Template](https://www.twilio.com/docs/content/content-api-resources#create-templates) or by [fetching your Templates](https://www.twilio.com/docs/content/content-api-resources#fetch-all-content-resources). */
115115
contentSid?: string;
@@ -459,7 +459,7 @@ export class MessageInstance {
459459
numSegments: string;
460460
direction: MessageDirection;
461461
/**
462-
* The sender\'s phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent.
462+
* The sender\'s phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/quickstart), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/en-us/messaging/channels/sms/short-codes), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent.
463463
*/
464464
from: string;
465465
/**

Diff for: src/rest/content/v1/content.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class ContentInstance {
233233
*/
234234
variables: any;
235235
/**
236-
* The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
236+
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
237237
*/
238238
types: any;
239239
/**

Diff for: src/rest/content/v1/contentAndApprovals.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export class ContentAndApprovalsInstance {
304304
*/
305305
variables: any;
306306
/**
307-
* The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
307+
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
308308
*/
309309
types: any;
310310
/**

Diff for: src/rest/content/v1/legacyContent.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export class LegacyContentInstance {
291291
*/
292292
variables: any;
293293
/**
294-
* The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
294+
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
295295
*/
296296
types: any;
297297
/**

Diff for: src/rest/conversations/v1/conversation/message.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export interface MessageListInstanceCreateOptions {
7171
attributes?: string;
7272
/** The Media SID to be attached to the new Message. */
7373
mediaSid?: string;
74-
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
74+
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
7575
contentSid?: string;
7676
/** A structurally valid JSON string that contains values to resolve Rich Content template variables. */
7777
contentVariables?: string;
@@ -462,7 +462,7 @@ export class MessageInstance {
462462
*/
463463
links: Record<string, string>;
464464
/**
465-
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template.
465+
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template.
466466
*/
467467
contentSid: string;
468468

Diff for: src/rest/conversations/v1/service/conversation/message.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export interface MessageListInstanceCreateOptions {
7171
attributes?: string;
7272
/** The Media SID to be attached to the new Message. */
7373
mediaSid?: string;
74-
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
74+
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
7575
contentSid?: string;
7676
/** A structurally valid JSON string that contains values to resolve Rich Content template variables. */
7777
contentVariables?: string;
@@ -482,7 +482,7 @@ export class MessageInstance {
482482
*/
483483
links: Record<string, string>;
484484
/**
485-
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template.
485+
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template.
486486
*/
487487
contentSid: string;
488488

Diff for: src/rest/intelligence/v2/service.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface ServiceContextUpdateOptions {
3030
ifMatch?: string;
3131
/** Instructs the Speech Recognition service to automatically transcribe all recordings made on the account. */
3232
autoTranscribe?: boolean;
33-
/** Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models. */
33+
/** Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent. */
3434
dataLogging?: boolean;
3535
/** A human readable description of this resource, up to 64 characters. */
3636
friendlyName?: string;
@@ -56,7 +56,7 @@ export interface ServiceListInstanceCreateOptions {
5656
uniqueName: string;
5757
/** Instructs the Speech Recognition service to automatically transcribe all recordings made on the account. */
5858
autoTranscribe?: boolean;
59-
/** Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models. */
59+
/** Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent. */
6060
dataLogging?: boolean;
6161
/** A human readable description of this resource, up to 64 characters. */
6262
friendlyName?: string;
@@ -353,7 +353,7 @@ export class ServiceInstance {
353353
*/
354354
autoTranscribe: boolean;
355355
/**
356-
* Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
356+
* Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
357357
*/
358358
dataLogging: boolean;
359359
/**

Diff for: src/rest/intelligence/v2/transcript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ export class TranscriptInstance {
335335
*/
336336
channel: any;
337337
/**
338-
* Data logging allows Twilio to improve the quality of the speech recognition through using customer data to refine its speech recognition models.
338+
* Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
339339
*/
340340
dataLogging: boolean;
341341
/**

Diff for: src/rest/notify/v1/service.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface ServiceContextUpdateOptions {
3232
apnCredentialSid?: string;
3333
/** The SID of the [Credential](https://www.twilio.com/docs/notify/api/credential-resource) to use for GCM Bindings. */
3434
gcmCredentialSid?: string;
35-
/** The SID of the [Messaging Service](https://www.twilio.com/docs/sms/send-messages#messaging-services) to use for SMS Bindings. This parameter must be set in order to send SMS notifications. */
35+
/** The SID of the [Messaging Service](https://www.twilio.com/docs/sms/quickstart#messaging-services) to use for SMS Bindings. This parameter must be set in order to send SMS notifications. */
3636
messagingServiceSid?: string;
3737
/** Deprecated. */
3838
facebookMessengerPageId?: string;
@@ -66,7 +66,7 @@ export interface ServiceListInstanceCreateOptions {
6666
apnCredentialSid?: string;
6767
/** The SID of the [Credential](https://www.twilio.com/docs/notify/api/credential-resource) to use for GCM Bindings. */
6868
gcmCredentialSid?: string;
69-
/** The SID of the [Messaging Service](https://www.twilio.com/docs/sms/send-messages#messaging-services) to use for SMS Bindings. This parameter must be set in order to send SMS notifications. */
69+
/** The SID of the [Messaging Service](https://www.twilio.com/docs/sms/quickstart#messaging-services) to use for SMS Bindings. This parameter must be set in order to send SMS notifications. */
7070
messagingServiceSid?: string;
7171
/** Deprecated. */
7272
facebookMessengerPageId?: string;
@@ -440,7 +440,7 @@ export class ServiceInstance {
440440
*/
441441
fcmCredentialSid: string;
442442
/**
443-
* The SID of the [Messaging Service](https://www.twilio.com/docs/sms/send-messages#messaging-services) to use for SMS Bindings. In order to send SMS notifications this parameter has to be set.
443+
* The SID of the [Messaging Service](https://www.twilio.com/docs/sms/quickstart#messaging-services) to use for SMS Bindings. In order to send SMS notifications this parameter has to be set.
444444
*/
445445
messagingServiceSid: string;
446446
/**

Diff for: src/rest/notify/v1/service/notification.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface NotificationListInstanceCreateOptions {
4242
apn?: any;
4343
/** The GCM-specific payload that overrides corresponding attributes in the generic payload for GCM Bindings. This property maps to the root JSON dictionary. See the [GCM documentation](https://firebase.google.com/docs/cloud-messaging/http-server-ref) for more details. Target parameters `to`, `registration_ids`, and `notification_key` are not allowed. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. GCM also [reserves certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref). */
4444
gcm?: any;
45-
/** The SMS-specific payload that overrides corresponding attributes in the generic payload for SMS Bindings. Each attribute in this value maps to the corresponding `form` parameter of the Twilio [Message](https://www.twilio.com/docs/sms/send-messages) resource. These parameters of the Message resource are supported in snake case format: `body`, `media_urls`, `status_callback`, and `max_price`. The `status_callback` parameter overrides the corresponding parameter in the messaging service, if configured. The `media_urls` property expects a JSON array. */
45+
/** The SMS-specific payload that overrides corresponding attributes in the generic payload for SMS Bindings. Each attribute in this value maps to the corresponding `form` parameter of the Twilio [Message](https://www.twilio.com/docs/sms/quickstart) resource. These parameters of the Message resource are supported in snake case format: `body`, `media_urls`, `status_callback`, and `max_price`. The `status_callback` parameter overrides the corresponding parameter in the messaging service, if configured. The `media_urls` property expects a JSON array. */
4646
sms?: any;
4747
/** Deprecated. */
4848
facebookMessenger?: any;

Diff for: src/rest/proxy/v1/service/session/interaction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export class InteractionInstance {
288288
*/
289289
inboundParticipantSid: string;
290290
/**
291-
* The SID of the inbound resource; either the [Call](https://www.twilio.com/docs/voice/api/call-resource) or [Message](https://www.twilio.com/docs/sms/api/message.
291+
* The SID of the inbound resource; either the [Call](https://www.twilio.com/docs/voice/api/call-resource) or [Message](https://www.twilio.com/docs/sms/api/message-resource).
292292
*/
293293
inboundResourceSid: string;
294294
inboundResourceStatus: InteractionResourceStatus;

Diff for: src/rest/proxy/v1/service/shortCode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface ShortCodeContextUpdateOptions {
3333
* Options to pass to create a ShortCodeInstance
3434
*/
3535
export interface ShortCodeListInstanceCreateOptions {
36-
/** The SID of a Twilio [ShortCode](https://www.twilio.com/docs/sms/api/short-code) resource that represents the short code you would like to assign to your Proxy Service. */
36+
/** The SID of a Twilio [ShortCode](https://www.twilio.com/en-us/messaging/channels/sms/short-codes) resource that represents the short code you would like to assign to your Proxy Service. */
3737
sid: string;
3838
}
3939
/**

0 commit comments

Comments
 (0)