Skip to content

Commit

Permalink
[Librarian] Regenerated @ 24dcf52b3ba6769ea21d08329aa544a79742b6c2
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Nov 17, 2023
1 parent ce0804c commit 5a3916d
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 213 deletions.
26 changes: 26 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
twilio-node changelog
=====================

[2023-11-17] Version 4.19.2
---------------------------
**Library - Chore**
- [PR #971](https://github.com/twilio/twilio-node/pull/971): Update axios to 1.6 to pull in fix for CVE 2023 45857. Thanks to [@kitu-apietila](https://github.com/kitu-apietila)!
- [PR #963](https://github.com/twilio/twilio-node/pull/963): Removing Test Related To Deprecated Endpoint - OAuth. Thanks to [@KobeBrooks](https://github.com/KobeBrooks)!
- [PR #958](https://github.com/twilio/twilio-node/pull/958): twilio help changes. Thanks to [@kridai](https://github.com/kridai)!
- [PR #978](https://github.com/twilio/twilio-node/pull/978): Removed LTS version. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!

**Api**
- Update documentation to reflect RiskCheck GA

**Messaging**
- Add tollfree edit_allowed and edit_reason fields
- Update Phone Number, Short Code, Alpha Sender, US A2P and Channel Sender documentation

**Taskrouter**
- Add container attribute to task_queue_bulk_real_time_statistics endpoint

**Trusthub**
- Rename did to tollfree_phone_number in compliance_tollfree_inquiry.json
- Add new optional field notification_email to compliance_tollfree_inquiry.json

**Verify**
- Add `Tags` optional parameter on Verification creation.


[2023-11-06] Version 4.19.1
---------------------------
**Flex**
Expand Down
3 changes: 0 additions & 3 deletions src/rest/insights/v1/call/annotation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,6 @@ export class AnnotationInstance {
* Incident or support ticket associated with this call. The `incident` property is of type string with a maximum character limit of 100. Twilio does not treat this field as PII, so no PII should be included in `incident`.
*/
incident: string;
/**
* The URL of this resource.
*/
url: string;

private get _proxy(): AnnotationContext {
Expand Down
3 changes: 3 additions & 0 deletions src/rest/messaging/v1/service/channelSender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ export class ChannelSenderInstance {
* The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
*/
dateUpdated: Date;
/**
* The absolute URL of the ChannelSender resource.
*/
url: string;

private get _proxy(): ChannelSenderContext {
Expand Down
11 changes: 11 additions & 0 deletions src/rest/messaging/v1/tollfreeVerification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export interface TollfreeVerificationContextUpdateOptions {
businessContactEmail?: string;
/** The phone number of the contact for the business or organization using the Tollfree number. */
businessContactPhone?: string;
/** Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to \\\'Website fixed\\\'. */
editReason?: string;
}

/**
Expand Down Expand Up @@ -358,6 +360,8 @@ export class TollfreeVerificationContextImpl
data["BusinessContactEmail"] = params["businessContactEmail"];
if (params["businessContactPhone"] !== undefined)
data["BusinessContactPhone"] = params["businessContactPhone"];
if (params["editReason"] !== undefined)
data["EditReason"] = params["editReason"];

const headers: any = {};
headers["Content-Type"] = "application/x-www-form-urlencoded";
Expand Down Expand Up @@ -439,6 +443,7 @@ interface TollfreeVerificationResource {
rejection_reason: string;
error_code: number;
edit_expiration: Date;
edit_allowed: boolean;
resource_links: any;
external_reference_id: string;
}
Expand Down Expand Up @@ -485,6 +490,7 @@ export class TollfreeVerificationInstance {
this.rejectionReason = payload.rejection_reason;
this.errorCode = deserialize.integer(payload.error_code);
this.editExpiration = deserialize.iso8601DateTime(payload.edit_expiration);
this.editAllowed = payload.edit_allowed;
this.resourceLinks = payload.resource_links;
this.externalReferenceId = payload.external_reference_id;

Expand Down Expand Up @@ -617,6 +623,10 @@ export class TollfreeVerificationInstance {
* The date and time when the ability to edit a rejected verification expires.
*/
editExpiration: Date;
/**
* If a rejected verification is allowed to be edited/resubmitted. Some rejection reasons allow editing and some do not.
*/
editAllowed: boolean;
/**
* The URLs of the documents associated with the Tollfree Verification resource.
*/
Expand Down Expand Up @@ -729,6 +739,7 @@ export class TollfreeVerificationInstance {
rejectionReason: this.rejectionReason,
errorCode: this.errorCode,
editExpiration: this.editExpiration,
editAllowed: this.editAllowed,
resourceLinks: this.resourceLinks,
externalReferenceId: this.externalReferenceId,
};
Expand Down
8 changes: 4 additions & 4 deletions src/rest/taskrouter/v1/workspace/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export interface TaskListInstanceEachOptions {
evaluateTaskAttributes?: string;
/** How to order the returned Task resources. By default, Tasks are sorted by ascending DateCreated. This value is specified as: `Attribute:Order`, where `Attribute` can be either `DateCreated`, `Priority`, or `VirtualStartTime` and `Order` can be either `asc` or `desc`. For example, `Priority:desc` returns Tasks ordered in descending order of their Priority. Pairings of sort orders can be specified in a comma-separated list such as `Priority:desc,DateCreated:asc`, which returns the Tasks in descending Priority order and ascending DateCreated Order. The only ordering pairing not allowed is DateCreated and VirtualStartTime. */
ordering?: string;
/** Whether to read Tasks with addons. If `true`, returns only Tasks with addons. If `false`, returns only Tasks without addons. */
/** Whether to read Tasks with Add-ons. If `true`, returns only Tasks with Add-ons. If `false`, returns only Tasks without Add-ons. */
hasAddons?: boolean;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
Expand Down Expand Up @@ -126,7 +126,7 @@ export interface TaskListInstanceOptions {
evaluateTaskAttributes?: string;
/** How to order the returned Task resources. By default, Tasks are sorted by ascending DateCreated. This value is specified as: `Attribute:Order`, where `Attribute` can be either `DateCreated`, `Priority`, or `VirtualStartTime` and `Order` can be either `asc` or `desc`. For example, `Priority:desc` returns Tasks ordered in descending order of their Priority. Pairings of sort orders can be specified in a comma-separated list such as `Priority:desc,DateCreated:asc`, which returns the Tasks in descending Priority order and ascending DateCreated Order. The only ordering pairing not allowed is DateCreated and VirtualStartTime. */
ordering?: string;
/** Whether to read Tasks with addons. If `true`, returns only Tasks with addons. If `false`, returns only Tasks without addons. */
/** Whether to read Tasks with Add-ons. If `true`, returns only Tasks with Add-ons. If `false`, returns only Tasks without Add-ons. */
hasAddons?: boolean;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
Expand Down Expand Up @@ -154,7 +154,7 @@ export interface TaskListInstancePageOptions {
evaluateTaskAttributes?: string;
/** How to order the returned Task resources. By default, Tasks are sorted by ascending DateCreated. This value is specified as: `Attribute:Order`, where `Attribute` can be either `DateCreated`, `Priority`, or `VirtualStartTime` and `Order` can be either `asc` or `desc`. For example, `Priority:desc` returns Tasks ordered in descending order of their Priority. Pairings of sort orders can be specified in a comma-separated list such as `Priority:desc,DateCreated:asc`, which returns the Tasks in descending Priority order and ascending DateCreated Order. The only ordering pairing not allowed is DateCreated and VirtualStartTime. */
ordering?: string;
/** Whether to read Tasks with addons. If `true`, returns only Tasks with addons. If `false`, returns only Tasks without addons. */
/** Whether to read Tasks with Add-ons. If `true`, returns only Tasks with Add-ons. If `false`, returns only Tasks without Add-ons. */
hasAddons?: boolean;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
Expand Down Expand Up @@ -484,7 +484,7 @@ export class TaskInstance {
*/
attributes: string;
/**
* An object that contains the [addon](https://www.twilio.com/docs/taskrouter/marketplace) data for all installed addons.
* An object that contains the [Add-on](https://www.twilio.com/docs/add-ons) data for all installed Add-ons.
*/
addons: string;
/**
Expand Down
Loading

0 comments on commit 5a3916d

Please sign in to comment.