Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit05d14cc

Browse files
committed
[Librarian] Regenerated @ 967832a5f99248b8f29e15ebffef693b3540f4df 6d26e026aeb767bd3d3bad21fb12fa291a3bba00
1 parent3b56d63 commit05d14cc

File tree

18 files changed

+1960
-41
lines changed

18 files changed

+1960
-41
lines changed

‎CHANGES.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
twilio-ruby changelog
22
=====================
33

4+
[2025-09-25] Version 7.8.2
5+
--------------------------
6+
**Api**
7+
- Added optional parameter`CallerDisplayName` for conference participant outbound
8+
- Updated description for property`to` in the participant create request
9+
10+
411
[2025-09-18] Version 7.8.1
512
--------------------------
613
**Library - Chore**

‎lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def initialize(version, account_sid: nil, conference_sid: nil)
3636
##
3737
# Create the ParticipantInstance
3838
# @param [String] from The phone number, Client identifier, or username portion of SIP address that made this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). Client identifiers are formatted `client:name`. If using a phone number, it must be a Twilio number or a Verified [outgoing caller id](https://www.twilio.com/docs/voice/api/outgoing-caller-ids) for your account. If the `to` parameter is a phone number, `from` must also be a phone number. If `to` is sip address, this value of `from` should be a username portion to be used to populate the P-Asserted-Identity header that is passed to the SIP endpoint.
39-
# @param [String] to The phone number, SIP address,orClientidentifier that received this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). SIP addresses are formatted as `sip:name@company.com`. Client identifiers are formatted `client:name`. [Custom parameters](https://www.twilio.com/docs/voice/api/conference-participant-resource#custom-parameters) may also be specified.
39+
# @param [String] to The phone number, SIP address, Client, TwiML Appidentifier that received this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). SIP addresses are formatted as `sip:name@company.com`. Client identifiers are formatted `client:name`. TwiML App identifiers are formatted `app:<APP_SID>`. [Custom parameters](https://www.twilio.com/docs/voice/api/conference-participant-resource#custom-parameters) may also be specified.
4040
# @param [String] status_callback The URL we should call using the `status_callback_method` to send status information to your application.
4141
# @param [String] status_callback_method The HTTP method we should use to call `status_callback`. Can be: `GET` and `POST` and defaults to `POST`.
4242
# @param [Array[String]] status_callback_event The conference state changes that should generate a call to `status_callback`. Can be: `initiated`, `ringing`, `answered`, and `completed`. Separate multiple values with a space. The default value is `completed`.
@@ -83,6 +83,7 @@ def initialize(version, account_sid: nil, conference_sid: nil)
8383
# @param [String] amd_status_callback_method The HTTP method we should use when calling the `amd_status_callback` URL. Can be: `GET` or `POST` and the default is `POST`.
8484
# @param [String] trim Whether to trim any leading and trailing silence from the participant recording. Can be: `trim-silence` or `do-not-trim` and the default is `trim-silence`.
8585
# @param [String] call_token A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call's call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call.
86+
# @param [String] caller_display_name The name that appears to the called party for this call. Must be between 2 and 255 characters.
8687
# @return [ParticipantInstance] Created ParticipantInstance
8788
defcreate(
8889
from:nil,
@@ -132,7 +133,8 @@ def create(
132133
amd_status_callback::unset,
133134
amd_status_callback_method::unset,
134135
trim::unset,
135-
call_token::unset
136+
call_token::unset,
137+
caller_display_name::unset
136138
)
137139

138140
data=Twilio::Values.of({
@@ -184,6 +186,7 @@ def create(
184186
'AmdStatusCallbackMethod'=>amd_status_callback_method,
185187
'Trim'=>trim,
186188
'CallToken'=>call_token,
189+
'CallerDisplayName'=>caller_display_name,
187190
})
188191

189192
headers=Twilio::Values.of({'Content-Type'=>'application/x-www-form-urlencoded',})

‎lib/twilio-ruby/rest/client.rb‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ def ip_messaging
9292
@ip_messaging ||=IpMessaging.newself
9393
end
9494
##
95+
# Access the Knowledge Twilio Domain
96+
defknowledge
97+
@knowledge ||=Knowledge.newself
98+
end
99+
##
95100
# Access the Lookups Twilio Domain
96101
deflookups
97102
@lookups ||=Lookups.newself

‎lib/twilio-ruby/rest/knowledge.rb‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
moduleTwilio
2+
moduleREST
3+
classKnowledge <KnowledgeBase;
4+
end
5+
end
6+
end
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
##
2+
# This code was generated by
3+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
#
7+
# Twilio - Knowledge
8+
# This is the public Twilio REST API.
9+
#
10+
# NOTE: This class is auto generated by OpenAPI Generator.
11+
# https://openapi-generator.tech
12+
# Do not edit the class manually.
13+
#
14+
15+
moduleTwilio
16+
moduleREST
17+
classKnowledge
18+
classV1 <Version
19+
##
20+
# Initialize the V1 version of Knowledge
21+
definitialize(domain)
22+
super
23+
@version='v1'
24+
@knowledge=nil
25+
end
26+
27+
##
28+
# @param [String] id
29+
# @return [Twilio::REST::Knowledge::V1::KnowledgeContext] if id was passed.
30+
# @return [Twilio::REST::Knowledge::V1::KnowledgeList]
31+
defknowledge(id=:unset)
32+
ifid.nil?
33+
raiseArgumentError,'id cannot be nil'
34+
end
35+
ifid ==:unset
36+
@knowledge ||=KnowledgeList.newself
37+
else
38+
KnowledgeContext.new(self,id)
39+
end
40+
end
41+
##
42+
# Provide a user friendly representation
43+
defto_s
44+
'<Twilio::REST::Knowledge::V1>';
45+
end
46+
end
47+
end
48+
end
49+
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp