twilio-ruby 5.12.3 → 5.12.4

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: b393c5f2aaf85befaca045f95bb55d03e4509791
4
- data.tar.gz: e3291c819d7bca3986b27e880a4a58a7aec0a5d3
3
+ metadata.gz: 1067889a70a6093ed700c5b18b1bdb9905974d9a
4
+ data.tar.gz: 179b4ad89db463e0dfa97eac08064c58dfa449c0
5
5
  SHA512:
6
- metadata.gz: 1a5cbec255f1c395ba75f7df0dba3396bd2d2fb993dc5425fcf50d62e4a5e479be4eb423a99def8253a1b37813d2cf401131582584e301c39266668ed7c50e28
7
- data.tar.gz: 88172d73e791244096a7d7f3e94951435dbf0499c247fb36b3a4dcb667a5c73ec23ef4b4575f2d96e7e766277eb84db61688f41ffbf2ee77404766b665ecdb86
6
+ metadata.gz: e8ab39d6718adfb193361c499e862c2783502692568a6244d8424c0da54195074a954bcb1791248bf5987d1eca03cc3178fc518b84b6623850f69da0973b0a14
7
+ data.tar.gz: bcf88f2120c5373af54170bc6831e58d44ab67081e43b355883302df1ed145365f0cd6ac92ac0fa16237af0cf466ef1d0e5b614a67930d243b8b92240321f259
data/CHANGES.md CHANGED
@@ -1,6 +1,19 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2018-08-31] Version 5.12.4
5
+ ----------------------------
6
+ **Library**
7
+ - PR #427: VCORE-3651 Add support for *for* attribute in twiml element. Thanks to @nmahure!
8
+
9
+ **Api**
10
+ - Add `call_sid_to_coach` parameter to participant create request
11
+ - Add `voice_receive_mode` param to IncomingPhoneNumbers create
12
+
13
+ **Video**
14
+ - [Recordings] Expose `offset` property in resource
15
+
16
+
4
17
  [2018-08-23] Version 5.12.3
5
18
  ----------------------------
6
19
  **Chat**
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.12.3'
30
+ gem 'twilio-ruby', '~> 5.12.4'
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.12.3
36
+ gem install twilio-ruby -v 5.12.4
37
37
  ```
38
38
 
39
39
  To build and install the development branch yourself from the latest source:
@@ -114,12 +114,21 @@ module Twilio
114
114
  # @param [String] conference_recording_status_callback_method The HTTP method
115
115
  # Twilio should use when requesting your recording status callback URL, either
116
116
  # `GET` or `POST`. Defaults to `POST`.
117
- # @param [String] recording_status_callback_event The
118
- # recording_status_callback_event
119
- # @param [String] conference_recording_status_callback_event The
120
- # conference_recording_status_callback_event
117
+ # @param [String] recording_status_callback_event Specifies which recording state
118
+ # changes should generate a webhook to the URL specified in the
119
+ # `RecordingStatusCallback` attribute. Available values are `in-progress`,
120
+ # `completed`, `failed`. To specify multiple values, separate them with a space.
121
+ # Defaults to `in-progress`, `completed`, `failed`.
122
+ # @param [String] conference_recording_status_callback_event Specifies which
123
+ # conference recording state changes should generate a webhook to the URL
124
+ # specified in the `ConferenceRecordingStatusCallback` attribute. Available values
125
+ # are `in-progress`, `completed`, `failed`. To specify multiple values, separate
126
+ # them with a space. Defaults to `in-progress`, `completed`, `failed`.
127
+ # @param [String] call_sid_to_coach The string that uniquely identifies the
128
+ # participant that is being `coached`, i.e. the only participant who can hear the
129
+ # participant that is in `coach` mode.
121
130
  # @return [ParticipantInstance] Newly created ParticipantInstance
122
- def create(from: nil, to: nil, status_callback: :unset, status_callback_method: :unset, status_callback_event: :unset, timeout: :unset, record: :unset, muted: :unset, beep: :unset, start_conference_on_enter: :unset, end_conference_on_exit: :unset, wait_url: :unset, wait_method: :unset, early_media: :unset, max_participants: :unset, conference_record: :unset, conference_trim: :unset, conference_status_callback: :unset, conference_status_callback_method: :unset, conference_status_callback_event: :unset, recording_channels: :unset, recording_status_callback: :unset, recording_status_callback_method: :unset, sip_auth_username: :unset, sip_auth_password: :unset, region: :unset, conference_recording_status_callback: :unset, conference_recording_status_callback_method: :unset, recording_status_callback_event: :unset, conference_recording_status_callback_event: :unset)
131
+ def create(from: nil, to: nil, status_callback: :unset, status_callback_method: :unset, status_callback_event: :unset, timeout: :unset, record: :unset, muted: :unset, beep: :unset, start_conference_on_enter: :unset, end_conference_on_exit: :unset, wait_url: :unset, wait_method: :unset, early_media: :unset, max_participants: :unset, conference_record: :unset, conference_trim: :unset, conference_status_callback: :unset, conference_status_callback_method: :unset, conference_status_callback_event: :unset, recording_channels: :unset, recording_status_callback: :unset, recording_status_callback_method: :unset, sip_auth_username: :unset, sip_auth_password: :unset, region: :unset, conference_recording_status_callback: :unset, conference_recording_status_callback_method: :unset, recording_status_callback_event: :unset, conference_recording_status_callback_event: :unset, call_sid_to_coach: :unset)
123
132
  data = Twilio::Values.of({
124
133
  'From' => from,
125
134
  'To' => to,
@@ -151,6 +160,7 @@ module Twilio
151
160
  'ConferenceRecordingStatusCallbackMethod' => conference_recording_status_callback_method,
152
161
  'RecordingStatusCallbackEvent' => Twilio.serialize_list(recording_status_callback_event) { |e| e },
153
162
  'ConferenceRecordingStatusCallbackEvent' => Twilio.serialize_list(conference_recording_status_callback_event) { |e| e },
163
+ 'CallSidToCoach' => call_sid_to_coach,
154
164
  })
155
165
 
156
166
  payload = @version.create(
@@ -308,7 +318,9 @@ module Twilio
308
318
  ##
309
319
  # Initialize the ParticipantContext
310
320
  # @param [Version] version Version that contains the resource
311
- # @param [String] account_sid The account_sid
321
+ # @param [String] account_sid The unique id of the
322
+ # [Account](https://www.twilio.com/docs/iam/api/account) that created this
323
+ # conference
312
324
  # @param [String] conference_sid The string that uniquely identifies the
313
325
  # conference this participant is in.
314
326
  # @param [String] call_sid The Participant's unique Call SID.
@@ -205,8 +205,11 @@ module Twilio
205
205
  # the new phone number. The VoiceURL will no longer be used if a
206
206
  # `VoiceApplicationSid` or a `TrunkSid` is set.
207
207
  # @param [incoming_phone_number.EmergencyStatus] emergency_status The
208
- # emergency_status
209
- # @param [String] emergency_address_sid The emergency_address_sid
208
+ # configuration status parameter determining whether this phone number is enabled
209
+ # for emergency calling
210
+ # @param [String] emergency_address_sid The 34 character sid of the
211
+ # EmergencyAddress configuration to leverage emergency calling for this phone
212
+ # number
210
213
  # @param [String] trunk_sid The 34 character sid of the Trunk Twilio should use to
211
214
  # handle phone calls to this number. If a `TrunkSid` is present, Twilio will
212
215
  # ignore all of the voice urls and voice applications above and use those set on
@@ -218,6 +221,9 @@ module Twilio
218
221
  # @param [String] address_sid The 34 character sid of the address Twilio should
219
222
  # use to associate with the number. Addresses are required in some regions to meet
220
223
  # local regulations
224
+ # @param [incoming_phone_number.VoiceReceiveMode] voice_receive_mode The
225
+ # configuration parameter for this phone number to receive incoming voice calls or
226
+ # faxes. Must be either `fax` or `voice`. Defaults to `voice`
221
227
  # @param [String] phone_number The phone number you want to purchase. The number
222
228
  # should be formatted starting with a '+' followed by the country code and the
223
229
  # number in [E.164](http://en.wikipedia.org/wiki/E.164) format e.g.,
@@ -229,7 +235,7 @@ module Twilio
229
235
  # this or a `PhoneNumber` parameter to have your POST succeed.** (US and Canada
230
236
  # only)
231
237
  # @return [IncomingPhoneNumberInstance] Newly created IncomingPhoneNumberInstance
232
- def create(api_version: :unset, friendly_name: :unset, sms_application_sid: :unset, sms_fallback_method: :unset, sms_fallback_url: :unset, sms_method: :unset, sms_url: :unset, status_callback: :unset, status_callback_method: :unset, voice_application_sid: :unset, voice_caller_id_lookup: :unset, voice_fallback_method: :unset, voice_fallback_url: :unset, voice_method: :unset, voice_url: :unset, emergency_status: :unset, emergency_address_sid: :unset, trunk_sid: :unset, identity_sid: :unset, address_sid: :unset, phone_number: :unset, area_code: :unset)
238
+ def create(api_version: :unset, friendly_name: :unset, sms_application_sid: :unset, sms_fallback_method: :unset, sms_fallback_url: :unset, sms_method: :unset, sms_url: :unset, status_callback: :unset, status_callback_method: :unset, voice_application_sid: :unset, voice_caller_id_lookup: :unset, voice_fallback_method: :unset, voice_fallback_url: :unset, voice_method: :unset, voice_url: :unset, emergency_status: :unset, emergency_address_sid: :unset, trunk_sid: :unset, identity_sid: :unset, address_sid: :unset, voice_receive_mode: :unset, phone_number: :unset, area_code: :unset)
233
239
  data = Twilio::Values.of({
234
240
  'PhoneNumber' => phone_number,
235
241
  'AreaCode' => area_code,
@@ -253,6 +259,7 @@ module Twilio
253
259
  'TrunkSid' => trunk_sid,
254
260
  'IdentitySid' => identity_sid,
255
261
  'AddressSid' => address_sid,
262
+ 'VoiceReceiveMode' => voice_receive_mode,
256
263
  })
257
264
 
258
265
  payload = @version.create(
@@ -328,7 +335,9 @@ module Twilio
328
335
  ##
329
336
  # Initialize the IncomingPhoneNumberContext
330
337
  # @param [Version] version Version that contains the resource
331
- # @param [String] account_sid The account_sid
338
+ # @param [String] account_sid The unique id of the
339
+ # [Account](https://www.twilio.com/docs/iam/api/account) responsible for this
340
+ # phone number.
332
341
  # @param [String] sid The incoming-phone-number Sid that uniquely identifies this
333
342
  # resource
334
343
  # @return [IncomingPhoneNumberContext] IncomingPhoneNumberContext
@@ -386,15 +395,19 @@ module Twilio
386
395
  # the phone number. The VoiceURL will no longer be used if a
387
396
  # `VoiceApplicationSid` or a `TrunkSid` is set.
388
397
  # @param [incoming_phone_number.EmergencyStatus] emergency_status The
389
- # emergency_status
390
- # @param [String] emergency_address_sid The emergency_address_sid
398
+ # configuration status parameter determining whether this phone number is enabled
399
+ # for emergency calling
400
+ # @param [String] emergency_address_sid The 34 character sid of the
401
+ # EmergencyAddress configuration to leverage emergency calling for this phone
402
+ # number
391
403
  # @param [String] trunk_sid The 34 character sid of the Trunk Twilio should use to
392
404
  # handle phone calls to this number. If a `TrunkSid` is present, Twilio will
393
405
  # ignore all of the voice urls and voice applications above and use those set on
394
406
  # the Trunk. Setting a `TrunkSid` will automatically delete your
395
407
  # `VoiceApplicationSid` and vice versa.
396
408
  # @param [incoming_phone_number.VoiceReceiveMode] voice_receive_mode The
397
- # voice_receive_mode
409
+ # configuration parameter for this phone number to receive incoming voice calls or
410
+ # faxes. Must be either `fax` or `voice`. Defaults to `voice`
398
411
  # @param [String] identity_sid The 34 character sid of the identity Twilio should
399
412
  # use to associate with the number. Identities are required in some regions to
400
413
  # meet local regulations
@@ -786,15 +799,19 @@ module Twilio
786
799
  # the phone number. The VoiceURL will no longer be used if a
787
800
  # `VoiceApplicationSid` or a `TrunkSid` is set.
788
801
  # @param [incoming_phone_number.EmergencyStatus] emergency_status The
789
- # emergency_status
790
- # @param [String] emergency_address_sid The emergency_address_sid
802
+ # configuration status parameter determining whether this phone number is enabled
803
+ # for emergency calling
804
+ # @param [String] emergency_address_sid The 34 character sid of the
805
+ # EmergencyAddress configuration to leverage emergency calling for this phone
806
+ # number
791
807
  # @param [String] trunk_sid The 34 character sid of the Trunk Twilio should use to
792
808
  # handle phone calls to this number. If a `TrunkSid` is present, Twilio will
793
809
  # ignore all of the voice urls and voice applications above and use those set on
794
810
  # the Trunk. Setting a `TrunkSid` will automatically delete your
795
811
  # `VoiceApplicationSid` and vice versa.
796
812
  # @param [incoming_phone_number.VoiceReceiveMode] voice_receive_mode The
797
- # voice_receive_mode
813
+ # configuration parameter for this phone number to receive incoming voice calls or
814
+ # faxes. Must be either `fax` or `voice`. Defaults to `voice`
798
815
  # @param [String] identity_sid The 34 character sid of the identity Twilio should
799
816
  # use to associate with the number. Identities are required in some regions to
800
817
  # meet local regulations
@@ -32,18 +32,19 @@ module Twilio
32
32
  # @param [String] to The destination phone number for SMS/MMS or a [Channel user
33
33
  # address](https://www.twilio.com/docs/sms/channels#channel-addresses) for other
34
34
  # 3rd party channels. Destination phone numbers should be formatted with a '+' and
35
- # country code e.g., +16175551212
35
+ # country code e.g., `+16175551212`
36
36
  # ([E.164](https://www.twilio.com/docs/glossary/what-e164) format).
37
37
  # @param [String] status_callback A URL where Twilio will POST each time your
38
38
  # message status changes to one of the following: `queued`, `failed`, `sent`,
39
- # `delivered`, or `undelivered`. Twilio will POST the `MessageSid`,
40
- # `MessageStatus`, and `ErrorCode` along with the other [standard request
41
- # parameters](https://www.twilio.com/docs/sms/twiml#request-parameters). If you
42
- # include this parameter in addition to a `MessagingServiceSid`, Twilio will
39
+ # `delivered`, or `undelivered`. Twilio will POST its [standard request
40
+ # parameters](https://www.twilio.com/docs/sms/twiml#request-parameters) as well as
41
+ # some additional parameters including `MessageSid`, `MessageStatus`, and
42
+ # `ErrorCode`(see more details [below](#statuscallback-request-parameters)). If
43
+ # you include this parameter in addition to a `MessagingServiceSid`, Twilio will
43
44
  # override the Status Callback URL of the [Messaging
44
45
  # Service](https://www.twilio.com/docs/sms/services/api). URLs must contain a
45
46
  # valid hostname – underscores are not allowed.
46
- # @param [String] application_sid Twilio will POST `MessageSid` as well as
47
+ # @param [String] application_sid Twilio will POST a `MessageSid` as well as
47
48
  # `MessageStatus=sent` or `MessageStatus=failed` to the URL in the
48
49
  # `MessageStatusCallback` property of this
49
50
  # [application](https://www.twilio.com/docs/usage/api/applications). If the
@@ -52,8 +53,8 @@ module Twilio
52
53
  # @param [String] max_price The total maximum price up to the fourth decimal
53
54
  # (0.0001) in US dollars acceptable for the message to be delivered. *All messages
54
55
  # will be queued for delivery regardless of the price point.* A POST request will
55
- # later be made to your Status Callback URL with a status change of 'Sent' or
56
- # 'Failed'. When the price of the message is greater than this value, the message
56
+ # later be made to your Status Callback URL with a status change of `Sent` or
57
+ # `Failed`. When the price of the message is greater than this value, the message
57
58
  # will fail and not be sent. When `MaxPrice` is not set, all prices for the
58
59
  # message are accepted.
59
60
  # @param [Boolean] provide_feedback Set this value to `true` if you are sending
@@ -75,19 +76,26 @@ module Twilio
75
76
  # @param [Boolean] smart_encoded The smart_encoded
76
77
  # @param [String] from A Twilio phone number (in
77
78
  # [E.164](https://www.twilio.com/docs/glossary/what-e164) format), [alphanumeric
78
- # sender ID](https://www.twilio.com/docs/sms/send-messages#alphanumeric-sender-id)
79
+ # sender
80
+ # ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id)
79
81
  # or a [Channel Endpoint
80
82
  # address](https://www.twilio.com/docs/sms/channels#channel-addresses) enabled for
81
83
  # the type of message you wish to send. Phone numbers or [short
82
84
  # codes](https://www.twilio.com/docs/sms/api/short-codes) purchased from Twilio
83
85
  # work here. You cannot (for example) spoof messages from your own cell phone
84
- # number. *Should not be passed if you are using `MessagingServiceSid`.*
86
+ # number. *Do not use this parameter if you are using `MessagingServiceSid`.*
85
87
  # @param [String] messaging_service_sid The 34-character unique ID of the
86
88
  # [Messaging
87
- # Service](https://www.twilio.com/docs/api/messaging/send-messages#messaging-services) you want to associate with this Message. Set this parameter to use the Messaging Service Settings and [Copilot Features](https://www.twilio.com/docs/sms/services) you have configured. When only this parameter is set, Twilio will use your enabled Copilot Features to select the `From` phone number for delivery. *Should not be passed if you are using `From`.*
89
+ # Service](https://www.twilio.com/docs/sms/services#send-a-message-with-copilot)
90
+ # you want to associate with this Message. Set this parameter to use the
91
+ # [Messaging Service Settings and Copilot
92
+ # Features](https://www.twilio.com/console/sms/services) you have configured. When
93
+ # only this parameter is set, Twilio will use your enabled Copilot Features to
94
+ # select the `From` phone number for delivery. *Do not pass this value if you are
95
+ # using `From`.*
88
96
  # @param [String] body The text of the message you want to send, limited to 1600
89
97
  # characters.
90
- # @param [String] media_url The URL of the media you wish to send with the
98
+ # @param [String] media_url The URL containing the media you wish to send with the
91
99
  # message. `gif` , `png` and `jpeg` content is currently supported and will be
92
100
  # formatted correctly on the recipient's device. [Other
93
101
  # types](https://www.twilio.com/docs/sms/accepted-mime-types) are also accepted by
@@ -203,6 +203,7 @@ module Twilio
203
203
  @queries = nil
204
204
  @assistant_fallback_actions = nil
205
205
  @assistant_initiation_actions = nil
206
+ @dialogues = nil
206
207
  end
207
208
 
208
209
  ##
@@ -350,6 +351,24 @@ module Twilio
350
351
  AssistantInitiationActionsContext.new(@version, @solution[:sid], )
351
352
  end
352
353
 
354
+ ##
355
+ # Access the dialogues
356
+ # @return [DialogueList]
357
+ # @return [DialogueContext] if sid was passed.
358
+ def dialogues(sid=:unset)
359
+ raise ArgumentError, 'sid cannot be nil' if sid.nil?
360
+
361
+ if sid != :unset
362
+ return DialogueContext.new(@version, @solution[:sid], sid, )
363
+ end
364
+
365
+ unless @dialogues
366
+ @dialogues = DialogueList.new(@version, assistant_sid: @solution[:sid], )
367
+ end
368
+
369
+ @dialogues
370
+ end
371
+
353
372
  ##
354
373
  # Provide a user friendly representation
355
374
  def to_s
@@ -557,6 +576,13 @@ module Twilio
557
576
  context.assistant_initiation_actions
558
577
  end
559
578
 
579
+ ##
580
+ # Access the dialogues
581
+ # @return [dialogues] dialogues
582
+ def dialogues
583
+ context.dialogues
584
+ end
585
+
560
586
  ##
561
587
  # Provide a user friendly representation
562
588
  def to_s
@@ -0,0 +1,205 @@
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 Preview < Domain
12
+ class Understand < Version
13
+ class AssistantContext < InstanceContext
14
+ ##
15
+ # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
16
+ class DialogueList < ListResource
17
+ ##
18
+ # Initialize the DialogueList
19
+ # @param [Version] version Version that contains the resource
20
+ # @param [String] assistant_sid The unique ID of the parent Assistant.
21
+ # @return [DialogueList] DialogueList
22
+ def initialize(version, assistant_sid: nil)
23
+ super(version)
24
+
25
+ # Path Solution
26
+ @solution = {assistant_sid: assistant_sid}
27
+ end
28
+
29
+ ##
30
+ # Provide a user friendly representation
31
+ def to_s
32
+ '#<Twilio.Preview.Understand.DialogueList>'
33
+ end
34
+ end
35
+
36
+ ##
37
+ # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
38
+ class DialoguePage < Page
39
+ ##
40
+ # Initialize the DialoguePage
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 [DialoguePage] DialoguePage
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 DialogueInstance
54
+ # @param [Hash] payload Payload response from the API
55
+ # @return [DialogueInstance] DialogueInstance
56
+ def get_instance(payload)
57
+ DialogueInstance.new(@version, payload, assistant_sid: @solution[:assistant_sid], )
58
+ end
59
+
60
+ ##
61
+ # Provide a user friendly representation
62
+ def to_s
63
+ '<Twilio.Preview.Understand.DialoguePage>'
64
+ end
65
+ end
66
+
67
+ ##
68
+ # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
69
+ class DialogueContext < InstanceContext
70
+ ##
71
+ # Initialize the DialogueContext
72
+ # @param [Version] version Version that contains the resource
73
+ # @param [String] assistant_sid The assistant_sid
74
+ # @param [String] sid The sid
75
+ # @return [DialogueContext] DialogueContext
76
+ def initialize(version, assistant_sid, sid)
77
+ super(version)
78
+
79
+ # Path Solution
80
+ @solution = {assistant_sid: assistant_sid, sid: sid, }
81
+ @uri = "/Assistants/#{@solution[:assistant_sid]}/Dialogues/#{@solution[:sid]}"
82
+ end
83
+
84
+ ##
85
+ # Fetch a DialogueInstance
86
+ # @return [DialogueInstance] Fetched DialogueInstance
87
+ def fetch
88
+ params = Twilio::Values.of({})
89
+
90
+ payload = @version.fetch(
91
+ 'GET',
92
+ @uri,
93
+ params,
94
+ )
95
+
96
+ DialogueInstance.new(
97
+ @version,
98
+ payload,
99
+ assistant_sid: @solution[:assistant_sid],
100
+ sid: @solution[:sid],
101
+ )
102
+ end
103
+
104
+ ##
105
+ # Provide a user friendly representation
106
+ def to_s
107
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
108
+ "#<Twilio.Preview.Understand.DialogueContext #{context}>"
109
+ end
110
+ end
111
+
112
+ ##
113
+ # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
114
+ class DialogueInstance < InstanceResource
115
+ ##
116
+ # Initialize the DialogueInstance
117
+ # @param [Version] version Version that contains the resource
118
+ # @param [Hash] payload payload that contains response from Twilio
119
+ # @param [String] assistant_sid The unique ID of the parent Assistant.
120
+ # @param [String] sid The sid
121
+ # @return [DialogueInstance] DialogueInstance
122
+ def initialize(version, payload, assistant_sid: nil, sid: nil)
123
+ super(version)
124
+
125
+ # Marshaled Properties
126
+ @properties = {
127
+ 'account_sid' => payload['account_sid'],
128
+ 'assistant_sid' => payload['assistant_sid'],
129
+ 'sid' => payload['sid'],
130
+ 'data' => payload['data'],
131
+ 'url' => payload['url'],
132
+ }
133
+
134
+ # Context
135
+ @instance_context = nil
136
+ @params = {'assistant_sid' => assistant_sid, 'sid' => sid || @properties['sid'], }
137
+ end
138
+
139
+ ##
140
+ # Generate an instance context for the instance, the context is capable of
141
+ # performing various actions. All instance actions are proxied to the context
142
+ # @return [DialogueContext] DialogueContext for this DialogueInstance
143
+ def context
144
+ unless @instance_context
145
+ @instance_context = DialogueContext.new(@version, @params['assistant_sid'], @params['sid'], )
146
+ end
147
+ @instance_context
148
+ end
149
+
150
+ ##
151
+ # @return [String] The unique ID of the Account that created this Field.
152
+ def account_sid
153
+ @properties['account_sid']
154
+ end
155
+
156
+ ##
157
+ # @return [String] The unique ID of the parent Assistant.
158
+ def assistant_sid
159
+ @properties['assistant_sid']
160
+ end
161
+
162
+ ##
163
+ # @return [String] The unique ID of the Dialogue
164
+ def sid
165
+ @properties['sid']
166
+ end
167
+
168
+ ##
169
+ # @return [Hash] The dialogue memory object as json
170
+ def data
171
+ @properties['data']
172
+ end
173
+
174
+ ##
175
+ # @return [String] The url
176
+ def url
177
+ @properties['url']
178
+ end
179
+
180
+ ##
181
+ # Fetch a DialogueInstance
182
+ # @return [DialogueInstance] Fetched DialogueInstance
183
+ def fetch
184
+ context.fetch
185
+ end
186
+
187
+ ##
188
+ # Provide a user friendly representation
189
+ def to_s
190
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
191
+ "<Twilio.Preview.Understand.DialogueInstance #{values}>"
192
+ end
193
+
194
+ ##
195
+ # Provide a detailed, user friendly representation
196
+ def inspect
197
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
198
+ "<Twilio.Preview.Understand.DialogueInstance #{values}>"
199
+ end
200
+ end
201
+ end
202
+ end
203
+ end
204
+ end
205
+ end
@@ -259,6 +259,7 @@ module Twilio
259
259
  'codec' => payload['codec'],
260
260
  'grouping_sids' => payload['grouping_sids'],
261
261
  'track_name' => payload['track_name'],
262
+ 'offset' => payload['offset'].to_i,
262
263
  'links' => payload['links'],
263
264
  }
264
265
 
@@ -356,6 +357,12 @@ module Twilio
356
357
  @properties['track_name']
357
358
  end
358
359
 
360
+ ##
361
+ # @return [String] Offset in miliseconds for this track.
362
+ def offset
363
+ @properties['offset']
364
+ end
365
+
359
366
  ##
360
367
  # @return [String] The links
361
368
  def links
@@ -243,6 +243,7 @@ module Twilio
243
243
  'codec' => payload['codec'],
244
244
  'grouping_sids' => payload['grouping_sids'],
245
245
  'track_name' => payload['track_name'],
246
+ 'offset' => payload['offset'].to_i,
246
247
  'room_sid' => payload['room_sid'],
247
248
  'links' => payload['links'],
248
249
  }
@@ -341,6 +342,12 @@ module Twilio
341
342
  @properties['track_name']
342
343
  end
343
344
 
345
+ ##
346
+ # @return [String] The offset
347
+ def offset
348
+ @properties['offset']
349
+ end
350
+
344
351
  ##
345
352
  # @return [String] The room_sid
346
353
  def room_sid
@@ -30,6 +30,7 @@ module Twilio
30
30
  aliasAttribute: 'alias',
31
31
  xmlLang: 'xml:lang',
32
32
  interpretAs: 'interpret-as',
33
+ for_: 'for',
33
34
  }
34
35
  @name = self.class.name.split('::').last
35
36
  @value = nil
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '5.12.3'
2
+ VERSION = '5.12.4'
3
3
  end
@@ -39,7 +39,6 @@ describe 'Recording' do
39
39
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
40
40
  "date_updated": "Fri, 14 Oct 2016 21:56:34 +0000",
41
41
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
42
- "end_time": null,
43
42
  "price": null,
44
43
  "price_unit": null,
45
44
  "duration": "-1",
@@ -91,7 +90,6 @@ describe 'Recording' do
91
90
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
92
91
  "date_updated": "Fri, 14 Oct 2016 21:56:34 +0000",
93
92
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
94
- "end_time": null,
95
93
  "price": null,
96
94
  "price_unit": null,
97
95
  "duration": "-1",
@@ -142,7 +140,6 @@ describe 'Recording' do
142
140
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
143
141
  "date_updated": "Fri, 14 Oct 2016 21:56:38 +0000",
144
142
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
145
- "end_time": "Fri, 14 Oct 2016 21:56:38 +0000",
146
143
  "price": "-0.0025",
147
144
  "price_unit": "USD",
148
145
  "duration": "4",
@@ -235,7 +232,6 @@ describe 'Recording' do
235
232
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
236
233
  "date_updated": "Fri, 14 Oct 2016 21:56:38 +0000",
237
234
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
238
- "end_time": "Fri, 14 Oct 2016 21:56:38 +0000",
239
235
  "price": "-0.0025",
240
236
  "price_unit": "USD",
241
237
  "duration": "4",
@@ -169,6 +169,33 @@ describe 'Participant' do
169
169
  expect(actual).to_not eq(nil)
170
170
  end
171
171
 
172
+ it "receives create_with_sid_as_coach responses" do
173
+ @holodeck.mock(Twilio::Response.new(
174
+ 201,
175
+ %q[
176
+ {
177
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
178
+ "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
179
+ "conference_sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
180
+ "date_created": "Fri, 18 Feb 2011 21:07:19 +0000",
181
+ "date_updated": "Fri, 18 Feb 2011 21:07:19 +0000",
182
+ "end_conference_on_exit": false,
183
+ "muted": false,
184
+ "hold": false,
185
+ "status": "queued",
186
+ "start_conference_on_enter": true,
187
+ "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
188
+ }
189
+ ]
190
+ ))
191
+
192
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
193
+ .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
194
+ .participants.create(from: '+15017122661', to: '+15558675310')
195
+
196
+ expect(actual).to_not eq(nil)
197
+ end
198
+
172
199
  it "can delete" do
173
200
  @holodeck.mock(Twilio::Response.new(500, ''))
174
201
 
@@ -40,7 +40,6 @@ describe 'Recording' do
40
40
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
41
41
  "date_updated": "Fri, 14 Oct 2016 21:56:34 +0000",
42
42
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
43
- "end_time": null,
44
43
  "price": null,
45
44
  "price_unit": null,
46
45
  "duration": "-1",
@@ -91,7 +90,6 @@ describe 'Recording' do
91
90
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
92
91
  "date_updated": "Fri, 14 Oct 2016 21:56:38 +0000",
93
92
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
94
- "end_time": "Fri, 14 Oct 2016 21:56:38 +0000",
95
93
  "price": "-0.0025",
96
94
  "price_unit": "USD",
97
95
  "duration": "4",
@@ -184,7 +182,6 @@ describe 'Recording' do
184
182
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
185
183
  "date_updated": "Fri, 14 Oct 2016 21:56:38 +0000",
186
184
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
187
- "end_time": "Fri, 14 Oct 2016 21:56:38 +0000",
188
185
  "price": "-0.0025",
189
186
  "price_unit": "USD",
190
187
  "duration": "4",
@@ -33,7 +33,7 @@ describe 'Message' do
33
33
  {
34
34
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
35
35
  "api_version": "2010-04-01",
36
- "body": "O Slash: \u00d8, PoP: \ud83d\udca9",
36
+ "body": "Hello! \ud83d\udc4d",
37
37
  "date_created": "Thu, 30 Jul 2015 20:12:31 +0000",
38
38
  "date_sent": "Thu, 30 Jul 2015 20:12:33 +0000",
39
39
  "date_updated": "Thu, 30 Jul 2015 20:12:33 +0000",
@@ -114,7 +114,7 @@ describe 'Message' do
114
114
  {
115
115
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
116
116
  "api_version": "2010-04-01",
117
- "body": "O Slash: \u00d8, PoP: \ud83d\udca9",
117
+ "body": "Hello! \ud83d\udc4d",
118
118
  "date_created": "Thu, 30 Jul 2015 20:12:31 +0000",
119
119
  "date_sent": "Thu, 30 Jul 2015 20:12:33 +0000",
120
120
  "date_updated": "Thu, 30 Jul 2015 20:12:33 +0000",
@@ -170,7 +170,7 @@ describe 'Message' do
170
170
  {
171
171
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
172
172
  "api_version": "2010-04-01",
173
- "body": "O Slash: \u00d8, PoP: \ud83d\udca9",
173
+ "body": "Hello! \ud83d\udc4d",
174
174
  "date_created": "Fri, 04 Sep 2015 22:54:39 +0000",
175
175
  "date_sent": "Fri, 04 Sep 2015 22:54:41 +0000",
176
176
  "date_updated": "Fri, 04 Sep 2015 22:54:41 +0000",
@@ -258,7 +258,7 @@ describe 'Message' do
258
258
  {
259
259
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
260
260
  "api_version": "2010-04-01",
261
- "body": "O Slash: \u00d8, PoP: \ud83d\udca9",
261
+ "body": "Hello! \ud83d\udc4d",
262
262
  "date_created": "Thu, 30 Jul 2015 20:12:31 +0000",
263
263
  "date_sent": "Thu, 30 Jul 2015 20:12:33 +0000",
264
264
  "date_updated": "Thu, 30 Jul 2015 20:12:33 +0000",
@@ -38,7 +38,6 @@ describe 'Recording' do
38
38
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
39
39
  "date_updated": "Fri, 14 Oct 2016 21:56:38 +0000",
40
40
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
41
- "end_time": "Fri, 14 Oct 2016 21:56:38 +0000",
42
41
  "price": "-0.00250",
43
42
  "price_unit": "USD",
44
43
  "duration": "4",
@@ -131,7 +130,6 @@ describe 'Recording' do
131
130
  "date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
132
131
  "date_updated": "Fri, 14 Oct 2016 21:56:38 +0000",
133
132
  "start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
134
- "end_time": "Fri, 14 Oct 2016 21:56:38 +0000",
135
133
  "price": "0.04",
136
134
  "price_unit": "USD",
137
135
  "duration": "4",
@@ -0,0 +1,47 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+ #
7
+ # frozen_string_literal: true
8
+
9
+ require 'spec_helper.rb'
10
+
11
+ describe 'Dialogue' do
12
+ it "can fetch" do
13
+ @holodeck.mock(Twilio::Response.new(500, ''))
14
+
15
+ expect {
16
+ @client.preview.understand.assistants('UAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
17
+ .dialogues('UKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').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://preview.twilio.com/understand/Assistants/UAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Dialogues/UKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
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
+ "assistant_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
35
+ "sid": "UKkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk",
36
+ "url": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Dialogues/UKkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk",
37
+ "data": {}
38
+ }
39
+ ]
40
+ ))
41
+
42
+ actual = @client.preview.understand.assistants('UAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
43
+ .dialogues('UKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
44
+
45
+ expect(actual).to_not eq(nil)
46
+ end
47
+ end
@@ -43,7 +43,8 @@ describe 'Assistant' do
43
43
  "model_builds": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ModelBuilds",
44
44
  "queries": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queries",
45
45
  "assistant_fallback_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/FallbackActions",
46
- "assistant_initiation_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/InitiationActions"
46
+ "assistant_initiation_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/InitiationActions",
47
+ "dialogues": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Dialogues"
47
48
  },
48
49
  "url": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
49
50
  "callback_url": "https://example.com/callback_url",
@@ -117,7 +118,8 @@ describe 'Assistant' do
117
118
  "model_builds": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ModelBuilds",
118
119
  "queries": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queries",
119
120
  "assistant_fallback_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/FallbackActions",
120
- "assistant_initiation_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/InitiationActions"
121
+ "assistant_initiation_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/InitiationActions",
122
+ "dialogues": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Dialogues"
121
123
  },
122
124
  "url": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
123
125
  "callback_url": "https://example.com/callback_url",
@@ -176,7 +178,8 @@ describe 'Assistant' do
176
178
  "model_builds": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ModelBuilds",
177
179
  "queries": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queries",
178
180
  "assistant_fallback_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/FallbackActions",
179
- "assistant_initiation_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/InitiationActions"
181
+ "assistant_initiation_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/InitiationActions",
182
+ "dialogues": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Dialogues"
180
183
  },
181
184
  "url": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
182
185
  "callback_url": "https://example.com/callback_url",
@@ -224,7 +227,8 @@ describe 'Assistant' do
224
227
  "model_builds": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ModelBuilds",
225
228
  "queries": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queries",
226
229
  "assistant_fallback_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/FallbackActions",
227
- "assistant_initiation_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/InitiationActions"
230
+ "assistant_initiation_actions": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/InitiationActions",
231
+ "dialogues": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Dialogues"
228
232
  },
229
233
  "url": "https://preview.twilio.com/understand/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
230
234
  "callback_url": "https://example.com/callback_url",
@@ -43,6 +43,7 @@ describe 'Recording' do
43
43
  "container_format": "mka",
44
44
  "codec": "OPUS",
45
45
  "track_name": "A name",
46
+ "offset": 10,
46
47
  "grouping_sids": {
47
48
  "room_sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
48
49
  },
@@ -119,6 +120,7 @@ describe 'Recording' do
119
120
  "container_format": "mka",
120
121
  "codec": "OPUS",
121
122
  "track_name": "A name",
123
+ "offset": 10,
122
124
  "grouping_sids": {
123
125
  "room_sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
124
126
  "participant_sid": "PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@@ -43,6 +43,7 @@ describe 'RoomRecording' do
43
43
  "container_format": "mka",
44
44
  "codec": "OPUS",
45
45
  "track_name": "A name",
46
+ "offset": 10,
46
47
  "grouping_sids": {
47
48
  "room_sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
48
49
  },
@@ -124,6 +125,7 @@ describe 'RoomRecording' do
124
125
  "container_format": "mka",
125
126
  "codec": "OPUS",
126
127
  "track_name": "A name",
128
+ "offset": 10,
127
129
  "grouping_sids": {
128
130
  "room_sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
129
131
  "participant_sid": "PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
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.12.3
4
+ version: 5.12.4
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-08-23 00:00:00.000000000 Z
11
+ date: 2018-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -344,6 +344,7 @@ files:
344
344
  - lib/twilio-ruby/rest/preview/understand/assistant.rb
345
345
  - lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb
346
346
  - lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb
347
+ - lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb
347
348
  - lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb
348
349
  - lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb
349
350
  - lib/twilio-ruby/rest/preview/understand/assistant/intent.rb
@@ -627,6 +628,7 @@ files:
627
628
  - spec/integration/preview/sync/service_spec.rb
628
629
  - spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb
629
630
  - spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb
631
+ - spec/integration/preview/understand/assistant/dialogue_spec.rb
630
632
  - spec/integration/preview/understand/assistant/field_type/field_value_spec.rb
631
633
  - spec/integration/preview/understand/assistant/field_type_spec.rb
632
634
  - spec/integration/preview/understand/assistant/intent/field_spec.rb
@@ -762,7 +764,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
762
764
  version: '0'
763
765
  requirements: []
764
766
  rubyforge_project:
765
- rubygems_version: 2.5.1
767
+ rubygems_version: 2.5.2.3
766
768
  signing_key:
767
769
  specification_version: 4
768
770
  summary: The official library for communicating with the Twilio REST API, building
@@ -932,6 +934,7 @@ test_files:
932
934
  - spec/integration/preview/sync/service_spec.rb
933
935
  - spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb
934
936
  - spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb
937
+ - spec/integration/preview/understand/assistant/dialogue_spec.rb
935
938
  - spec/integration/preview/understand/assistant/field_type/field_value_spec.rb
936
939
  - spec/integration/preview/understand/assistant/field_type_spec.rb
937
940
  - spec/integration/preview/understand/assistant/intent/field_spec.rb