Skip to content

Commit a19ae98

Browse files
committed
[Librarian] Regenerated @ d9b0f7b0297f064eec2f219b29fd4193559c54f3 405f363a58346c6557d4194de16d9911b797e208
1 parent 6dde8ea commit a19ae98

File tree

11 files changed

+302
-58
lines changed

11 files changed

+302
-58
lines changed

CHANGES.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
twilio-ruby changelog
22
=====================
33

4+
[2025-01-13] Version 7.4.2
5+
--------------------------
6+
**Library - Chore**
7+
- [PR #739](https://github.com/twilio/twilio-ruby/pull/739): add ostruct and benchmark in gemfile. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
8+
- [PR #738](https://github.com/twilio/twilio-ruby/pull/738): add ostruct in gemfile. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
9+
10+
**Messaging**
11+
- Adds validity period Default value in service resource documentation
12+
13+
414
[2025-01-09] Version 7.4.1
515
--------------------------
616
**Library - Chore**

lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def initialize(version, account_sid: nil, call_sid: nil)
4848
# @param [String] speech_model Recognition model used by the transcription engine, among those supported by the provider
4949
# @param [String] hints A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
5050
# @param [Boolean] enable_automatic_punctuation The provider will add punctuation to recognition result
51-
# @param [String] intelligence_service The SID or the unique name of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) to process the transcription.
51+
# @param [String] intelligence_service The SID of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators .
5252
# @return [TranscriptionInstance] Created TranscriptionInstance
5353
def create(
5454
name: :unset,

lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def fetch
7777
##
7878
# Update the WebhookInstance
7979
# @param [String] method The HTTP method to be used when sending a webhook request.
80-
# @param [Array[String]] filters The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`
80+
# @param [Array[String]] filters The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onMessageAdd`, `onMessageUpdate`, `onMessageRemove`, `onConversationUpdated`, `onConversationRemoved`, `onConversationAdd`, `onConversationAdded`, `onConversationRemove`, `onConversationUpdate`, `onConversationStateUpdated`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onParticipantAdd`, `onParticipantRemove`, `onParticipantUpdate`, `onDeliveryUpdated`, `onUserAdded`, `onUserUpdate`, `onUserUpdated`
8181
# @param [String] pre_webhook_url The absolute url the pre-event webhook request should be sent to.
8282
# @param [String] post_webhook_url The absolute url the post-event webhook request should be sent to.
8383
# @param [Target] target
@@ -208,7 +208,7 @@ def method
208208
end
209209

210210
##
211-
# @return [Array<String>] The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`
211+
# @return [Array<String>] The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onMessageAdd`, `onMessageUpdate`, `onMessageRemove`, `onConversationUpdated`, `onConversationRemoved`, `onConversationAdd`, `onConversationAdded`, `onConversationRemove`, `onConversationUpdate`, `onConversationStateUpdated`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onParticipantAdd`, `onParticipantRemove`, `onParticipantUpdate`, `onDeliveryUpdated`, `onUserAdded`, `onUserUpdate`, `onUserUpdated`
212212
def filters
213213
@properties['filters']
214214
end
@@ -248,7 +248,7 @@ def fetch
248248
##
249249
# Update the WebhookInstance
250250
# @param [String] method The HTTP method to be used when sending a webhook request.
251-
# @param [Array[String]] filters The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`
251+
# @param [Array[String]] filters The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onMessageAdd`, `onMessageUpdate`, `onMessageRemove`, `onConversationUpdated`, `onConversationRemoved`, `onConversationAdd`, `onConversationAdded`, `onConversationRemove`, `onConversationUpdate`, `onConversationStateUpdated`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onParticipantAdd`, `onParticipantRemove`, `onParticipantUpdate`, `onDeliveryUpdated`, `onUserAdded`, `onUserUpdate`, `onUserUpdated`
252252
# @param [String] pre_webhook_url The absolute url the pre-event webhook request should be sent to.
253253
# @param [String] post_webhook_url The absolute url the post-event webhook request should be sent to.
254254
# @param [Target] target

lib/twilio-ruby/rest/iam/v1.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def initialize(domain)
2323
@version = 'v1'
2424
@api_key = nil
2525
@get_api_keys = nil
26-
@new_api_key = nil
26+
@keys = nil
2727
end
2828

2929
##
@@ -46,9 +46,9 @@ def get_api_keys
4646
@get_api_keys ||= GetApiKeysList.new self
4747
end
4848
##
49-
# @return [Twilio::REST::Iam::V1::NewApiKeyList]
50-
def new_api_key
51-
@new_api_key ||= NewApiKeyList.new self
49+
# @return [Twilio::REST::Iam::V1::KeyList]
50+
def keys
51+
@keys ||= KeyList.new self
5252
end
5353
##
5454
# Provide a user friendly representation

lib/twilio-ruby/rest/iam/v1/new_api_key.rb renamed to lib/twilio-ruby/rest/iam/v1/key.rb

+20-20
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ module Twilio
1717
module REST
1818
class Iam < IamBase
1919
class V1 < Version
20-
class NewApiKeyList < ListResource
20+
class KeyList < ListResource
2121

2222
##
23-
# Initialize the NewApiKeyList
23+
# Initialize the KeyList
2424
# @param [Version] version Version that contains the resource
25-
# @return [NewApiKeyList] NewApiKeyList
25+
# @return [KeyList] KeyList
2626
def initialize(version)
2727
super(version)
2828
# Path Solution
@@ -31,12 +31,12 @@ def initialize(version)
3131

3232
end
3333
##
34-
# Create the NewApiKeyInstance
34+
# Create the KeyInstance
3535
# @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
3636
# @param [String] friendly_name A descriptive string that you create to describe the resource. It can be up to 64 characters long.
3737
# @param [Keytype] key_type
3838
# @param [Object] policy The \\\\`Policy\\\\` object is a collection that specifies the allowed Twilio permissions for the restricted key. For more information on the permissions available with restricted API keys, refer to the [Twilio documentation](https://www.twilio.com/docs/iam/api-keys/restricted-api-keys#permissions-available-with-restricted-api-keys).
39-
# @return [NewApiKeyInstance] Created NewApiKeyInstance
39+
# @return [KeyInstance] Created KeyInstance
4040
def create(
4141
account_sid: nil,
4242
friendly_name: :unset,
@@ -58,7 +58,7 @@ def create(
5858

5959

6060
payload = @version.create('POST', @uri, data: data, headers: headers)
61-
NewApiKeyInstance.new(
61+
KeyInstance.new(
6262
@version,
6363
payload,
6464
)
@@ -69,17 +69,17 @@ def create(
6969

7070
# Provide a user friendly representation
7171
def to_s
72-
'#<Twilio.Iam.V1.NewApiKeyList>'
72+
'#<Twilio.Iam.V1.KeyList>'
7373
end
7474
end
7575

76-
class NewApiKeyPage < Page
76+
class KeyPage < Page
7777
##
78-
# Initialize the NewApiKeyPage
78+
# Initialize the KeyPage
7979
# @param [Version] version Version that contains the resource
8080
# @param [Response] response Response from the API
8181
# @param [Hash] solution Path solution for the resource
82-
# @return [NewApiKeyPage] NewApiKeyPage
82+
# @return [KeyPage] KeyPage
8383
def initialize(version, response, solution)
8484
super(version, response)
8585

@@ -88,29 +88,29 @@ def initialize(version, response, solution)
8888
end
8989

9090
##
91-
# Build an instance of NewApiKeyInstance
91+
# Build an instance of KeyInstance
9292
# @param [Hash] payload Payload response from the API
93-
# @return [NewApiKeyInstance] NewApiKeyInstance
93+
# @return [KeyInstance] KeyInstance
9494
def get_instance(payload)
95-
NewApiKeyInstance.new(@version, payload)
95+
KeyInstance.new(@version, payload)
9696
end
9797

9898
##
9999
# Provide a user friendly representation
100100
def to_s
101-
'<Twilio.Iam.V1.NewApiKeyPage>'
101+
'<Twilio.Iam.V1.KeyPage>'
102102
end
103103
end
104-
class NewApiKeyInstance < InstanceResource
104+
class KeyInstance < InstanceResource
105105
##
106-
# Initialize the NewApiKeyInstance
106+
# Initialize the KeyInstance
107107
# @param [Version] version Version that contains the resource
108108
# @param [Hash] payload payload that contains response from Twilio
109109
# @param [String] account_sid The SID of the
110-
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this NewApiKey
110+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this Key
111111
# resource.
112112
# @param [String] sid The SID of the Call resource to fetch.
113-
# @return [NewApiKeyInstance] NewApiKeyInstance
113+
# @return [KeyInstance] KeyInstance
114114
def initialize(version, payload )
115115
super(version)
116116

@@ -165,13 +165,13 @@ def policy
165165
##
166166
# Provide a user friendly representation
167167
def to_s
168-
"<Twilio.Iam.V1.NewApiKeyInstance>"
168+
"<Twilio.Iam.V1.KeyInstance>"
169169
end
170170

171171
##
172172
# Provide a detailed, user friendly representation
173173
def inspect
174-
"<Twilio.Iam.V1.NewApiKeyInstance>"
174+
"<Twilio.Iam.V1.KeyInstance>"
175175
end
176176
end
177177

lib/twilio-ruby/rest/marketplace/v1.rb

+6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def initialize(domain)
2323
@version = 'v1'
2424
@available_add_ons = nil
2525
@installed_add_ons = nil
26+
@module_data = nil
2627
@module_data_management = nil
2728
@referral_conversion = nil
2829
end
@@ -56,6 +57,11 @@ def installed_add_ons(sid=:unset)
5657
end
5758
end
5859
##
60+
# @return [Twilio::REST::Marketplace::V1::ModuleDataList]
61+
def module_data
62+
@module_data ||= ModuleDataList.new self
63+
end
64+
##
5965
# @param [String] sid The unique identifier of a Listing.
6066
# @return [Twilio::REST::Marketplace::V1::ModuleDataManagementContext] if sid was passed.
6167
# @return [Twilio::REST::Marketplace::V1::ModuleDataManagementList]

0 commit comments

Comments
 (0)