Skip to content

Commit

Permalink
Merge branch 'main' into query-param-delete
Browse files Browse the repository at this point in the history
  • Loading branch information
manisha1997 authored Dec 14, 2023
2 parents 30fd6b3 + 9db1a24 commit c4d7120
Show file tree
Hide file tree
Showing 15 changed files with 362 additions and 35 deletions.
24 changes: 24 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
twilio-ruby changelog
=====================

[2023-12-14] Version 6.9.0
--------------------------
**Api**
- Updated service base url for connect apps and authorized connect apps APIs **(breaking change)**

**Events**
- Marked as GA

**Insights**
- decommission voice-qualitystats-endpoint role

**Numbers**
- Add Get Port In request api

**Taskrouter**
- Add `jitter_buffer_size` param in update reservation

**Trusthub**
- Add additional optional fields in compliance_tollfree_inquiry.json

**Verify**
- Remove `Tags` from Public Docs **(breaking change)**


[2023-12-01] Version 6.8.3
--------------------------
**Verify**
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
To install using [Bundler][bundler] grab the latest stable version:

```ruby
gem 'twilio-ruby', '~> 6.8.3'
gem 'twilio-ruby', '~> 6.9.0'
```

To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:

```bash
gem install twilio-ruby -v 6.8.3
gem install twilio-ruby -v 6.9.0
```

To build and install the development branch yourself from the latest source:
Expand Down
14 changes: 0 additions & 14 deletions lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ def initialize(version, payload , account_sid: nil, connect_app_sid: nil)
'connect_app_friendly_name' => payload['connect_app_friendly_name'],
'connect_app_homepage_url' => payload['connect_app_homepage_url'],
'connect_app_sid' => payload['connect_app_sid'],
'date_created' => Twilio.deserialize_rfc2822(payload['date_created']),
'date_updated' => Twilio.deserialize_rfc2822(payload['date_updated']),
'permissions' => payload['permissions'],
'uri' => payload['uri'],
}
Expand Down Expand Up @@ -278,18 +276,6 @@ def connect_app_sid
@properties['connect_app_sid']
end

##
# @return [Time] The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
def date_created
@properties['date_created']
end

##
# @return [Time] The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
def date_updated
@properties['date_updated']
end

##
# @return [Array<Permission>] The set of permissions that you authorized for the Connect App. Can be: `get-all` or `post-all`.
def permissions
Expand Down
2 changes: 0 additions & 2 deletions lib/twilio-ruby/rest/events/v1/event_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ def to_s
end


##
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class EventTypeContext < InstanceContext
##
# Initialize the EventTypeContext
Expand Down
2 changes: 0 additions & 2 deletions lib/twilio-ruby/rest/events/v1/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def to_s
end


##
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class SchemaContext < InstanceContext
##
# Initialize the SchemaContext
Expand Down
2 changes: 0 additions & 2 deletions lib/twilio-ruby/rest/events/v1/schema/schema_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ def to_s
end


##
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class SchemaVersionContext < InstanceContext
##
# Initialize the SchemaVersionContext
Expand Down
2 changes: 0 additions & 2 deletions lib/twilio-ruby/rest/events/v1/sink.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@ def to_s
end


##
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class SinkContext < InstanceContext
##
# Initialize the SinkContext
Expand Down
2 changes: 0 additions & 2 deletions lib/twilio-ruby/rest/events/v1/subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ def to_s
end


##
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class SubscriptionContext < InstanceContext
##
# Initialize the SubscriptionContext
Expand Down
10 changes: 4 additions & 6 deletions lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def initialize(version, subscription_sid: nil)
##
# Create the SubscribedEventInstance
# @param [String] type Type of event being subscribed to.
# @param [String] schema_version The schema version that the subscription should use.
# @param [String] schema_version The schema version that the Subscription should use.
# @return [SubscribedEventInstance] Created SubscribedEventInstance
def create(
type: nil,
Expand Down Expand Up @@ -148,8 +148,6 @@ def to_s
end


##
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class SubscribedEventContext < InstanceContext
##
# Initialize the SubscribedEventContext
Expand Down Expand Up @@ -190,7 +188,7 @@ def fetch

##
# Update the SubscribedEventInstance
# @param [String] schema_version The schema version that the subscription should use.
# @param [String] schema_version The schema version that the Subscription should use.
# @return [SubscribedEventInstance] Updated SubscribedEventInstance
def update(
schema_version: :unset
Expand Down Expand Up @@ -304,7 +302,7 @@ def type
end

##
# @return [String] The schema version that the subscription should use.
# @return [String] The schema version that the Subscription should use.
def schema_version
@properties['schema_version']
end
Expand Down Expand Up @@ -339,7 +337,7 @@ def fetch

##
# Update the SubscribedEventInstance
# @param [String] schema_version The schema version that the subscription should use.
# @param [String] schema_version The schema version that the Subscription should use.
# @return [SubscribedEventInstance] Updated SubscribedEventInstance
def update(
schema_version: :unset
Expand Down
15 changes: 15 additions & 0 deletions lib/twilio-ruby/rest/numbers/v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def initialize(domain)
@version = 'v1'
@bulk_eligibilities = nil
@porting_bulk_portabilities = nil
@porting_port_ins = nil
@porting_portabilities = nil
end

Expand Down Expand Up @@ -55,6 +56,20 @@ def porting_bulk_portabilities(sid=:unset)
end
end
##
# @param [String] port_in_request_sid The SID of the Port In request. This is a unique identifier of the port in request.
# @return [Twilio::REST::Numbers::V1::PortingPortInFetchContext] if portInRequestSid was passed.
# @return [Twilio::REST::Numbers::V1::PortingPortInFetchList]
def porting_port_ins(port_in_request_sid=:unset)
if port_in_request_sid.nil?
raise ArgumentError, 'port_in_request_sid cannot be nil'
end
if port_in_request_sid == :unset
@porting_port_ins ||= PortingPortInFetchList.new self
else
PortingPortInFetchContext.new(self, port_in_request_sid)
end
end
##
# @param [String] phone_number The phone number which portability is to be checked. Phone numbers are in E.164 format (e.g. +16175551212).
# @return [Twilio::REST::Numbers::V1::PortingPortabilityContext] if phoneNumber was passed.
# @return [Twilio::REST::Numbers::V1::PortingPortabilityList]
Expand Down
Loading

0 comments on commit c4d7120

Please sign in to comment.