twilio-ruby 5.73.1 → 5.73.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdb1f38ca1c9845c134c63e773b2b4ca0c0a92ca
4
- data.tar.gz: '06295d094a8aaf33db0854c726930fcc02f869ec'
3
+ metadata.gz: 420da06b1b46fcad457f163296ce2b934ef3d87d
4
+ data.tar.gz: 499104cf3de9b1f2757cfcc513e4cff7a1466e42
5
5
  SHA512:
6
- metadata.gz: e54d51bd992ece7215d43ea5cab42e618166c87173283d8b300ca0c161ded07028720ec5e5492d2b30e3664b304c620569704d15749891e364acd8f5b800df7c
7
- data.tar.gz: 80faf14855805d87f599a222284d3be8782b0620d3c3fe55377ee66c98cc486e17074a0e74daaa5db025b13a8b9da50ebb6e6546c5bf50fa898bfbcc3287e6ff
6
+ metadata.gz: 333168f9d4403e1f1f49ac38d626486593548131ac316f188393b943f8bcf2b695fd7c92eee53d1a9cb427573bdce7b3e4f8548dbc6b0e442ea0c16994efe34a
7
+ data.tar.gz: 26ef0ae6cc128348d192ba8777220d4c13a12534acc36d0bcbd0f986a01ba964671233e64c752ededc5eaf4949e7382c5e39ce598f8dd0c391ddc134c9670cf9
data/CHANGES.md CHANGED
@@ -1,6 +1,18 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2022-11-10] Version 5.73.2
5
+ ---------------------------
6
+ **Flex**
7
+ - Adding two new authorization API 'user_roles' and 'gooddata' in version `v1`
8
+
9
+ **Messaging**
10
+ - Add new Campaign properties (MessageFlow, OptInMessage, OptInKeywords, OptOutMessage, OptOutKeywords, HelpMessage, HelpKeywords)
11
+
12
+ **Twiml**
13
+ - Add new speech models to `Gather`.
14
+
15
+
4
16
  [2022-10-31] Version 5.73.1
5
17
  ---------------------------
6
18
  **Api**
data/README.md CHANGED
@@ -34,13 +34,13 @@ This library supports the following Ruby implementations:
34
34
  To install using [Bundler][bundler] grab the latest stable version:
35
35
 
36
36
  ```ruby
37
- gem 'twilio-ruby', '~> 5.73.1'
37
+ gem 'twilio-ruby', '~> 5.73.2'
38
38
  ```
39
39
 
40
40
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
41
41
 
42
42
  ```bash
43
- gem install twilio-ruby -v 5.73.1
43
+ gem install twilio-ruby -v 5.73.2
44
44
  ```
45
45
 
46
46
  To build and install the development branch yourself from the latest source:
@@ -33,8 +33,8 @@ module Twilio
33
33
 
34
34
  ##
35
35
  # Create the UserDefinedMessageInstance
36
- # @param [String] content A unique string value to identify API call. This should
37
- # be a unique string value per API call and can be a randomly generated.
36
+ # @param [String] content The User Defined Message in the form of URL-encoded JSON
37
+ # string.
38
38
  # @param [String] idempotency_key A unique string value to identify API call. This
39
39
  # should be a unique string value per API call and can be a randomly generated.
40
40
  # @return [UserDefinedMessageInstance] Created UserDefinedMessageInstance
@@ -117,25 +117,25 @@ module Twilio
117
117
  end
118
118
 
119
119
  ##
120
- # @return [String] Account Sid.
120
+ # @return [String] Account SID.
121
121
  def account_sid
122
122
  @properties['account_sid']
123
123
  end
124
124
 
125
125
  ##
126
- # @return [String] Call Sid.
126
+ # @return [String] Call SID.
127
127
  def call_sid
128
128
  @properties['call_sid']
129
129
  end
130
130
 
131
131
  ##
132
- # @return [String] A string that uniquely identifies this User Defined Message.
132
+ # @return [String] User Defined Message SID.
133
133
  def sid
134
134
  @properties['sid']
135
135
  end
136
136
 
137
137
  ##
138
- # @return [Time] The date this User Defined Message was created
138
+ # @return [Time] The date this User Defined Message was created.
139
139
  def date_created
140
140
  @properties['date_created']
141
141
  end
@@ -21,8 +21,8 @@ module Twilio
21
21
  # User Defined Messages.
22
22
  # @param [String] call_sid The SID of the
23
23
  # {Call}[https://www.twilio.com/docs/voice/api/call-resource] the User Defined
24
- # Messages subscription is associated with. This refers to the call sid that is
25
- # producing the user defined messages.
24
+ # Message Subscription is associated with. This refers to the Call SID that is
25
+ # producing the User Defined Messages.
26
26
  # @return [UserDefinedMessageSubscriptionList] UserDefinedMessageSubscriptionList
27
27
  def initialize(version, account_sid: nil, call_sid: nil)
28
28
  super(version)
@@ -109,8 +109,8 @@ module Twilio
109
109
  # User Defined Messages.
110
110
  # @param [String] call_sid The SID of the
111
111
  # {Call}[https://www.twilio.com/docs/voice/api/call-resource] the User Defined
112
- # Messages subscription is associated with. This refers to the call sid that is
113
- # producing the user defined messages.
112
+ # Message Subscription is associated with. This refers to the Call SID that is
113
+ # producing the User Defined Messages.
114
114
  # @param [String] sid The SID that uniquely identifies this User Defined Message
115
115
  # Subscription.
116
116
  # @return [UserDefinedMessageSubscriptionContext] UserDefinedMessageSubscriptionContext
@@ -154,8 +154,8 @@ module Twilio
154
154
  # User Defined Messages.
155
155
  # @param [String] call_sid The SID of the
156
156
  # {Call}[https://www.twilio.com/docs/voice/api/call-resource] the User Defined
157
- # Messages subscription is associated with. This refers to the call sid that is
158
- # producing the user defined messages.
157
+ # Message Subscription is associated with. This refers to the Call SID that is
158
+ # producing the User Defined Messages.
159
159
  # @param [String] sid The SID that uniquely identifies this User Defined Message
160
160
  # Subscription.
161
161
  # @return [UserDefinedMessageSubscriptionInstance] UserDefinedMessageSubscriptionInstance
@@ -193,31 +193,31 @@ module Twilio
193
193
  end
194
194
 
195
195
  ##
196
- # @return [String] Account Sid.
196
+ # @return [String] Account SID.
197
197
  def account_sid
198
198
  @properties['account_sid']
199
199
  end
200
200
 
201
201
  ##
202
- # @return [String] Call Sid.
202
+ # @return [String] Call SID.
203
203
  def call_sid
204
204
  @properties['call_sid']
205
205
  end
206
206
 
207
207
  ##
208
- # @return [String] User Defined Message Subscription Sid
208
+ # @return [String] User Defined Message Subscription SID.
209
209
  def sid
210
210
  @properties['sid']
211
211
  end
212
212
 
213
213
  ##
214
- # @return [Time] The date this User Defined Message Subscription was created
214
+ # @return [Time] The date this User Defined Message Subscription was created.
215
215
  def date_created
216
216
  @properties['date_created']
217
217
  end
218
218
 
219
219
  ##
220
- # @return [String] The URI of the resource, relative to `https://api.twilio.com`.
220
+ # @return [String] The URI of the User Defined Message Subscription Resource, relative to `https://api.twilio.com`.
221
221
  def uri
222
222
  @properties['uri']
223
223
  end
@@ -0,0 +1,183 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+ #
7
+ # frozen_string_literal: true
8
+
9
+ module Twilio
10
+ module REST
11
+ class FlexApi < Domain
12
+ class V1 < Version
13
+ class GoodDataList < ListResource
14
+ ##
15
+ # Initialize the GoodDataList
16
+ # @param [Version] version Version that contains the resource
17
+ # @return [GoodDataList] GoodDataList
18
+ def initialize(version)
19
+ super(version)
20
+
21
+ # Path Solution
22
+ @solution = {}
23
+ end
24
+
25
+ ##
26
+ # Provide a user friendly representation
27
+ def to_s
28
+ '#<Twilio.FlexApi.V1.GoodDataList>'
29
+ end
30
+ end
31
+
32
+ class GoodDataPage < Page
33
+ ##
34
+ # Initialize the GoodDataPage
35
+ # @param [Version] version Version that contains the resource
36
+ # @param [Response] response Response from the API
37
+ # @param [Hash] solution Path solution for the resource
38
+ # @return [GoodDataPage] GoodDataPage
39
+ def initialize(version, response, solution)
40
+ super(version, response)
41
+
42
+ # Path Solution
43
+ @solution = solution
44
+ end
45
+
46
+ ##
47
+ # Build an instance of GoodDataInstance
48
+ # @param [Hash] payload Payload response from the API
49
+ # @return [GoodDataInstance] GoodDataInstance
50
+ def get_instance(payload)
51
+ GoodDataInstance.new(@version, payload, )
52
+ end
53
+
54
+ ##
55
+ # Provide a user friendly representation
56
+ def to_s
57
+ '<Twilio.FlexApi.V1.GoodDataPage>'
58
+ end
59
+ end
60
+
61
+ class GoodDataContext < InstanceContext
62
+ ##
63
+ # Initialize the GoodDataContext
64
+ # @param [Version] version Version that contains the resource
65
+ # @return [GoodDataContext] GoodDataContext
66
+ def initialize(version)
67
+ super(version)
68
+
69
+ # Path Solution
70
+ @solution = {}
71
+ @uri = "/Accounts/GoodData"
72
+ end
73
+
74
+ ##
75
+ # Create the GoodDataInstance
76
+ # @param [String] token The Token HTTP request header
77
+ # @return [GoodDataInstance] Created GoodDataInstance
78
+ def create(token: :unset)
79
+ headers = Twilio::Values.of({'Token' => token, })
80
+
81
+ payload = @version.create('POST', @uri, headers: headers)
82
+
83
+ GoodDataInstance.new(@version, payload, )
84
+ end
85
+
86
+ ##
87
+ # Provide a user friendly representation
88
+ def to_s
89
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
90
+ "#<Twilio.FlexApi.V1.GoodDataContext #{context}>"
91
+ end
92
+
93
+ ##
94
+ # Provide a detailed, user friendly representation
95
+ def inspect
96
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
97
+ "#<Twilio.FlexApi.V1.GoodDataContext #{context}>"
98
+ end
99
+ end
100
+
101
+ class GoodDataInstance < InstanceResource
102
+ ##
103
+ # Initialize the GoodDataInstance
104
+ # @param [Version] version Version that contains the resource
105
+ # @param [Hash] payload payload that contains response from Twilio
106
+ # @return [GoodDataInstance] GoodDataInstance
107
+ def initialize(version, payload)
108
+ super(version)
109
+
110
+ # Marshaled Properties
111
+ @properties = {
112
+ 'workspace_id' => payload['workspace_id'],
113
+ 'session_expiry' => payload['session_expiry'],
114
+ 'session_id' => payload['session_id'],
115
+ 'url' => payload['url'],
116
+ }
117
+
118
+ # Context
119
+ @instance_context = nil
120
+ @params = {}
121
+ end
122
+
123
+ ##
124
+ # Generate an instance context for the instance, the context is capable of
125
+ # performing various actions. All instance actions are proxied to the context
126
+ # @return [GoodDataContext] GoodDataContext for this GoodDataInstance
127
+ def context
128
+ unless @instance_context
129
+ @instance_context = GoodDataContext.new(@version, )
130
+ end
131
+ @instance_context
132
+ end
133
+
134
+ ##
135
+ # @return [String] Unique workspace ID in gooddata
136
+ def workspace_id
137
+ @properties['workspace_id']
138
+ end
139
+
140
+ ##
141
+ # @return [String] The session expiry date and time
142
+ def session_expiry
143
+ @properties['session_expiry']
144
+ end
145
+
146
+ ##
147
+ # @return [String] Unique session ID
148
+ def session_id
149
+ @properties['session_id']
150
+ end
151
+
152
+ ##
153
+ # @return [String] The URL of this resource.
154
+ def url
155
+ @properties['url']
156
+ end
157
+
158
+ ##
159
+ # Create the GoodDataInstance
160
+ # @param [String] token The Token HTTP request header
161
+ # @return [GoodDataInstance] Created GoodDataInstance
162
+ def create(token: :unset)
163
+ context.create(token: token, )
164
+ end
165
+
166
+ ##
167
+ # Provide a user friendly representation
168
+ def to_s
169
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
170
+ "<Twilio.FlexApi.V1.GoodDataInstance #{values}>"
171
+ end
172
+
173
+ ##
174
+ # Provide a detailed, user friendly representation
175
+ def inspect
176
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
177
+ "<Twilio.FlexApi.V1.GoodDataInstance #{values}>"
178
+ end
179
+ end
180
+ end
181
+ end
182
+ end
183
+ end
@@ -0,0 +1,166 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+ #
7
+ # frozen_string_literal: true
8
+
9
+ module Twilio
10
+ module REST
11
+ class FlexApi < Domain
12
+ class V1 < Version
13
+ class UserRolesList < ListResource
14
+ ##
15
+ # Initialize the UserRolesList
16
+ # @param [Version] version Version that contains the resource
17
+ # @return [UserRolesList] UserRolesList
18
+ def initialize(version)
19
+ super(version)
20
+
21
+ # Path Solution
22
+ @solution = {}
23
+ end
24
+
25
+ ##
26
+ # Provide a user friendly representation
27
+ def to_s
28
+ '#<Twilio.FlexApi.V1.UserRolesList>'
29
+ end
30
+ end
31
+
32
+ class UserRolesPage < Page
33
+ ##
34
+ # Initialize the UserRolesPage
35
+ # @param [Version] version Version that contains the resource
36
+ # @param [Response] response Response from the API
37
+ # @param [Hash] solution Path solution for the resource
38
+ # @return [UserRolesPage] UserRolesPage
39
+ def initialize(version, response, solution)
40
+ super(version, response)
41
+
42
+ # Path Solution
43
+ @solution = solution
44
+ end
45
+
46
+ ##
47
+ # Build an instance of UserRolesInstance
48
+ # @param [Hash] payload Payload response from the API
49
+ # @return [UserRolesInstance] UserRolesInstance
50
+ def get_instance(payload)
51
+ UserRolesInstance.new(@version, payload, )
52
+ end
53
+
54
+ ##
55
+ # Provide a user friendly representation
56
+ def to_s
57
+ '<Twilio.FlexApi.V1.UserRolesPage>'
58
+ end
59
+ end
60
+
61
+ class UserRolesContext < InstanceContext
62
+ ##
63
+ # Initialize the UserRolesContext
64
+ # @param [Version] version Version that contains the resource
65
+ # @return [UserRolesContext] UserRolesContext
66
+ def initialize(version)
67
+ super(version)
68
+
69
+ # Path Solution
70
+ @solution = {}
71
+ @uri = "/Accounts/UserRoles"
72
+ end
73
+
74
+ ##
75
+ # Fetch the UserRolesInstance
76
+ # @param [String] token The Token HTTP request header
77
+ # @return [UserRolesInstance] Fetched UserRolesInstance
78
+ def fetch(token: :unset)
79
+ headers = Twilio::Values.of({'Token' => token, })
80
+
81
+ payload = @version.fetch('GET', @uri, headers: headers)
82
+
83
+ UserRolesInstance.new(@version, payload, )
84
+ end
85
+
86
+ ##
87
+ # Provide a user friendly representation
88
+ def to_s
89
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
90
+ "#<Twilio.FlexApi.V1.UserRolesContext #{context}>"
91
+ end
92
+
93
+ ##
94
+ # Provide a detailed, user friendly representation
95
+ def inspect
96
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
97
+ "#<Twilio.FlexApi.V1.UserRolesContext #{context}>"
98
+ end
99
+ end
100
+
101
+ class UserRolesInstance < InstanceResource
102
+ ##
103
+ # Initialize the UserRolesInstance
104
+ # @param [Version] version Version that contains the resource
105
+ # @param [Hash] payload payload that contains response from Twilio
106
+ # @return [UserRolesInstance] UserRolesInstance
107
+ def initialize(version, payload)
108
+ super(version)
109
+
110
+ # Marshaled Properties
111
+ @properties = {'roles' => payload['roles'], 'url' => payload['url'], }
112
+
113
+ # Context
114
+ @instance_context = nil
115
+ @params = {}
116
+ end
117
+
118
+ ##
119
+ # Generate an instance context for the instance, the context is capable of
120
+ # performing various actions. All instance actions are proxied to the context
121
+ # @return [UserRolesContext] UserRolesContext for this UserRolesInstance
122
+ def context
123
+ unless @instance_context
124
+ @instance_context = UserRolesContext.new(@version, )
125
+ end
126
+ @instance_context
127
+ end
128
+
129
+ ##
130
+ # @return [Array[String]] Flex Insights roles for the user
131
+ def roles
132
+ @properties['roles']
133
+ end
134
+
135
+ ##
136
+ # @return [String] The url
137
+ def url
138
+ @properties['url']
139
+ end
140
+
141
+ ##
142
+ # Fetch the UserRolesInstance
143
+ # @param [String] token The Token HTTP request header
144
+ # @return [UserRolesInstance] Fetched UserRolesInstance
145
+ def fetch(token: :unset)
146
+ context.fetch(token: token, )
147
+ end
148
+
149
+ ##
150
+ # Provide a user friendly representation
151
+ def to_s
152
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
153
+ "<Twilio.FlexApi.V1.UserRolesInstance #{values}>"
154
+ end
155
+
156
+ ##
157
+ # Provide a detailed, user friendly representation
158
+ def inspect
159
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
160
+ "<Twilio.FlexApi.V1.UserRolesInstance #{values}>"
161
+ end
162
+ end
163
+ end
164
+ end
165
+ end
166
+ end
@@ -18,7 +18,9 @@ module Twilio
18
18
  @channel = nil
19
19
  @configuration = nil
20
20
  @flex_flow = nil
21
+ @good_data = nil
21
22
  @interaction = nil
23
+ @user_roles = nil
22
24
  @web_channel = nil
23
25
  end
24
26
 
@@ -58,6 +60,12 @@ module Twilio
58
60
  end
59
61
  end
60
62
 
63
+ ##
64
+ # @return [Twilio::REST::Flex_api::V1::GoodDataContext]
65
+ def good_data
66
+ @good_data ||= GoodDataContext.new self
67
+ end
68
+
61
69
  ##
62
70
  # @param [String] sid The SID of the Interaction resource to fetch.
63
71
  # @return [Twilio::REST::Flex_api::V1::InteractionContext] if sid was passed.
@@ -73,6 +81,12 @@ module Twilio
73
81
  end
74
82
  end
75
83
 
84
+ ##
85
+ # @return [Twilio::REST::Flex_api::V1::UserRolesContext]
86
+ def user_roles
87
+ @user_roles ||= UserRolesContext.new self
88
+ end
89
+
76
90
  ##
77
91
  # @param [String] sid The SID of the WebChannel resource to fetch.
78
92
  # @return [Twilio::REST::Flex_api::V1::WebChannelContext] if sid was passed.
@@ -52,6 +52,12 @@ module Twilio
52
52
  self.v1.flex_flow(sid)
53
53
  end
54
54
 
55
+ ##
56
+ # @return [Twilio::REST::Flex_api::V1::GoodDataInstance]
57
+ def good_data
58
+ self.v1.good_data()
59
+ end
60
+
55
61
  ##
56
62
  # @param [String] sid The unique string created by Twilio to identify an
57
63
  # Interaction resource, prefixed with KD.
@@ -61,6 +67,12 @@ module Twilio
61
67
  self.v1.interaction(sid)
62
68
  end
63
69
 
70
+ ##
71
+ # @return [Twilio::REST::Flex_api::V1::UserRolesInstance]
72
+ def user_roles
73
+ self.v1.user_roles()
74
+ end
75
+
64
76
  ##
65
77
  # @param [String] sid The unique string that we created to identify the WebChannel
66
78
  # resource.
@@ -41,8 +41,22 @@ module Twilio
41
41
  # messages that contain links.
42
42
  # @param [Boolean] has_embedded_phone Indicates that this SMS campaign will send
43
43
  # messages that contain phone numbers.
44
+ # @param [String] message_flow Description of how end users opt-in to the SMS
45
+ # campaign, therefore giving consent to receive messages.
46
+ # @param [String] opt_in_message The message that will be sent to the user when
47
+ # they opt in to the SMS campaign.
48
+ # @param [String] opt_out_message The message that will be sent to the user when
49
+ # they opt out of the SMS campaign.
50
+ # @param [String] help_message The message that will be sent to the user when they
51
+ # request help for the SMS campaign.
52
+ # @param [Array[String]] opt_in_keywords The keywords that will be used to opt in
53
+ # to the SMS campaign.
54
+ # @param [Array[String]] opt_out_keywords The keywords that will be used to opt
55
+ # out of the SMS campaign.
56
+ # @param [Array[String]] help_keywords The keywords that will be used to request
57
+ # help for the SMS campaign.
44
58
  # @return [UsAppToPersonInstance] Created UsAppToPersonInstance
45
- def create(brand_registration_sid: nil, description: nil, message_samples: nil, us_app_to_person_usecase: nil, has_embedded_links: nil, has_embedded_phone: nil)
59
+ def create(brand_registration_sid: nil, description: nil, message_samples: nil, us_app_to_person_usecase: nil, has_embedded_links: nil, has_embedded_phone: nil, message_flow: :unset, opt_in_message: :unset, opt_out_message: :unset, help_message: :unset, opt_in_keywords: :unset, opt_out_keywords: :unset, help_keywords: :unset)
46
60
  data = Twilio::Values.of({
47
61
  'BrandRegistrationSid' => brand_registration_sid,
48
62
  'Description' => description,
@@ -50,6 +64,13 @@ module Twilio
50
64
  'UsAppToPersonUsecase' => us_app_to_person_usecase,
51
65
  'HasEmbeddedLinks' => has_embedded_links,
52
66
  'HasEmbeddedPhone' => has_embedded_phone,
67
+ 'MessageFlow' => message_flow,
68
+ 'OptInMessage' => opt_in_message,
69
+ 'OptOutMessage' => opt_out_message,
70
+ 'HelpMessage' => help_message,
71
+ 'OptInKeywords' => Twilio.serialize_list(opt_in_keywords) { |e| e },
72
+ 'OptOutKeywords' => Twilio.serialize_list(opt_out_keywords) { |e| e },
73
+ 'HelpKeywords' => Twilio.serialize_list(help_keywords) { |e| e },
53
74
  })
54
75
 
55
76
  payload = @version.create('POST', @uri, data: data)
@@ -270,6 +291,13 @@ module Twilio
270
291
  'campaign_id' => payload['campaign_id'],
271
292
  'is_externally_registered' => payload['is_externally_registered'],
272
293
  'rate_limits' => payload['rate_limits'],
294
+ 'message_flow' => payload['message_flow'],
295
+ 'opt_in_message' => payload['opt_in_message'],
296
+ 'opt_out_message' => payload['opt_out_message'],
297
+ 'help_message' => payload['help_message'],
298
+ 'opt_in_keywords' => payload['opt_in_keywords'],
299
+ 'opt_out_keywords' => payload['opt_out_keywords'],
300
+ 'help_keywords' => payload['help_keywords'],
273
301
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
274
302
  'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
275
303
  'url' => payload['url'],
@@ -374,6 +402,48 @@ module Twilio
374
402
  @properties['rate_limits']
375
403
  end
376
404
 
405
+ ##
406
+ # @return [String] Consumer opt-in flow
407
+ def message_flow
408
+ @properties['message_flow']
409
+ end
410
+
411
+ ##
412
+ # @return [String] Opt In Message
413
+ def opt_in_message
414
+ @properties['opt_in_message']
415
+ end
416
+
417
+ ##
418
+ # @return [String] Opt Out Message
419
+ def opt_out_message
420
+ @properties['opt_out_message']
421
+ end
422
+
423
+ ##
424
+ # @return [String] Help Message
425
+ def help_message
426
+ @properties['help_message']
427
+ end
428
+
429
+ ##
430
+ # @return [Array[String]] Opt In Keywords
431
+ def opt_in_keywords
432
+ @properties['opt_in_keywords']
433
+ end
434
+
435
+ ##
436
+ # @return [Array[String]] Opt Out Keywords
437
+ def opt_out_keywords
438
+ @properties['opt_out_keywords']
439
+ end
440
+
441
+ ##
442
+ # @return [Array[String]] Help Keywords
443
+ def help_keywords
444
+ @properties['help_keywords']
445
+ end
446
+
377
447
  ##
378
448
  # @return [Time] The ISO 8601 date and time in GMT when the resource was created
379
449
  def date_created
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '5.73.1'
2
+ VERSION = '5.73.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.73.1
4
+ version: 5.73.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twilio API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -425,10 +425,12 @@ files:
425
425
  - lib/twilio-ruby/rest/flex_api/v1/channel.rb
426
426
  - lib/twilio-ruby/rest/flex_api/v1/configuration.rb
427
427
  - lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb
428
+ - lib/twilio-ruby/rest/flex_api/v1/good_data.rb
428
429
  - lib/twilio-ruby/rest/flex_api/v1/interaction.rb
429
430
  - lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb
430
431
  - lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb
431
432
  - lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb
433
+ - lib/twilio-ruby/rest/flex_api/v1/user_roles.rb
432
434
  - lib/twilio-ruby/rest/flex_api/v1/web_channel.rb
433
435
  - lib/twilio-ruby/rest/frontline_api.rb
434
436
  - lib/twilio-ruby/rest/frontline_api/v1.rb