Skip to content

Commit

Permalink
[Librarian] Regenerated @ 07a9a183b1077d5a881e6cd53ef76b0d75ccc6b0
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jul 27, 2023
1 parent 9cb46f0 commit 54a1699
Show file tree
Hide file tree
Showing 20 changed files with 167 additions and 84 deletions.
20 changes: 20 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
twilio-node changelog
=====================

[2023-07-27] Version 4.14.1
---------------------------
**Api**
- Added `voice-intelligence`, `voice-intelligence-transcription` and `voice-intelligence-operators` to `usage_record` API.
- Added `tts-google` to `usage_record` API.

**Lookups**
- Add new `disposable_phone_number_risk` package to the lookup response

**Verify**
- Documentation of list attempts API was improved by correcting `date_created_after` and `date_created_before` expected date format.
- Documentation was improved by correcting `date_created_after` and `date_created_before` expected date format parameter on attempts summary API.
- Documentation was improved by adding `WHATSAPP` as optional valid parameter on attempts summary API.

**Twiml**
- Added support for he-il inside of ssm_lang.json that was missing
- Added support for he-il language in say.json that was missing
- Add `statusCallback` and `statusCallbackMethod` attributes to `<Siprec>`.


[2023-07-14] Version 4.14.0
---------------------------
**Library - Fix**
Expand Down
100 changes: 50 additions & 50 deletions src/rest/api/v2010/account/message.ts

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions src/rest/api/v2010/account/message/media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ import { isValidPathParam } from "../../../../../base/utility";
* Options to pass to each
*/
export interface MediaListInstanceEachOptions {
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreated?: Date;
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreatedBefore?: Date;
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreatedAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
Expand All @@ -44,11 +44,11 @@ export interface MediaListInstanceEachOptions {
* Options to pass to list
*/
export interface MediaListInstanceOptions {
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreated?: Date;
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreatedBefore?: Date;
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreatedAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
Expand All @@ -60,11 +60,11 @@ export interface MediaListInstanceOptions {
* Options to pass to page
*/
export interface MediaListInstancePageOptions {
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreated?: Date;
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreatedBefore?: Date;
/** Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date. */
/** Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date. */
dateCreatedAfter?: Date;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
Expand Down Expand Up @@ -232,31 +232,31 @@ export class MediaInstance {
}

/**
* The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Media resource.
* The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this Media resource.
*/
accountSid: string;
/**
* The default [mime-type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`
* The default [MIME type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`.
*/
contentType: string;
/**
* The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
* The date and time in GMT when this Media resource was created, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
*/
dateCreated: Date;
/**
* The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
* The date and time in GMT when this Media resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
*/
dateUpdated: Date;
/**
* The SID of the resource that created the media.
* The SID of the Message resource that is associated with this Media resource.
*/
parentSid: string;
/**
* The unique string that that we created to identify this Media resource.
* The unique string that identifies this Media resource.
*/
sid: string;
/**
* The URI of this resource, relative to `https://api.twilio.com`.
* The URI of this Media resource, relative to `https://api.twilio.com`.
*/
uri: string;

Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type UsageCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type UsageCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export type RecordCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -233,6 +234,9 @@ export type RecordCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record/allTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type AllTimeCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type AllTimeCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record/daily.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type DailyCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type DailyCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record/lastMonth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type LastMonthCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type LastMonthCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record/monthly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type MonthlyCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type MonthlyCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record/thisMonth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type ThisMonthCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type ThisMonthCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record/today.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type TodayCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type TodayCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record/yearly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type YearlyCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type YearlyCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/record/yesterday.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export type YesterdayCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -225,6 +226,9 @@ export type YesterdayCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
4 changes: 4 additions & 0 deletions src/rest/api/v2010/account/usage/trigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ export type TriggerUsageCategory =
| "trunking-recordings"
| "trunking-secure"
| "trunking-termination"
| "tts-google"
| "turnmegabytes"
| "turnmegabytes-australia"
| "turnmegabytes-brasil"
Expand All @@ -229,6 +230,9 @@ export type TriggerUsageCategory =
| "voice-insights-ptsn-insights-on-demand-minute"
| "voice-insights-sip-interface-insights-on-demand-minute"
| "voice-insights-sip-trunking-insights-on-demand-minute"
| "voice-intelligence"
| "voice-intelligence-transcription"
| "voice-intelligence-operators"
| "wireless"
| "wireless-orders"
| "wireless-orders-artwork"
Expand Down
7 changes: 7 additions & 0 deletions src/rest/lookups/v2/phoneNumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ interface PhoneNumberResource {
identity_match: any;
reassigned_number: any;
sms_pumping_risk: any;
disposable_phone_number_risk: any;
url: string;
}

Expand All @@ -228,6 +229,7 @@ export class PhoneNumberInstance {
this.identityMatch = payload.identity_match;
this.reassignedNumber = payload.reassigned_number;
this.smsPumpingRisk = payload.sms_pumping_risk;
this.disposablePhoneNumberRisk = payload.disposable_phone_number_risk;
this.url = payload.url;

this._solution = { phoneNumber: phoneNumber || this.phoneNumber };
Expand Down Expand Up @@ -289,6 +291,10 @@ export class PhoneNumberInstance {
* An object that contains information on if a phone number has been currently or previously blocked by Verify Fraud Guard for receiving malicious SMS pumping traffic as well as other signals associated with risky carriers and low conversion rates.
*/
smsPumpingRisk: any;
/**
* An object that contains information on if a mobile phone number could be a disposable or burner number.
*/
disposablePhoneNumberRisk: any;
/**
* The absolute URL of the resource.
*/
Expand Down Expand Up @@ -352,6 +358,7 @@ export class PhoneNumberInstance {
identityMatch: this.identityMatch,
reassignedNumber: this.reassignedNumber,
smsPumpingRisk: this.smsPumpingRisk,
disposablePhoneNumberRisk: this.disposablePhoneNumberRisk,
url: this.url,
};
}
Expand Down
Loading

0 comments on commit 54a1699

Please sign in to comment.