twilio-ruby 5.7.1 → 5.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 739e64ed88c197acb2ad3f6e2a24892379b9113a
4
- data.tar.gz: 5032005bd70defd556793d46340e7daea90c75f6
3
+ metadata.gz: 2d93f326b9b563f4f707a01d53afc5911f20d7f2
4
+ data.tar.gz: ed59b2585e16c1b94143e158889ff8f738ff7fb9
5
5
  SHA512:
6
- metadata.gz: 5cfb21a2b9d9ea4395f5af8bcb67440558016bb4820db24bacff9c255227894931f7c76630c1ea5fb8faf897f58d8881e63aa44a2bbcfd391418fcde198976cb
7
- data.tar.gz: b962b9d40e2bc71db724bcb4842b62c6e4baecde44fe1bd16f19ce18ee6f7995c25d25d237ccdefe611749d0a0d4702e2b8416ba154514b896333f47f865aa8a
6
+ metadata.gz: 9fd1bc1959a70b4df9273943eff9bf9ce50e0a6ea740c93edd5056d834e65e76fe97821943f472d449baed6c974ecda208dedf1bda6e08a8245a9aa6a0063afe
7
+ data.tar.gz: a781c3847dac0b4b2b013b26a3608231177fc09bdd2043629fd25c4a7f0161373b93c859ec3af7ef09471caacfa56152fd92e8555f2b32fec3a7a8522b04149d
data/CHANGES.md CHANGED
@@ -1,6 +1,15 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2018-03-22] Version 5.7.2
5
+ ---------------------------
6
+ **Preview**
7
+ - Add `BuildDuration` and `ErrorCode` to Understand ModelBuild
8
+
9
+ **Studio**
10
+ - Add new /Context endpoint for step and engagement resources.
11
+
12
+
4
13
  [2018-03-09] Version 5.7.1
5
14
  ---------------------------
6
15
  **Api**
data/README.md CHANGED
@@ -27,13 +27,13 @@ in-line code documentation here in the library.
27
27
  To install using [Bundler][bundler] grab the latest stable version:
28
28
 
29
29
  ```ruby
30
- gem 'twilio-ruby', '~> 5.7.1'
30
+ gem 'twilio-ruby', '~> 5.7.2'
31
31
  ```
32
32
 
33
33
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
34
34
 
35
35
  ```bash
36
- gem install twilio-ruby -v 5.7.1
36
+ gem install twilio-ruby -v 5.7.2
37
37
  ```
38
38
 
39
39
  To build and install the development branch yourself from the latest source:
@@ -259,6 +259,8 @@ module Twilio
259
259
  'status' => payload['status'],
260
260
  'unique_name' => payload['unique_name'],
261
261
  'url' => payload['url'],
262
+ 'build_duration' => payload['build_duration'] == nil ? payload['build_duration'] : payload['build_duration'].to_i,
263
+ 'error_code' => payload['error_code'] == nil ? payload['error_code'] : payload['error_code'].to_i,
262
264
  }
263
265
 
264
266
  # Context
@@ -325,6 +327,18 @@ module Twilio
325
327
  @properties['url']
326
328
  end
327
329
 
330
+ ##
331
+ # @return [String] The build_duration
332
+ def build_duration
333
+ @properties['build_duration']
334
+ end
335
+
336
+ ##
337
+ # @return [String] The error_code
338
+ def error_code
339
+ @properties['error_code']
340
+ end
341
+
328
342
  ##
329
343
  # Fetch a ModelBuildInstance
330
344
  # @return [ModelBuildInstance] Fetched ModelBuildInstance
@@ -182,6 +182,7 @@ module Twilio
182
182
 
183
183
  # Dependents
184
184
  @steps = nil
185
+ @engagement_context = nil
185
186
  end
186
187
 
187
188
  ##
@@ -217,6 +218,14 @@ module Twilio
217
218
  @steps
218
219
  end
219
220
 
221
+ ##
222
+ # Access the engagement_context
223
+ # @return [EngagementContextList]
224
+ # @return [EngagementContextContext]
225
+ def engagement_context
226
+ EngagementContextContext.new(@version, @solution[:flow_sid], @solution[:sid], )
227
+ end
228
+
220
229
  ##
221
230
  # Provide a user friendly representation
222
231
  def to_s
@@ -245,8 +254,8 @@ module Twilio
245
254
  'flow_sid' => payload['flow_sid'],
246
255
  'contact_sid' => payload['contact_sid'],
247
256
  'contact_channel_address' => payload['contact_channel_address'],
248
- 'status' => payload['status'],
249
257
  'context' => payload['context'],
258
+ 'status' => payload['status'],
250
259
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
251
260
  'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
252
261
  'url' => payload['url'],
@@ -299,18 +308,18 @@ module Twilio
299
308
  @properties['contact_channel_address']
300
309
  end
301
310
 
302
- ##
303
- # @return [engagement.Status] The status
304
- def status
305
- @properties['status']
306
- end
307
-
308
311
  ##
309
312
  # @return [Hash] The context
310
313
  def context
311
314
  @properties['context']
312
315
  end
313
316
 
317
+ ##
318
+ # @return [engagement.Status] The status
319
+ def status
320
+ @properties['status']
321
+ end
322
+
314
323
  ##
315
324
  # @return [Time] The date_created
316
325
  def date_created
@@ -349,6 +358,13 @@ module Twilio
349
358
  context.steps
350
359
  end
351
360
 
361
+ ##
362
+ # Access the engagement_context
363
+ # @return [engagement_context] engagement_context
364
+ def engagement_context
365
+ context.engagement_context
366
+ end
367
+
352
368
  ##
353
369
  # Provide a user friendly representation
354
370
  def to_s
@@ -0,0 +1,215 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+
7
+ module Twilio
8
+ module REST
9
+ class Studio < Domain
10
+ class V1 < Version
11
+ class FlowContext < InstanceContext
12
+ class EngagementContext < InstanceContext
13
+ ##
14
+ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
15
+ class EngagementContextList < ListResource
16
+ ##
17
+ # Initialize the EngagementContextList
18
+ # @param [Version] version Version that contains the resource
19
+ # @param [String] flow_sid The flow_sid
20
+ # @param [String] engagement_sid The engagement_sid
21
+ # @return [EngagementContextList] EngagementContextList
22
+ def initialize(version, flow_sid: nil, engagement_sid: nil)
23
+ super(version)
24
+
25
+ # Path Solution
26
+ @solution = {flow_sid: flow_sid, engagement_sid: engagement_sid}
27
+ end
28
+
29
+ ##
30
+ # Provide a user friendly representation
31
+ def to_s
32
+ '#<Twilio.Studio.V1.EngagementContextList>'
33
+ end
34
+ end
35
+
36
+ ##
37
+ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
38
+ class EngagementContextPage < Page
39
+ ##
40
+ # Initialize the EngagementContextPage
41
+ # @param [Version] version Version that contains the resource
42
+ # @param [Response] response Response from the API
43
+ # @param [Hash] solution Path solution for the resource
44
+ # @return [EngagementContextPage] EngagementContextPage
45
+ def initialize(version, response, solution)
46
+ super(version, response)
47
+
48
+ # Path Solution
49
+ @solution = solution
50
+ end
51
+
52
+ ##
53
+ # Build an instance of EngagementContextInstance
54
+ # @param [Hash] payload Payload response from the API
55
+ # @return [EngagementContextInstance] EngagementContextInstance
56
+ def get_instance(payload)
57
+ EngagementContextInstance.new(
58
+ @version,
59
+ payload,
60
+ flow_sid: @solution[:flow_sid],
61
+ engagement_sid: @solution[:engagement_sid],
62
+ )
63
+ end
64
+
65
+ ##
66
+ # Provide a user friendly representation
67
+ def to_s
68
+ '<Twilio.Studio.V1.EngagementContextPage>'
69
+ end
70
+ end
71
+
72
+ ##
73
+ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
74
+ class EngagementContextContext < InstanceContext
75
+ ##
76
+ # Initialize the EngagementContextContext
77
+ # @param [Version] version Version that contains the resource
78
+ # @param [String] flow_sid The flow_sid
79
+ # @param [String] engagement_sid The engagement_sid
80
+ # @return [EngagementContextContext] EngagementContextContext
81
+ def initialize(version, flow_sid, engagement_sid)
82
+ super(version)
83
+
84
+ # Path Solution
85
+ @solution = {flow_sid: flow_sid, engagement_sid: engagement_sid, }
86
+ @uri = "/Flows/#{@solution[:flow_sid]}/Engagements/#{@solution[:engagement_sid]}/Context"
87
+ end
88
+
89
+ ##
90
+ # Fetch a EngagementContextInstance
91
+ # @return [EngagementContextInstance] Fetched EngagementContextInstance
92
+ def fetch
93
+ params = Twilio::Values.of({})
94
+
95
+ payload = @version.fetch(
96
+ 'GET',
97
+ @uri,
98
+ params,
99
+ )
100
+
101
+ EngagementContextInstance.new(
102
+ @version,
103
+ payload,
104
+ flow_sid: @solution[:flow_sid],
105
+ engagement_sid: @solution[:engagement_sid],
106
+ )
107
+ end
108
+
109
+ ##
110
+ # Provide a user friendly representation
111
+ def to_s
112
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
113
+ "#<Twilio.Studio.V1.EngagementContextContext #{context}>"
114
+ end
115
+ end
116
+
117
+ ##
118
+ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
119
+ class EngagementContextInstance < InstanceResource
120
+ ##
121
+ # Initialize the EngagementContextInstance
122
+ # @param [Version] version Version that contains the resource
123
+ # @param [Hash] payload payload that contains response from Twilio
124
+ # @param [String] flow_sid The flow_sid
125
+ # @param [String] engagement_sid The engagement_sid
126
+ # @return [EngagementContextInstance] EngagementContextInstance
127
+ def initialize(version, payload, flow_sid: nil, engagement_sid: nil)
128
+ super(version)
129
+
130
+ # Marshaled Properties
131
+ @properties = {
132
+ 'account_sid' => payload['account_sid'],
133
+ 'context' => payload['context'],
134
+ 'engagement_sid' => payload['engagement_sid'],
135
+ 'flow_sid' => payload['flow_sid'],
136
+ 'url' => payload['url'],
137
+ }
138
+
139
+ # Context
140
+ @instance_context = nil
141
+ @params = {'flow_sid' => flow_sid, 'engagement_sid' => engagement_sid, }
142
+ end
143
+
144
+ ##
145
+ # Generate an instance context for the instance, the context is capable of
146
+ # performing various actions. All instance actions are proxied to the context
147
+ # @return [EngagementContextContext] EngagementContextContext for this EngagementContextInstance
148
+ def context
149
+ unless @instance_context
150
+ @instance_context = EngagementContextContext.new(
151
+ @version,
152
+ @params['flow_sid'],
153
+ @params['engagement_sid'],
154
+ )
155
+ end
156
+ @instance_context
157
+ end
158
+
159
+ ##
160
+ # @return [String] The account_sid
161
+ def account_sid
162
+ @properties['account_sid']
163
+ end
164
+
165
+ ##
166
+ # @return [Hash] The context
167
+ def context
168
+ @properties['context']
169
+ end
170
+
171
+ ##
172
+ # @return [String] The engagement_sid
173
+ def engagement_sid
174
+ @properties['engagement_sid']
175
+ end
176
+
177
+ ##
178
+ # @return [String] The flow_sid
179
+ def flow_sid
180
+ @properties['flow_sid']
181
+ end
182
+
183
+ ##
184
+ # @return [String] The url
185
+ def url
186
+ @properties['url']
187
+ end
188
+
189
+ ##
190
+ # Fetch a EngagementContextInstance
191
+ # @return [EngagementContextInstance] Fetched EngagementContextInstance
192
+ def fetch
193
+ context.fetch
194
+ end
195
+
196
+ ##
197
+ # Provide a user friendly representation
198
+ def to_s
199
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
200
+ "<Twilio.Studio.V1.EngagementContextInstance #{values}>"
201
+ end
202
+
203
+ ##
204
+ # Provide a detailed, user friendly representation
205
+ def inspect
206
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
207
+ "<Twilio.Studio.V1.EngagementContextInstance #{values}>"
208
+ end
209
+ end
210
+ end
211
+ end
212
+ end
213
+ end
214
+ end
215
+ end
@@ -168,6 +168,9 @@ module Twilio
168
168
  # Path Solution
169
169
  @solution = {flow_sid: flow_sid, engagement_sid: engagement_sid, sid: sid, }
170
170
  @uri = "/Flows/#{@solution[:flow_sid]}/Engagements/#{@solution[:engagement_sid]}/Steps/#{@solution[:sid]}"
171
+
172
+ # Dependents
173
+ @step_context = nil
171
174
  end
172
175
 
173
176
  ##
@@ -191,6 +194,14 @@ module Twilio
191
194
  )
192
195
  end
193
196
 
197
+ ##
198
+ # Access the step_context
199
+ # @return [StepContextList]
200
+ # @return [StepContextContext]
201
+ def step_context
202
+ StepContextContext.new(@version, @solution[:flow_sid], @solution[:engagement_sid], @solution[:sid], )
203
+ end
204
+
194
205
  ##
195
206
  # Provide a user friendly representation
196
207
  def to_s
@@ -226,6 +237,7 @@ module Twilio
226
237
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
227
238
  'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
228
239
  'url' => payload['url'],
240
+ 'links' => payload['links'],
229
241
  }
230
242
 
231
243
  # Context
@@ -319,6 +331,12 @@ module Twilio
319
331
  @properties['url']
320
332
  end
321
333
 
334
+ ##
335
+ # @return [String] The links
336
+ def links
337
+ @properties['links']
338
+ end
339
+
322
340
  ##
323
341
  # Fetch a StepInstance
324
342
  # @return [StepInstance] Fetched StepInstance
@@ -326,6 +344,13 @@ module Twilio
326
344
  context.fetch
327
345
  end
328
346
 
347
+ ##
348
+ # Access the step_context
349
+ # @return [step_context] step_context
350
+ def step_context
351
+ context.step_context
352
+ end
353
+
329
354
  ##
330
355
  # Provide a user friendly representation
331
356
  def to_s
@@ -0,0 +1,230 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+
7
+ module Twilio
8
+ module REST
9
+ class Studio < Domain
10
+ class V1 < Version
11
+ class FlowContext < InstanceContext
12
+ class EngagementContext < InstanceContext
13
+ class StepContext < InstanceContext
14
+ ##
15
+ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
16
+ class StepContextList < ListResource
17
+ ##
18
+ # Initialize the StepContextList
19
+ # @param [Version] version Version that contains the resource
20
+ # @param [String] flow_sid The flow_sid
21
+ # @param [String] engagement_sid The engagement_sid
22
+ # @param [String] step_sid The step_sid
23
+ # @return [StepContextList] StepContextList
24
+ def initialize(version, flow_sid: nil, engagement_sid: nil, step_sid: nil)
25
+ super(version)
26
+
27
+ # Path Solution
28
+ @solution = {flow_sid: flow_sid, engagement_sid: engagement_sid, step_sid: step_sid}
29
+ end
30
+
31
+ ##
32
+ # Provide a user friendly representation
33
+ def to_s
34
+ '#<Twilio.Studio.V1.StepContextList>'
35
+ end
36
+ end
37
+
38
+ ##
39
+ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
40
+ class StepContextPage < Page
41
+ ##
42
+ # Initialize the StepContextPage
43
+ # @param [Version] version Version that contains the resource
44
+ # @param [Response] response Response from the API
45
+ # @param [Hash] solution Path solution for the resource
46
+ # @return [StepContextPage] StepContextPage
47
+ def initialize(version, response, solution)
48
+ super(version, response)
49
+
50
+ # Path Solution
51
+ @solution = solution
52
+ end
53
+
54
+ ##
55
+ # Build an instance of StepContextInstance
56
+ # @param [Hash] payload Payload response from the API
57
+ # @return [StepContextInstance] StepContextInstance
58
+ def get_instance(payload)
59
+ StepContextInstance.new(
60
+ @version,
61
+ payload,
62
+ flow_sid: @solution[:flow_sid],
63
+ engagement_sid: @solution[:engagement_sid],
64
+ step_sid: @solution[:step_sid],
65
+ )
66
+ end
67
+
68
+ ##
69
+ # Provide a user friendly representation
70
+ def to_s
71
+ '<Twilio.Studio.V1.StepContextPage>'
72
+ end
73
+ end
74
+
75
+ ##
76
+ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
77
+ class StepContextContext < InstanceContext
78
+ ##
79
+ # Initialize the StepContextContext
80
+ # @param [Version] version Version that contains the resource
81
+ # @param [String] flow_sid The flow_sid
82
+ # @param [String] engagement_sid The engagement_sid
83
+ # @param [String] step_sid The step_sid
84
+ # @return [StepContextContext] StepContextContext
85
+ def initialize(version, flow_sid, engagement_sid, step_sid)
86
+ super(version)
87
+
88
+ # Path Solution
89
+ @solution = {flow_sid: flow_sid, engagement_sid: engagement_sid, step_sid: step_sid, }
90
+ @uri = "/Flows/#{@solution[:flow_sid]}/Engagements/#{@solution[:engagement_sid]}/Steps/#{@solution[:step_sid]}/Context"
91
+ end
92
+
93
+ ##
94
+ # Fetch a StepContextInstance
95
+ # @return [StepContextInstance] Fetched StepContextInstance
96
+ def fetch
97
+ params = Twilio::Values.of({})
98
+
99
+ payload = @version.fetch(
100
+ 'GET',
101
+ @uri,
102
+ params,
103
+ )
104
+
105
+ StepContextInstance.new(
106
+ @version,
107
+ payload,
108
+ flow_sid: @solution[:flow_sid],
109
+ engagement_sid: @solution[:engagement_sid],
110
+ step_sid: @solution[:step_sid],
111
+ )
112
+ end
113
+
114
+ ##
115
+ # Provide a user friendly representation
116
+ def to_s
117
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
118
+ "#<Twilio.Studio.V1.StepContextContext #{context}>"
119
+ end
120
+ end
121
+
122
+ ##
123
+ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
124
+ class StepContextInstance < InstanceResource
125
+ ##
126
+ # Initialize the StepContextInstance
127
+ # @param [Version] version Version that contains the resource
128
+ # @param [Hash] payload payload that contains response from Twilio
129
+ # @param [String] flow_sid The flow_sid
130
+ # @param [String] engagement_sid The engagement_sid
131
+ # @param [String] step_sid The step_sid
132
+ # @return [StepContextInstance] StepContextInstance
133
+ def initialize(version, payload, flow_sid: nil, engagement_sid: nil, step_sid: nil)
134
+ super(version)
135
+
136
+ # Marshaled Properties
137
+ @properties = {
138
+ 'account_sid' => payload['account_sid'],
139
+ 'context' => payload['context'],
140
+ 'engagement_sid' => payload['engagement_sid'],
141
+ 'flow_sid' => payload['flow_sid'],
142
+ 'step_sid' => payload['step_sid'],
143
+ 'url' => payload['url'],
144
+ }
145
+
146
+ # Context
147
+ @instance_context = nil
148
+ @params = {'flow_sid' => flow_sid, 'engagement_sid' => engagement_sid, 'step_sid' => step_sid, }
149
+ end
150
+
151
+ ##
152
+ # Generate an instance context for the instance, the context is capable of
153
+ # performing various actions. All instance actions are proxied to the context
154
+ # @return [StepContextContext] StepContextContext for this StepContextInstance
155
+ def context
156
+ unless @instance_context
157
+ @instance_context = StepContextContext.new(
158
+ @version,
159
+ @params['flow_sid'],
160
+ @params['engagement_sid'],
161
+ @params['step_sid'],
162
+ )
163
+ end
164
+ @instance_context
165
+ end
166
+
167
+ ##
168
+ # @return [String] The account_sid
169
+ def account_sid
170
+ @properties['account_sid']
171
+ end
172
+
173
+ ##
174
+ # @return [Hash] The context
175
+ def context
176
+ @properties['context']
177
+ end
178
+
179
+ ##
180
+ # @return [String] The engagement_sid
181
+ def engagement_sid
182
+ @properties['engagement_sid']
183
+ end
184
+
185
+ ##
186
+ # @return [String] The flow_sid
187
+ def flow_sid
188
+ @properties['flow_sid']
189
+ end
190
+
191
+ ##
192
+ # @return [String] The step_sid
193
+ def step_sid
194
+ @properties['step_sid']
195
+ end
196
+
197
+ ##
198
+ # @return [String] The url
199
+ def url
200
+ @properties['url']
201
+ end
202
+
203
+ ##
204
+ # Fetch a StepContextInstance
205
+ # @return [StepContextInstance] Fetched StepContextInstance
206
+ def fetch
207
+ context.fetch
208
+ end
209
+
210
+ ##
211
+ # Provide a user friendly representation
212
+ def to_s
213
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
214
+ "<Twilio.Studio.V1.StepContextInstance #{values}>"
215
+ end
216
+
217
+ ##
218
+ # Provide a detailed, user friendly representation
219
+ def inspect
220
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
221
+ "<Twilio.Studio.V1.StepContextInstance #{values}>"
222
+ end
223
+ end
224
+ end
225
+ end
226
+ end
227
+ end
228
+ end
229
+ end
230
+ end
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '5.7.1'
2
+ VERSION = '5.7.2'
3
3
  end
@@ -210,10 +210,10 @@ describe 'Document' do
210
210
 
211
211
  expect {
212
212
  @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
213
- .documents('ETaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update(data: {})
213
+ .documents('ETaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update(data: JSON.parse('{}'))
214
214
  }.to raise_exception(Twilio::REST::TwilioError)
215
215
 
216
- values = {'Data' => Twilio.serialize_object({}), }
216
+ values = {'Data' => Twilio.serialize_object(JSON.parse('{}')), }
217
217
  expect(
218
218
  @holodeck.has_request?(Holodeck::Request.new(
219
219
  method: 'post',
@@ -245,7 +245,7 @@ describe 'Document' do
245
245
  ))
246
246
 
247
247
  actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
248
- .documents('ETaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update(data: {})
248
+ .documents('ETaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update(data: JSON.parse('{}'))
249
249
 
250
250
  expect(actual).to_not eq(nil)
251
251
  end
@@ -86,10 +86,10 @@ describe 'SyncListItem' do
86
86
  expect {
87
87
  @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
88
88
  .sync_lists('ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
89
- .sync_list_items.create(data: {})
89
+ .sync_list_items.create(data: JSON.parse('{}'))
90
90
  }.to raise_exception(Twilio::REST::TwilioError)
91
91
 
92
- values = {'Data' => Twilio.serialize_object({}), }
92
+ values = {'Data' => Twilio.serialize_object(JSON.parse('{}')), }
93
93
  expect(
94
94
  @holodeck.has_request?(Holodeck::Request.new(
95
95
  method: 'post',
@@ -119,7 +119,7 @@ describe 'SyncListItem' do
119
119
 
120
120
  actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
121
121
  .sync_lists('ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
122
- .sync_list_items.create(data: {})
122
+ .sync_list_items.create(data: JSON.parse('{}'))
123
123
 
124
124
  expect(actual).to_not eq(nil)
125
125
  end
@@ -212,10 +212,10 @@ describe 'SyncListItem' do
212
212
  expect {
213
213
  @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
214
214
  .sync_lists('ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
215
- .sync_list_items(1).update(data: {})
215
+ .sync_list_items(1).update(data: JSON.parse('{}'))
216
216
  }.to raise_exception(Twilio::REST::TwilioError)
217
217
 
218
- values = {'Data' => Twilio.serialize_object({}), }
218
+ values = {'Data' => Twilio.serialize_object(JSON.parse('{}')), }
219
219
  expect(
220
220
  @holodeck.has_request?(Holodeck::Request.new(
221
221
  method: 'post',
@@ -245,7 +245,7 @@ describe 'SyncListItem' do
245
245
 
246
246
  actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
247
247
  .sync_lists('ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
248
- .sync_list_items(1).update(data: {})
248
+ .sync_list_items(1).update(data: JSON.parse('{}'))
249
249
 
250
250
  expect(actual).to_not eq(nil)
251
251
  end
@@ -86,10 +86,10 @@ describe 'SyncMapItem' do
86
86
  expect {
87
87
  @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
88
88
  .sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
89
- .sync_map_items.create(key: 'key', data: {})
89
+ .sync_map_items.create(key: 'key', data: JSON.parse('{}'))
90
90
  }.to raise_exception(Twilio::REST::TwilioError)
91
91
 
92
- values = {'Key' => 'key', 'Data' => Twilio.serialize_object({}), }
92
+ values = {'Key' => 'key', 'Data' => Twilio.serialize_object(JSON.parse('{}')), }
93
93
  expect(
94
94
  @holodeck.has_request?(Holodeck::Request.new(
95
95
  method: 'post',
@@ -119,7 +119,7 @@ describe 'SyncMapItem' do
119
119
 
120
120
  actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
121
121
  .sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
122
- .sync_map_items.create(key: 'key', data: {})
122
+ .sync_map_items.create(key: 'key', data: JSON.parse('{}'))
123
123
 
124
124
  expect(actual).to_not eq(nil)
125
125
  end
@@ -212,10 +212,10 @@ describe 'SyncMapItem' do
212
212
  expect {
213
213
  @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
214
214
  .sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
215
- .sync_map_items('key').update(data: {})
215
+ .sync_map_items('key').update(data: JSON.parse('{}'))
216
216
  }.to raise_exception(Twilio::REST::TwilioError)
217
217
 
218
- values = {'Data' => Twilio.serialize_object({}), }
218
+ values = {'Data' => Twilio.serialize_object(JSON.parse('{}')), }
219
219
  expect(
220
220
  @holodeck.has_request?(Holodeck::Request.new(
221
221
  method: 'post',
@@ -245,7 +245,7 @@ describe 'SyncMapItem' do
245
245
 
246
246
  actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
247
247
  .sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
248
- .sync_map_items('key').update(data: {})
248
+ .sync_map_items('key').update(data: JSON.parse('{}'))
249
249
 
250
250
  expect(actual).to_not eq(nil)
251
251
  end
@@ -35,7 +35,9 @@ describe 'ModelBuild' do
35
35
  "service_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
36
36
  "date_created": "2015-07-30T20:00:00Z",
37
37
  "sid": "UGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
38
- "unique_name": "unique_name"
38
+ "unique_name": "unique_name",
39
+ "build_duration": null,
40
+ "error_code": null
39
41
  }
40
42
  ]
41
43
  ))
@@ -106,11 +108,13 @@ describe 'ModelBuild' do
106
108
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
107
109
  "date_updated": "2015-07-30T20:00:00Z",
108
110
  "url": "https://preview.twilio.com/understand/Services/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ModelBuilds/UGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
109
- "status": "enqueued",
111
+ "status": "failed",
110
112
  "service_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
111
113
  "date_created": "2015-07-30T20:00:00Z",
112
114
  "sid": "UGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
113
- "unique_name": "unique_name"
115
+ "unique_name": "unique_name",
116
+ "build_duration": null,
117
+ "error_code": 23001
114
118
  }
115
119
  ]
116
120
  }
@@ -151,7 +155,9 @@ describe 'ModelBuild' do
151
155
  "service_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
152
156
  "date_created": "2015-07-30T20:00:00Z",
153
157
  "sid": "UGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
154
- "unique_name": "unique_name"
158
+ "unique_name": "unique_name",
159
+ "build_duration": null,
160
+ "error_code": null
155
161
  }
156
162
  ]
157
163
  ))
@@ -186,11 +192,13 @@ describe 'ModelBuild' do
186
192
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
187
193
  "date_updated": "2015-07-30T20:00:00Z",
188
194
  "url": "https://preview.twilio.com/understand/Services/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ModelBuilds/UGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
189
- "status": "enqueued",
195
+ "status": "completed",
190
196
  "service_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
191
197
  "date_created": "2015-07-30T20:00:00Z",
192
198
  "sid": "UGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
193
- "unique_name": "unique_name"
199
+ "unique_name": "unique_name",
200
+ "build_duration": 100,
201
+ "error_code": null
194
202
  }
195
203
  ]
196
204
  ))
@@ -0,0 +1,49 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+
7
+ require 'spec_helper.rb'
8
+
9
+ describe 'EngagementContext' do
10
+ it "can fetch" do
11
+ @holodeck.mock(Twilio::Response.new(500, ''))
12
+
13
+ expect {
14
+ @client.studio.v1.flows('FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
15
+ .engagements('FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
16
+ .engagement_context().fetch()
17
+ }.to raise_exception(Twilio::REST::TwilioError)
18
+
19
+ values = {}
20
+ expect(
21
+ @holodeck.has_request?(Holodeck::Request.new(
22
+ method: 'get',
23
+ url: 'https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context',
24
+ ))).to eq(true)
25
+ end
26
+
27
+ it "receives fetch responses" do
28
+ @holodeck.mock(Twilio::Response.new(
29
+ 200,
30
+ %q[
31
+ {
32
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
33
+ "context": {
34
+ "foo": "bar"
35
+ },
36
+ "flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
37
+ "engagement_sid": "FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
38
+ "url": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context"
39
+ }
40
+ ]
41
+ ))
42
+
43
+ actual = @client.studio.v1.flows('FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
44
+ .engagements('FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
45
+ .engagement_context().fetch()
46
+
47
+ expect(actual).to_not eq(nil)
48
+ end
49
+ end
@@ -0,0 +1,52 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+
7
+ require 'spec_helper.rb'
8
+
9
+ describe 'StepContext' do
10
+ it "can fetch" do
11
+ @holodeck.mock(Twilio::Response.new(500, ''))
12
+
13
+ expect {
14
+ @client.studio.v1.flows('FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
15
+ .engagements('FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
16
+ .steps('FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
17
+ .step_context().fetch()
18
+ }.to raise_exception(Twilio::REST::TwilioError)
19
+
20
+ values = {}
21
+ expect(
22
+ @holodeck.has_request?(Holodeck::Request.new(
23
+ method: 'get',
24
+ url: 'https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps/FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context',
25
+ ))).to eq(true)
26
+ end
27
+
28
+ it "receives fetch responses" do
29
+ @holodeck.mock(Twilio::Response.new(
30
+ 200,
31
+ %q[
32
+ {
33
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
34
+ "context": {
35
+ "foo": "bar"
36
+ },
37
+ "flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
38
+ "engagement_sid": "FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
39
+ "step_sid": "FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
40
+ "url": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps/FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context"
41
+ }
42
+ ]
43
+ ))
44
+
45
+ actual = @client.studio.v1.flows('FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
46
+ .engagements('FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
47
+ .steps('FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
48
+ .step_context().fetch()
49
+
50
+ expect(actual).to_not eq(nil)
51
+ end
52
+ end
@@ -82,7 +82,10 @@ describe 'Step' do
82
82
  "transitioned_to": "Ended",
83
83
  "date_created": "2017-11-06T12:00:00Z",
84
84
  "date_updated": null,
85
- "url": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps/FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
85
+ "url": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps/FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
86
+ "links": {
87
+ "step_context": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps/FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context"
88
+ }
86
89
  }
87
90
  ]
88
91
  ))
@@ -80,7 +80,8 @@ describe 'Engagement' do
80
80
  "date_updated": null,
81
81
  "url": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
82
82
  "links": {
83
- "steps": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps"
83
+ "steps": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps",
84
+ "engagement_context": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context"
84
85
  }
85
86
  }
86
87
  ]
@@ -118,18 +119,15 @@ describe 'Engagement' do
118
119
  "sid": "FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
119
120
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
120
121
  "flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
121
- "context": {
122
- "flow": {
123
- "first_name": "Foo"
124
- }
125
- },
122
+ "context": {},
126
123
  "contact_sid": "FCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
127
124
  "contact_channel_address": "+18001234567",
128
125
  "status": "active",
129
126
  "date_created": "2015-07-30T20:00:00Z",
130
127
  "date_updated": "2015-07-30T20:00:00Z",
131
128
  "links": {
132
- "steps": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps"
129
+ "steps": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps",
130
+ "engagement_context": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Context"
133
131
  }
134
132
  }
135
133
  ]
@@ -87,10 +87,10 @@ describe 'SyncListItem' do
87
87
  expect {
88
88
  @client.sync.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
89
89
  .sync_lists('ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
90
- .sync_list_items.create(data: {})
90
+ .sync_list_items.create(data: JSON.parse('{}'))
91
91
  }.to raise_exception(Twilio::REST::TwilioError)
92
92
 
93
- values = {'Data' => Twilio.serialize_object({}), }
93
+ values = {'Data' => Twilio.serialize_object(JSON.parse('{}')), }
94
94
  expect(
95
95
  @holodeck.has_request?(Holodeck::Request.new(
96
96
  method: 'post',
@@ -121,7 +121,7 @@ describe 'SyncListItem' do
121
121
 
122
122
  actual = @client.sync.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
123
123
  .sync_lists('ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
124
- .sync_list_items.create(data: {})
124
+ .sync_list_items.create(data: JSON.parse('{}'))
125
125
 
126
126
  expect(actual).to_not eq(nil)
127
127
  end
@@ -87,10 +87,10 @@ describe 'SyncMapItem' do
87
87
  expect {
88
88
  @client.sync.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
89
89
  .sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
90
- .sync_map_items.create(key: 'key', data: {})
90
+ .sync_map_items.create(key: 'key', data: JSON.parse('{}'))
91
91
  }.to raise_exception(Twilio::REST::TwilioError)
92
92
 
93
- values = {'Key' => 'key', 'Data' => Twilio.serialize_object({}), }
93
+ values = {'Key' => 'key', 'Data' => Twilio.serialize_object(JSON.parse('{}')), }
94
94
  expect(
95
95
  @holodeck.has_request?(Holodeck::Request.new(
96
96
  method: 'post',
@@ -121,7 +121,7 @@ describe 'SyncMapItem' do
121
121
 
122
122
  actual = @client.sync.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
123
123
  .sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
124
- .sync_map_items.create(key: 'key', data: {})
124
+ .sync_map_items.create(key: 'key', data: JSON.parse('{}'))
125
125
 
126
126
  expect(actual).to_not eq(nil)
127
127
  end
@@ -13,10 +13,10 @@ describe 'StreamMessage' do
13
13
  expect {
14
14
  @client.sync.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
15
15
  .sync_streams('TOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
16
- .stream_messages.create(data: {})
16
+ .stream_messages.create(data: JSON.parse('{}'))
17
17
  }.to raise_exception(Twilio::REST::TwilioError)
18
18
 
19
- values = {'Data' => Twilio.serialize_object({}), }
19
+ values = {'Data' => Twilio.serialize_object(JSON.parse('{}')), }
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'post',
@@ -38,7 +38,7 @@ describe 'StreamMessage' do
38
38
 
39
39
  actual = @client.sync.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
40
40
  .sync_streams('TOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
41
- .stream_messages.create(data: {})
41
+ .stream_messages.create(data: JSON.parse('{}'))
42
42
 
43
43
  expect(actual).to_not eq(nil)
44
44
  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.7.1
4
+ version: 5.7.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: 2018-03-10 00:00:00.000000000 Z
11
+ date: 2018-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -381,7 +381,9 @@ files:
381
381
  - lib/twilio-ruby/rest/studio/v1.rb
382
382
  - lib/twilio-ruby/rest/studio/v1/flow.rb
383
383
  - lib/twilio-ruby/rest/studio/v1/flow/engagement.rb
384
+ - lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb
384
385
  - lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb
386
+ - lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb
385
387
  - lib/twilio-ruby/rest/sync.rb
386
388
  - lib/twilio-ruby/rest/sync/v1.rb
387
389
  - lib/twilio-ruby/rest/sync/v1/service.rb
@@ -646,6 +648,8 @@ files:
646
648
  - spec/integration/proxy/v1/service/session_spec.rb
647
649
  - spec/integration/proxy/v1/service/short_code_spec.rb
648
650
  - spec/integration/proxy/v1/service_spec.rb
651
+ - spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb
652
+ - spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb
649
653
  - spec/integration/studio/v1/flow/engagement/step_spec.rb
650
654
  - spec/integration/studio/v1/flow/engagement_spec.rb
651
655
  - spec/integration/studio/v1/flow_spec.rb
@@ -942,6 +946,8 @@ test_files:
942
946
  - spec/integration/proxy/v1/service/session_spec.rb
943
947
  - spec/integration/proxy/v1/service/short_code_spec.rb
944
948
  - spec/integration/proxy/v1/service_spec.rb
949
+ - spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb
950
+ - spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb
945
951
  - spec/integration/studio/v1/flow/engagement/step_spec.rb
946
952
  - spec/integration/studio/v1/flow/engagement_spec.rb
947
953
  - spec/integration/studio/v1/flow_spec.rb