twilio-ruby 6.8.0 → 6.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +41 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/client.rb +0 -5
- data/lib/twilio-ruby/rest/{oauth/v1/oauth.rb → flex_api/v1/provisioning_status.rb} +39 -37
- data/lib/twilio-ruby/rest/flex_api/v1.rb +6 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +1 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +1 -1
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +31 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +154 -0
- data/lib/twilio-ruby/rest/trusthub/v1.rb +6 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +4 -1
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +4 -10
- data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +0 -171
- data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +0 -262
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -179
- data/lib/twilio-ruby/rest/oauth/v1/user_info.rb +0 -213
- data/lib/twilio-ruby/rest/oauth/v1.rb +0 -64
- data/lib/twilio-ruby/rest/oauth.rb +0 -33
- data/lib/twilio-ruby/rest/oauth_base.rb +0 -38
@@ -1,64 +0,0 @@
|
|
1
|
-
##
|
2
|
-
# This code was generated by
|
3
|
-
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
4
|
-
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
5
|
-
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
6
|
-
#
|
7
|
-
# Twilio - Oauth
|
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
|
-
module Twilio
|
16
|
-
module REST
|
17
|
-
class Oauth
|
18
|
-
class V1 < Version
|
19
|
-
##
|
20
|
-
# Initialize the V1 version of Oauth
|
21
|
-
def initialize(domain)
|
22
|
-
super
|
23
|
-
@version = 'v1'
|
24
|
-
@device_code = nil
|
25
|
-
@oauth = nil
|
26
|
-
@openid_discovery = nil
|
27
|
-
@token = nil
|
28
|
-
@user_info = nil
|
29
|
-
end
|
30
|
-
|
31
|
-
##
|
32
|
-
# @return [Twilio::REST::Oauth::V1::DeviceCodeList]
|
33
|
-
def device_code
|
34
|
-
@device_code ||= DeviceCodeList.new self
|
35
|
-
end
|
36
|
-
##
|
37
|
-
# @return [Twilio::REST::Oauth::V1::oauthContext]
|
38
|
-
def oauth
|
39
|
-
@oauth ||= OauthContext.new self
|
40
|
-
end
|
41
|
-
##
|
42
|
-
# @return [Twilio::REST::Oauth::V1::openidDiscoveryContext]
|
43
|
-
def openid_discovery
|
44
|
-
@openid_discovery ||= OpenidDiscoveryContext.new self
|
45
|
-
end
|
46
|
-
##
|
47
|
-
# @return [Twilio::REST::Oauth::V1::TokenList]
|
48
|
-
def token
|
49
|
-
@token ||= TokenList.new self
|
50
|
-
end
|
51
|
-
##
|
52
|
-
# @return [Twilio::REST::Oauth::V1::userInfoContext]
|
53
|
-
def user_info
|
54
|
-
@user_info ||= UserInfoContext.new self
|
55
|
-
end
|
56
|
-
##
|
57
|
-
# Provide a user friendly representation
|
58
|
-
def to_s
|
59
|
-
'<Twilio::REST::Oauth::V1>';
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
@@ -1,33 +0,0 @@
|
|
1
|
-
module Twilio
|
2
|
-
module REST
|
3
|
-
class Oauth < OauthBase
|
4
|
-
##
|
5
|
-
# @return [Twilio::REST::Oauth::V1::OauthInstance]
|
6
|
-
def oauth
|
7
|
-
warn "oauth is deprecated. Use v1.oauth instead."
|
8
|
-
self.v1.oauth()
|
9
|
-
end
|
10
|
-
|
11
|
-
##
|
12
|
-
# @return [Twilio::REST::Oauth::V1::OpenidDiscoveryInstance]
|
13
|
-
def openid_discovery
|
14
|
-
warn "openid_discovery is deprecated. Use v1.openid_discovery instead."
|
15
|
-
self.v1.openid_discovery()
|
16
|
-
end
|
17
|
-
|
18
|
-
##
|
19
|
-
# @return [Twilio::REST::Oauth::V1::TokenInstance]
|
20
|
-
def token
|
21
|
-
warn "token is deprecated. Use v1.token instead."
|
22
|
-
self.v1.token()
|
23
|
-
end
|
24
|
-
|
25
|
-
##
|
26
|
-
# @return [Twilio::REST::Oauth::V1::UserInfoInstance]
|
27
|
-
def user_info
|
28
|
-
warn "user_info is deprecated. Use v1.user_info instead."
|
29
|
-
self.v1.user_info()
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
##
|
2
|
-
# This code was generated by
|
3
|
-
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
4
|
-
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
5
|
-
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
6
|
-
#
|
7
|
-
# NOTE: This class is auto generated by OpenAPI Generator.
|
8
|
-
# https://openapi-generator.tech
|
9
|
-
# Do not edit the class manually.
|
10
|
-
# frozen_string_literal: true
|
11
|
-
module Twilio
|
12
|
-
module REST
|
13
|
-
class OauthBase < Domain
|
14
|
-
##
|
15
|
-
# Initialize oauth domain
|
16
|
-
#
|
17
|
-
# @param twilio - The twilio client
|
18
|
-
#
|
19
|
-
def initialize(twilio)
|
20
|
-
super(twilio)
|
21
|
-
@base_url = "https://oauth.twilio.com"
|
22
|
-
@host = "oauth.twilio.com"
|
23
|
-
@port = 443
|
24
|
-
@v1 = nil
|
25
|
-
end
|
26
|
-
|
27
|
-
def v1
|
28
|
-
@v1 ||= Oauth::V1.new self
|
29
|
-
end
|
30
|
-
|
31
|
-
##
|
32
|
-
# Provide a user friendly representation
|
33
|
-
def to_s
|
34
|
-
'<Twilio::REST::Oauth::V1>';
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|