Skip to content

Commit

Permalink
[Librarian] Regenerated @ 063fefeb406fa3d6866703c240040a1e9146ca75
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Mar 22, 2023
1 parent 2f1949f commit 8a6b986
Show file tree
Hide file tree
Showing 16 changed files with 1,869 additions and 18 deletions.
27 changes: 27 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
twilio-node changelog
=====================

[2023-03-22] Version 4.9.0
--------------------------
**Library - Fix**
- [PR #925](https://github.com/twilio/twilio-node/pull/925): use correct Headers type. Thanks to [@Methuselah96](https://github.com/Methuselah96)!
- [PR #921](https://github.com/twilio/twilio-node/pull/921): correct the enum names. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
- [PR #920](https://github.com/twilio/twilio-node/pull/920): revert the structural changes to the AccessToken class/namespace. Thanks to [@childish-sambino](https://github.com/childish-sambino)!

**Library - Docs**
- [PR #918](https://github.com/twilio/twilio-node/pull/918): Show auth token in webhook validation example. Thanks to [@asportnoy](https://github.com/asportnoy)!

**Api**
- Revert Corrected the data type for `friendly_name` in Available Phone Number Local, Mobile and TollFree resources
- Corrected the data type for `friendly_name` in Available Phone Number Local, Mobile and TollFree resources **(breaking change)**
- Add new categories for whatsapp template

**Lookups**
- Remove `validation_results` from the `default_output_properties`

**Messaging**
- Add `linkshortening_messaging_service` resource
- Add new endpoint for GetDomainConfigByMessagingServiceSid
- Remove `validated` parameter and add `cert_in_validation` parameter to Link Shortening API **(breaking change)**

**Supersim**
- Add ESimProfile's `matching_id` and `activation_code` parameters to libraries


[2023-02-22] Version 4.8.0
--------------------------
**Library - Feature**
Expand Down
6 changes: 3 additions & 3 deletions src/rest/api/v2010/account/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { MemberListInstance } from "./queue/member";
export interface QueueContextUpdateOptions {
/** A descriptive string that you created to describe this resource. It can be up to 64 characters long. */
friendlyName?: string;
/** The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. */
/** The maximum number of calls allowed to be in the queue. The default is 1000. The maximum is 5000. */
maxSize?: number;
}

Expand All @@ -37,7 +37,7 @@ export interface QueueContextUpdateOptions {
export interface QueueListInstanceCreateOptions {
/** A descriptive string that you created to describe this resource. It can be up to 64 characters long. */
friendlyName: string;
/** The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. */
/** The maximum number of calls allowed to be in the queue. The default is 1000. The maximum is 5000. */
maxSize?: number;
}
/**
Expand Down Expand Up @@ -344,7 +344,7 @@ export class QueueInstance {
*/
dateCreated: Date;
/**
* The maximum number of calls that can be in the queue. The default is 100 and the maximum is 5000.
* The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000.
*/
maxSize: number;

Expand Down
10 changes: 10 additions & 0 deletions src/rest/content/V1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import ContentBase from "../ContentBase";
import Version from "../../base/Version";
import { ContentListInstance } from "./v1/content";
import { ContentAndApprovalsListInstance } from "./v1/contentAndApprovals";
import { LegacyContentListInstance } from "./v1/legacyContent";

export default class V1 extends Version {
Expand All @@ -29,6 +30,8 @@ export default class V1 extends Version {

/** contents - { Twilio.Content.V1.ContentListInstance } resource */
protected _contents?: ContentListInstance;
/** contentAndApprovals - { Twilio.Content.V1.ContentAndApprovalsListInstance } resource */
protected _contentAndApprovals?: ContentAndApprovalsListInstance;
/** legacyContents - { Twilio.Content.V1.LegacyContentListInstance } resource */
protected _legacyContents?: LegacyContentListInstance;

Expand All @@ -38,6 +41,13 @@ export default class V1 extends Version {
return this._contents;
}

/** Getter for contentAndApprovals resource */
get contentAndApprovals(): ContentAndApprovalsListInstance {
this._contentAndApprovals =
this._contentAndApprovals || ContentAndApprovalsListInstance(this);
return this._contentAndApprovals;
}

/** Getter for legacyContents resource */
get legacyContents(): LegacyContentListInstance {
this._legacyContents =
Expand Down
Loading

0 comments on commit 8a6b986

Please sign in to comment.