Skip to content

Commit

Permalink
[Librarian] Regenerated @ 1baa147fbfa3bf2798f86ec43796ef1df42570d4 a3…
Browse files Browse the repository at this point in the history
…170b07f36450c6d179edf9b044cbf5f6b94e3a
  • Loading branch information
twilio-dx committed May 24, 2024
1 parent 0addf39 commit 4e65af4
Show file tree
Hide file tree
Showing 32 changed files with 4,568 additions and 642 deletions.
46 changes: 46 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
twilio-node changelog
=====================

[2024-05-24] Version 5.1.0
--------------------------
**Library - Fix**
- [PR #1022](https://github.com/twilio/twilio-node/pull/1022): corrected options.validate to default true. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!

**Library - Chore**
- [PR #1020](https://github.com/twilio/twilio-node/pull/1020): removing previewMessaging reference. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!

**Api**
- Add ie1 as supported region for UserDefinedMessage and UserDefinedMessageSubscription.

**Flex**
- Adding validated field to `plugin_versions`
- Corrected the data type for `runtime_domain`, `call_recording_webhook_url`, `crm_callback_url`, `crm_fallback_url`, `flex_url` in Flex Configuration
- Making `routing` optional in Create Interactions endpoint

**Intelligence**
- Expose operator authoring apis to public visibility
- Deleted `language_code` parameter from updating service in v2 **(breaking change)**
- Add read_only_attached_operator_sids to v2 services

**Numbers**
- Add API endpoint for GET Porting Webhook Configurations By Account SID
- Remove bulk portability api under version `/v1`. **(breaking change)**
- Removed porting_port_in_fetch.json files and move the content into porting_port_in.json files
- Add API endpoint to deleting Webhook Configurations
- Add Get Phone Number by Port in request SID and Phone Number SID api
- Add Create Porting webhook configuration API
- Added bundle_sid and losing_carrier_information fields to Create PortInRequest api to support Japan porting

**Taskrouter**
- Add back `routing_target` property to tasks
- Add back `ignore_capacity` property to tasks
- Removing `routing_target` property to tasks due to revert
- Removing `ignore_capacity` property to tasks due to revert
- Add `routing_target` property to tasks
- Add `ignore_capacity` property to tasks

**Trusthub**
- Add new field errors to bundle as part of public API response in customer_profile.json and trust_product.json **(breaking change)**
- Add themeSetId field in compliance_tollfree_inquiry.

**Verify**
- Update `friendly_name` description on service docs


[2024-04-18] Version 5.0.4
--------------------------
**Library - Chore**
Expand Down
6 changes: 6 additions & 0 deletions src/rest/ContentBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

import Domain from "../base/Domain";
import V1 from "./content/V1";
import V2 from "./content/V2";

class ContentBase extends Domain {
_v1?: V1;
_v2?: V2;

/**
* Initialize content domain
Expand All @@ -28,6 +30,10 @@ class ContentBase extends Domain {
this._v1 = this._v1 || new V1(this);
return this._v1;
}
get v2(): V2 {
this._v2 = this._v2 || new V2(this);
return this._v2;
}
}

export = ContentBase;
2 changes: 1 addition & 1 deletion src/rest/api/v2010/account/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export class MessageInstance {
numMedia: string;
status: MessageStatus;
/**
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) associated with the Message resource. The value is `null` if a Messaging Service was not used.
* The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) associated with the Message resource. A unique default value is assigned if a Messaging Service is not used.
*/
messagingServiceSid: string;
/**
Expand Down
47 changes: 47 additions & 0 deletions src/rest/content/V2.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Content
* This is the public Twilio REST API.
*
* NOTE: This class is auto generated by OpenAPI Generator.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import ContentBase from "../ContentBase";
import Version from "../../base/Version";
import { ContentListInstance } from "./v2/content";
import { ContentAndApprovalsListInstance } from "./v2/contentAndApprovals";

export default class V2 extends Version {
/**
* Initialize the V2 version of Content
*
* @param domain - The Twilio (Twilio.Content) domain
*/
constructor(domain: ContentBase) {
super(domain, "v2");
}

/** contents - { Twilio.Content.V2.ContentListInstance } resource */
protected _contents?: ContentListInstance;
/** contentAndApprovals - { Twilio.Content.V2.ContentAndApprovalsListInstance } resource */
protected _contentAndApprovals?: ContentAndApprovalsListInstance;

/** Getter for contents resource */
get contents(): ContentListInstance {
this._contents = this._contents || ContentListInstance(this);
return this._contents;
}

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

0 comments on commit 4e65af4

Please sign in to comment.