twilio-ruby 5.27.1 → 5.28.0

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
- SHA256:
3
- metadata.gz: 3e83808d846b8e8beaef1ac91c237b5b4abc5836b04606faec7b47d1d360e9a3
4
- data.tar.gz: ab8700209a80759c0a5c3572395d826cdac1896d3fccf69fae9b1a62f3792b17
2
+ SHA1:
3
+ metadata.gz: 486aaf4e71b9e38a32a027f43893b3c5098d3101
4
+ data.tar.gz: 2e1fe06a188821f8d14986fdd001044d57cc9744
5
5
  SHA512:
6
- metadata.gz: a9e69978d25fd39b226689011b091e5084f3b6223712300a1200b31b344160c05de052dc8e43e8c3d7b0b60eb57f9072e45dfad77fd0239776be1bb204db84ce
7
- data.tar.gz: 655550d2e0e1410a9ca6cf6db0c0a4c1612dc8123274c79d3b7ee447b5d7ce829f880fd7b6efb98ae0730999d0c1c0bb7338125af6a8c7c6136018adfe1edb6b
6
+ metadata.gz: 0ed662a67c01c89d9153639e96009dbd41e58cceabd0aaca7a6dede0e9b147cced8117db87846eed49defdc89f9934dc8fe208e8747bcbe63db97e7e7315a7b0
7
+ data.tar.gz: fd2ddc21e809daef4c22373d75cbfb1f91606ee78d17dff9a8ec13986a56b97f1a94588bb59541db80f1b213a97784a603d7874dbebbd0f779fa054433c6530b
data/CHANGES.md CHANGED
@@ -1,6 +1,32 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2019-10-16] Version 5.28.0
5
+ ---------------------------
6
+ **Library**
7
+ - [PR #476](https://github.com/twilio/twilio-ruby/pull/476): Update a few property types in the lookups and trunking responses. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
8
+ - [PR #477](https://github.com/twilio/twilio-ruby/pull/477): Update instance property ordering. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
9
+ - [PR #475](https://github.com/twilio/twilio-ruby/pull/475): Update the call price to be optional for deserializing. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
10
+ - [PR #474](https://github.com/twilio/twilio-ruby/pull/474): breaking: Correct video composition date types. Thanks to [@childish-sambino](https://github.com/childish-sambino)! **(breaking change)**
11
+
12
+ **Api**
13
+ - Add new property `attempt` to sms_messages
14
+ - Fixed a typo in the documentation for Feedback outcome enum **(breaking change)**
15
+ - Update the call price to be optional for deserializing **(breaking change)**
16
+
17
+ **Flex**
18
+ - Added `JanitorEnabled` attribute to Flex Flow
19
+ - Change `features_enabled` Flex Configuration key to private **(breaking change)**
20
+
21
+ **Supersim**
22
+ - Add Fetch endpoint to Fleets resource for Super Sim Pilot
23
+ - Allow assigning a Sim to a Fleet for Super Sim Pilot
24
+ - Add Create endpoint to Fleets resource for Super Sim Pilot
25
+
26
+ **Twiml**
27
+ - Update `<Conference>` rename "whisper" attribute to "coach" **(breaking change)**
28
+
29
+
4
30
  [2019-10-02] Version 5.27.1
5
31
  ---------------------------
6
32
  **Library**
data/README.md CHANGED
@@ -29,13 +29,13 @@ in-line code documentation here in the library.
29
29
  To install using [Bundler][bundler] grab the latest stable version:
30
30
 
31
31
  ```ruby
32
- gem 'twilio-ruby', '~> 5.27.1'
32
+ gem 'twilio-ruby', '~> 5.28.0'
33
33
  ```
34
34
 
35
35
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
36
36
 
37
37
  ```bash
38
- gem install twilio-ruby -v 5.27.1
38
+ gem install twilio-ruby -v 5.28.0
39
39
  ```
40
40
 
41
41
  To build and install the development branch yourself from the latest source:
@@ -585,7 +585,7 @@ module Twilio
585
585
  'group_sid' => payload['group_sid'],
586
586
  'parent_call_sid' => payload['parent_call_sid'],
587
587
  'phone_number_sid' => payload['phone_number_sid'],
588
- 'price' => payload['price'].to_f,
588
+ 'price' => payload['price'] == nil ? payload['price'] : payload['price'].to_f,
589
589
  'price_unit' => payload['price_unit'],
590
590
  'sid' => payload['sid'],
591
591
  'start_time' => Twilio.deserialize_rfc2822(payload['start_time']),
@@ -283,11 +283,11 @@ module Twilio
283
283
  'more_info' => payload['more_info'],
284
284
  'request_method' => payload['request_method'],
285
285
  'request_url' => payload['request_url'],
286
- 'sid' => payload['sid'],
287
- 'uri' => payload['uri'],
288
286
  'request_variables' => payload['request_variables'],
289
287
  'response_body' => payload['response_body'],
290
288
  'response_headers' => payload['response_headers'],
289
+ 'sid' => payload['sid'],
290
+ 'uri' => payload['uri'],
291
291
  }
292
292
 
293
293
  # Context
@@ -372,7 +372,7 @@ module Twilio
372
372
  ##
373
373
  # Update the ParticipantInstance
374
374
  # @param [Boolean] muted Whether the participant should be muted. Can be `true` or
375
- # `false. `true` will mute the participant, and `false` will un-mute them.
375
+ # `false`. `true` will mute the participant, and `false` will un-mute them.
376
376
  # Anything value other than `true` or `false` is interpreted as `false`.
377
377
  # @param [Boolean] hold Whether the participant should be on hold. Can be: `true`
378
378
  # or `false`. `true` puts the participant on hold, and `false` lets them rejoin
@@ -604,7 +604,7 @@ module Twilio
604
604
  ##
605
605
  # Update the ParticipantInstance
606
606
  # @param [Boolean] muted Whether the participant should be muted. Can be `true` or
607
- # `false. `true` will mute the participant, and `false` will un-mute them.
607
+ # `false`. `true` will mute the participant, and `false` will un-mute them.
608
608
  # Anything value other than `true` or `false` is interpreted as `false`.
609
609
  # @param [Boolean] hold Whether the participant should be on hold. Can be: `true`
610
610
  # or `false`. `true` puts the participant on hold, and `false` lets them rejoin
@@ -268,11 +268,11 @@ module Twilio
268
268
  'more_info' => payload['more_info'],
269
269
  'request_method' => payload['request_method'],
270
270
  'request_url' => payload['request_url'],
271
- 'sid' => payload['sid'],
272
- 'uri' => payload['uri'],
273
271
  'request_variables' => payload['request_variables'],
274
272
  'response_body' => payload['response_body'],
275
273
  'response_headers' => payload['response_headers'],
274
+ 'sid' => payload['sid'],
275
+ 'uri' => payload['uri'],
276
276
  }
277
277
 
278
278
  # Context
@@ -357,7 +357,7 @@ module Twilio
357
357
  end
358
358
 
359
359
  ##
360
- # @return [Hash] The natural language analysis results that include the Task recognized, the confidence score, and a list of identified Fields
360
+ # @return [Hash] The natural language analysis results that include the Task recognized and a list of identified Fields
361
361
  def results
362
362
  @properties['results']
363
363
  end
@@ -177,7 +177,6 @@ module Twilio
177
177
  'plugin_service_attributes' => payload['plugin_service_attributes'],
178
178
  'integrations' => payload['integrations'],
179
179
  'outbound_call_flows' => payload['outbound_call_flows'],
180
- 'features_enabled' => payload['features_enabled'],
181
180
  'serverless_service_sids' => payload['serverless_service_sids'],
182
181
  'url' => payload['url'],
183
182
  }
@@ -390,12 +389,6 @@ module Twilio
390
389
  @properties['outbound_call_flows']
391
390
  end
392
391
 
393
- ##
394
- # @return [String] The list of enabled features
395
- def features_enabled
396
- @properties['features_enabled']
397
- end
398
-
399
392
  ##
400
393
  # @return [String] The list of serverless service SIDs
401
394
  def serverless_service_sids
@@ -142,8 +142,10 @@ module Twilio
142
142
  # the first message arrives when `integration_type` is `task`. If `false`, the
143
143
  # task is created with the channel.
144
144
  # @param [Boolean] long_lived Whether new channels are long-lived.
145
+ # @param [Boolean] janitor_enabled Boolean flag for enabling or disabling the
146
+ # Janitor
145
147
  # @return [FlexFlowInstance] Newly created FlexFlowInstance
146
- def create(friendly_name: nil, chat_service_sid: nil, channel_type: nil, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset)
148
+ def create(friendly_name: nil, chat_service_sid: nil, channel_type: nil, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset, janitor_enabled: :unset)
147
149
  data = Twilio::Values.of({
148
150
  'FriendlyName' => friendly_name,
149
151
  'ChatServiceSid' => chat_service_sid,
@@ -160,6 +162,7 @@ module Twilio
160
162
  'Integration.Priority' => integration_priority,
161
163
  'Integration.CreationOnMessage' => integration_creation_on_message,
162
164
  'LongLived' => long_lived,
165
+ 'JanitorEnabled' => janitor_enabled,
163
166
  })
164
167
 
165
168
  payload = @version.create(
@@ -265,8 +268,10 @@ module Twilio
265
268
  # the first message arrives when `integration_type` is `task`. If `false`, the
266
269
  # task is created with the channel.
267
270
  # @param [Boolean] long_lived Whether new channels created are long-lived.
271
+ # @param [Boolean] janitor_enabled Boolean flag for enabling or disabling the
272
+ # Janitor
268
273
  # @return [FlexFlowInstance] Updated FlexFlowInstance
269
- def update(friendly_name: :unset, chat_service_sid: :unset, channel_type: :unset, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset)
274
+ def update(friendly_name: :unset, chat_service_sid: :unset, channel_type: :unset, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset, janitor_enabled: :unset)
270
275
  data = Twilio::Values.of({
271
276
  'FriendlyName' => friendly_name,
272
277
  'ChatServiceSid' => chat_service_sid,
@@ -283,6 +288,7 @@ module Twilio
283
288
  'Integration.Priority' => integration_priority,
284
289
  'Integration.CreationOnMessage' => integration_creation_on_message,
285
290
  'LongLived' => long_lived,
291
+ 'JanitorEnabled' => janitor_enabled,
286
292
  })
287
293
 
288
294
  payload = @version.update(
@@ -340,6 +346,7 @@ module Twilio
340
346
  'integration_type' => payload['integration_type'],
341
347
  'integration' => payload['integration'],
342
348
  'long_lived' => payload['long_lived'],
349
+ 'janitor_enabled' => payload['janitor_enabled'],
343
350
  'url' => payload['url'],
344
351
  }
345
352
 
@@ -431,6 +438,12 @@ module Twilio
431
438
  @properties['long_lived']
432
439
  end
433
440
 
441
+ ##
442
+ # @return [Boolean] Boolean flag for enabling or disabling the Janitor
443
+ def janitor_enabled
444
+ @properties['janitor_enabled']
445
+ end
446
+
434
447
  ##
435
448
  # @return [String] The absolute URL of the FlexFlow resource
436
449
  def url
@@ -473,8 +486,10 @@ module Twilio
473
486
  # the first message arrives when `integration_type` is `task`. If `false`, the
474
487
  # task is created with the channel.
475
488
  # @param [Boolean] long_lived Whether new channels created are long-lived.
489
+ # @param [Boolean] janitor_enabled Boolean flag for enabling or disabling the
490
+ # Janitor
476
491
  # @return [FlexFlowInstance] Updated FlexFlowInstance
477
- def update(friendly_name: :unset, chat_service_sid: :unset, channel_type: :unset, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset)
492
+ def update(friendly_name: :unset, chat_service_sid: :unset, channel_type: :unset, contact_identity: :unset, enabled: :unset, integration_type: :unset, integration_flow_sid: :unset, integration_url: :unset, integration_workspace_sid: :unset, integration_workflow_sid: :unset, integration_channel: :unset, integration_timeout: :unset, integration_priority: :unset, integration_creation_on_message: :unset, long_lived: :unset, janitor_enabled: :unset)
478
493
  context.update(
479
494
  friendly_name: friendly_name,
480
495
  chat_service_sid: chat_service_sid,
@@ -491,6 +506,7 @@ module Twilio
491
506
  integration_priority: integration_priority,
492
507
  integration_creation_on_message: integration_creation_on_message,
493
508
  long_lived: long_lived,
509
+ janitor_enabled: janitor_enabled,
494
510
  )
495
511
  end
496
512
 
@@ -166,7 +166,7 @@ module Twilio
166
166
  end
167
167
 
168
168
  ##
169
- # @return [String] The name of the phone number's owner
169
+ # @return [Hash] The name of the phone number's owner
170
170
  def caller_name
171
171
  @properties['caller_name']
172
172
  end
@@ -190,7 +190,7 @@ module Twilio
190
190
  end
191
191
 
192
192
  ##
193
- # @return [String] The telecom company that provides the phone number
193
+ # @return [Hash] The telecom company that provides the phone number
194
194
  def carrier
195
195
  @properties['carrier']
196
196
  end
@@ -246,14 +246,14 @@ module Twilio
246
246
  'more_info' => payload['more_info'],
247
247
  'request_method' => payload['request_method'],
248
248
  'request_url' => payload['request_url'],
249
- 'resource_sid' => payload['resource_sid'],
250
- 'sid' => payload['sid'],
251
- 'url' => payload['url'],
252
- 'service_sid' => payload['service_sid'],
253
249
  'request_variables' => payload['request_variables'],
250
+ 'resource_sid' => payload['resource_sid'],
254
251
  'response_body' => payload['response_body'],
255
252
  'response_headers' => payload['response_headers'],
253
+ 'sid' => payload['sid'],
254
+ 'url' => payload['url'],
256
255
  'request_headers' => payload['request_headers'],
256
+ 'service_sid' => payload['service_sid'],
257
257
  }
258
258
 
259
259
  # Context
@@ -204,10 +204,10 @@ module Twilio
204
204
  @properties = {
205
205
  'country' => payload['country'],
206
206
  'iso_country' => payload['iso_country'],
207
- 'url' => payload['url'],
208
207
  'outbound_sms_prices' => payload['outbound_sms_prices'],
209
208
  'inbound_sms_prices' => payload['inbound_sms_prices'],
210
209
  'price_unit' => payload['price_unit'],
210
+ 'url' => payload['url'],
211
211
  }
212
212
 
213
213
  # Context
@@ -204,9 +204,9 @@ module Twilio
204
204
  @properties = {
205
205
  'country' => payload['country'],
206
206
  'iso_country' => payload['iso_country'],
207
- 'url' => payload['url'],
208
207
  'phone_number_prices' => payload['phone_number_prices'],
209
208
  'price_unit' => payload['price_unit'],
209
+ 'url' => payload['url'],
210
210
  }
211
211
 
212
212
  # Context
@@ -204,10 +204,10 @@ module Twilio
204
204
  @properties = {
205
205
  'country' => payload['country'],
206
206
  'iso_country' => payload['iso_country'],
207
- 'url' => payload['url'],
208
207
  'outbound_prefix_prices' => payload['outbound_prefix_prices'],
209
208
  'inbound_call_prices' => payload['inbound_call_prices'],
210
209
  'price_unit' => payload['price_unit'],
210
+ 'url' => payload['url'],
211
211
  }
212
212
 
213
213
  # Context
@@ -204,10 +204,10 @@ module Twilio
204
204
  @properties = {
205
205
  'country' => payload['country'],
206
206
  'iso_country' => payload['iso_country'],
207
- 'url' => payload['url'],
208
207
  'outbound_prefix_prices' => payload['outbound_prefix_prices'],
209
208
  'inbound_call_prices' => payload['inbound_call_prices'],
210
209
  'price_unit' => payload['price_unit'],
210
+ 'url' => payload['url'],
211
211
  }
212
212
 
213
213
  # Context
@@ -304,7 +304,7 @@ module Twilio
304
304
  end
305
305
 
306
306
  ##
307
- # @return [String] Indicate if a phone can receive calls or messages
307
+ # @return [Hash] Indicate if a phone can receive calls or messages
308
308
  def capabilities
309
309
  @properties['capabilities']
310
310
  end
@@ -336,8 +336,8 @@ module Twilio
336
336
  'account_sid' => payload['account_sid'],
337
337
  'status' => payload['status'],
338
338
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
339
- 'date_completed' => payload['date_completed'],
340
- 'date_deleted' => payload['date_deleted'],
339
+ 'date_completed' => Twilio.deserialize_iso8601_datetime(payload['date_completed']),
340
+ 'date_deleted' => Twilio.deserialize_iso8601_datetime(payload['date_deleted']),
341
341
  'sid' => payload['sid'],
342
342
  'room_sid' => payload['room_sid'],
343
343
  'audio_sources' => payload['audio_sources'],
@@ -388,13 +388,13 @@ module Twilio
388
388
  end
389
389
 
390
390
  ##
391
- # @return [String] Date when the media processing task finished
391
+ # @return [Time] Date when the media processing task finished
392
392
  def date_completed
393
393
  @properties['date_completed']
394
394
  end
395
395
 
396
396
  ##
397
- # @return [String] The ISO 8601 date and time in GMT when the composition generated media was deleted
397
+ # @return [Time] The ISO 8601 date and time in GMT when the composition generated media was deleted
398
398
  def date_deleted
399
399
  @properties['date_deleted']
400
400
  end
@@ -441,7 +441,7 @@ module Twilio
441
441
  'friendly_name' => payload['friendly_name'],
442
442
  'enabled' => payload['enabled'],
443
443
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
444
- 'date_updated' => payload['date_updated'],
444
+ 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
445
445
  'sid' => payload['sid'],
446
446
  'audio_sources' => payload['audio_sources'],
447
447
  'audio_sources_excluded' => payload['audio_sources_excluded'],
@@ -495,7 +495,7 @@ module Twilio
495
495
  end
496
496
 
497
497
  ##
498
- # @return [String] The ISO 8601 date and time in GMT when the resource was last updated
498
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was last updated
499
499
  def date_updated
500
500
  @properties['date_updated']
501
501
  end
@@ -913,7 +913,7 @@ module Twilio
913
913
  # max_participants:: Maximum number of participants
914
914
  # record:: Record the conference
915
915
  # region:: Conference region
916
- # whisper:: Call whisper
916
+ # coach:: Call coach
917
917
  # trim:: Trim the conference recording
918
918
  # status_callback_event:: Events to call status callback URL
919
919
  # status_callback:: Status callback URL
@@ -923,8 +923,8 @@ module Twilio
923
923
  # recording_status_callback_event:: Recording status callback events
924
924
  # event_callback_url:: Event callback URL
925
925
  # keyword_args:: additional attributes
926
- def conference(name, muted: nil, beep: nil, start_conference_on_enter: nil, end_conference_on_exit: nil, wait_url: nil, wait_method: nil, max_participants: nil, record: nil, region: nil, whisper: nil, trim: nil, status_callback_event: nil, status_callback: nil, status_callback_method: nil, recording_status_callback: nil, recording_status_callback_method: nil, recording_status_callback_event: nil, event_callback_url: nil, **keyword_args)
927
- append(Conference.new(name, muted: muted, beep: beep, start_conference_on_enter: start_conference_on_enter, end_conference_on_exit: end_conference_on_exit, wait_url: wait_url, wait_method: wait_method, max_participants: max_participants, record: record, region: region, whisper: whisper, trim: trim, status_callback_event: status_callback_event, status_callback: status_callback, status_callback_method: status_callback_method, recording_status_callback: recording_status_callback, recording_status_callback_method: recording_status_callback_method, recording_status_callback_event: recording_status_callback_event, event_callback_url: event_callback_url, **keyword_args))
926
+ def conference(name, muted: nil, beep: nil, start_conference_on_enter: nil, end_conference_on_exit: nil, wait_url: nil, wait_method: nil, max_participants: nil, record: nil, region: nil, coach: nil, trim: nil, status_callback_event: nil, status_callback: nil, status_callback_method: nil, recording_status_callback: nil, recording_status_callback_method: nil, recording_status_callback_event: nil, event_callback_url: nil, **keyword_args)
927
+ append(Conference.new(name, muted: muted, beep: beep, start_conference_on_enter: start_conference_on_enter, end_conference_on_exit: end_conference_on_exit, wait_url: wait_url, wait_method: wait_method, max_participants: max_participants, record: record, region: region, coach: coach, trim: trim, status_callback_event: status_callback_event, status_callback: status_callback, status_callback_method: status_callback_method, recording_status_callback: recording_status_callback, recording_status_callback_method: recording_status_callback_method, recording_status_callback_event: recording_status_callback_event, event_callback_url: event_callback_url, **keyword_args))
928
928
  end
929
929
 
930
930
  ##
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '5.27.1'
2
+ VERSION = '5.28.0'
3
3
  end
@@ -108,7 +108,7 @@ describe 'Notification' do
108
108
  {
109
109
  "end": 0,
110
110
  "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0",
111
- "last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=100",
111
+ "previous_page_uri": null,
112
112
  "next_page_uri": null,
113
113
  "notifications": [
114
114
  {
@@ -125,15 +125,12 @@ describe 'Notification' do
125
125
  "request_method": null,
126
126
  "request_url": "",
127
127
  "sid": "NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
128
- "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications/NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
128
+ "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications/NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
129
129
  }
130
130
  ],
131
- "num_pages": 101,
132
131
  "page": 0,
133
132
  "page_size": 1,
134
- "previous_page_uri": null,
135
133
  "start": 0,
136
- "total": 101,
137
134
  "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0"
138
135
  }
139
136
  ]
@@ -152,15 +149,12 @@ describe 'Notification' do
152
149
  {
153
150
  "end": 0,
154
151
  "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0",
155
- "last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=100",
156
152
  "next_page_uri": null,
157
153
  "notifications": [],
158
- "num_pages": 101,
159
154
  "page": 0,
160
155
  "page_size": 1,
161
156
  "previous_page_uri": null,
162
157
  "start": 0,
163
- "total": 101,
164
158
  "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0"
165
159
  }
166
160
  ]
@@ -39,11 +39,7 @@ describe 'Query' do
39
39
  "sample_sid": "UFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
40
40
  "assistant_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
41
41
  "results": {
42
- "task": {
43
- "name": "name",
44
- "task_sid": "UDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
45
- "confidence": 0.9
46
- },
42
+ "task": "name",
47
43
  "fields": [
48
44
  {
49
45
  "name": "name",
@@ -123,11 +119,7 @@ describe 'Query' do
123
119
  "sample_sid": "UFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
124
120
  "assistant_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
125
121
  "results": {
126
- "task": {
127
- "name": "name",
128
- "task_sid": "UDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
129
- "confidence": 0.9
130
- },
122
+ "task": "name",
131
123
  "fields": [
132
124
  {
133
125
  "name": "name",
@@ -192,11 +184,7 @@ describe 'Query' do
192
184
  "sample_sid": "UFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
193
185
  "assistant_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
194
186
  "results": {
195
- "task": {
196
- "name": "name",
197
- "task_sid": "UDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
198
- "confidence": 0.9
199
- },
187
+ "task": "name",
200
188
  "fields": [
201
189
  {
202
190
  "name": "name",
@@ -249,11 +237,7 @@ describe 'Query' do
249
237
  "sample_sid": "UFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
250
238
  "assistant_sid": "UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
251
239
  "results": {
252
- "task": {
253
- "name": "name",
254
- "task_sid": "UDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
255
- "confidence": 0.9
256
- },
240
+ "task": "name",
257
241
  "fields": [
258
242
  {
259
243
  "name": "name",
@@ -141,10 +141,6 @@ describe 'Configuration' do
141
141
  "workflow_sid": "WWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
142
142
  }
143
143
  },
144
- "features_enabled": [
145
- "some_feature",
146
- "another_feature"
147
- ],
148
144
  "serverless_service_sids": [
149
145
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
150
146
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
@@ -291,10 +287,6 @@ describe 'Configuration' do
291
287
  "workflow_sid": "WWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
292
288
  }
293
289
  },
294
- "features_enabled": [
295
- "some_feature",
296
- "another_feature"
297
- ],
298
290
  "serverless_service_sids": [
299
291
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
300
292
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
@@ -441,10 +433,6 @@ describe 'Configuration' do
441
433
  "workflow_sid": "WWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
442
434
  }
443
435
  },
444
- "features_enabled": [
445
- "some_feature",
446
- "another_feature"
447
- ],
448
436
  "serverless_service_sids": [
449
437
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
450
438
  "ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
@@ -54,6 +54,7 @@ describe 'FlexFlow' do
54
54
  "flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
55
55
  },
56
56
  "long_lived": true,
57
+ "janitor_enabled": true,
57
58
  "url": "https://flex-api.twilio.com/v1/FlexFlows/FOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
58
59
  }
59
60
  ]
@@ -124,6 +125,7 @@ describe 'FlexFlow' do
124
125
  "flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
125
126
  },
126
127
  "long_lived": true,
128
+ "janitor_enabled": true,
127
129
  "url": "https://flex-api.twilio.com/v1/FlexFlows/FOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
128
130
  }
129
131
  ]
@@ -173,6 +175,7 @@ describe 'FlexFlow' do
173
175
  "flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
174
176
  },
175
177
  "long_lived": true,
178
+ "janitor_enabled": true,
176
179
  "url": "https://flex-api.twilio.com/v1/FlexFlows/FOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
177
180
  }
178
181
  ]
@@ -217,6 +220,7 @@ describe 'FlexFlow' do
217
220
  "flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
218
221
  },
219
222
  "long_lived": true,
223
+ "janitor_enabled": true,
220
224
  "url": "https://flex-api.twilio.com/v1/FlexFlows/FOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
221
225
  }
222
226
  ]
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.27.1
4
+ version: 5.28.0
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: 2019-10-02 00:00:00.000000000 Z
11
+ date: 2019-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -921,7 +921,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
921
921
  - !ruby/object:Gem::Version
922
922
  version: '0'
923
923
  requirements: []
924
- rubygems_version: 3.0.6
924
+ rubyforge_project:
925
+ rubygems_version: 2.5.2.3
925
926
  signing_key:
926
927
  specification_version: 4
927
928
  summary: The official library for communicating with the Twilio REST API, building