twilio-ruby 5.35.0 → 5.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +28 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +87 -87
  5. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +14 -0
  6. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +71 -71
  7. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +29 -29
  8. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +27 -4
  9. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +2 -1
  10. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +7 -0
  11. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +6 -3
  12. data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +26 -0
  13. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand.rb +239 -0
  14. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb +266 -0
  15. data/lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel/channel.rb +197 -0
  16. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +7 -0
  17. data/lib/twilio-ruby/rest/supersim.rb +11 -1
  18. data/lib/twilio-ruby/rest/supersim/v1.rb +16 -1
  19. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +10 -1
  20. data/lib/twilio-ruby/rest/supersim/v1/network.rb +315 -0
  21. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +53 -12
  22. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +352 -0
  23. data/lib/twilio-ruby/rest/verify.rb +9 -0
  24. data/lib/twilio-ruby/rest/verify/v2.rb +16 -0
  25. data/lib/twilio-ruby/rest/verify/v2/form.rb +197 -0
  26. data/lib/twilio-ruby/rest/verify/v2/service.rb +26 -0
  27. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +379 -0
  28. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +500 -0
  29. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor/challenge.rb +494 -0
  30. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +8 -4
  31. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +8 -4
  32. data/lib/twilio-ruby/version.rb +1 -1
  33. data/spec/integration/api/v2010/account/call_spec.rb +5 -5
  34. data/spec/integration/api/v2010/account/conference_spec.rb +42 -14
  35. data/spec/integration/conversations/v1/conversation/participant_spec.rb +7 -0
  36. data/spec/integration/flex_api/v1/configuration_spec.rb +3 -0
  37. data/spec/integration/preview/trusted_comms/business/brand/branded_channel/channel_spec.rb +54 -0
  38. data/spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb +52 -0
  39. data/spec/integration/preview/trusted_comms/business/brand_spec.rb +49 -0
  40. data/spec/integration/preview/trusted_comms/business_spec.rb +1 -0
  41. data/spec/integration/serverless/v1/service/environment/log_spec.rb +1 -0
  42. data/spec/integration/supersim/v1/fleet_spec.rb +4 -0
  43. data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb +179 -0
  44. data/spec/integration/supersim/v1/network_access_profile_spec.rb +20 -5
  45. data/spec/integration/supersim/v1/network_spec.rb +139 -0
  46. data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +13 -13
  47. data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +23 -23
  48. data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +28 -28
  49. data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +17 -17
  50. data/spec/integration/trunking/v1/trunk_spec.rb +33 -33
  51. data/spec/integration/verify/v2/form_spec.rb +48 -0
  52. data/spec/integration/verify/v2/service/entity/factor/challenge_spec.rb +353 -0
  53. data/spec/integration/verify/v2/service/entity/factor_spec.rb +298 -0
  54. data/spec/integration/verify/v2/service/entity_spec.rb +201 -0
  55. data/spec/integration/verify/v2/service_spec.rb +24 -4
  56. metadata +29 -2
@@ -42,6 +42,10 @@ describe 'Service' do
42
42
  "mailer_sid": "MDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
43
43
  "do_not_share_warning_enabled": false,
44
44
  "custom_code_enabled": true,
45
+ "push": {
46
+ "include_date": true,
47
+ "notify_service_sid": null
48
+ },
45
49
  "date_created": "2015-07-30T20:00:00Z",
46
50
  "date_updated": "2015-07-30T20:00:00Z",
47
51
  "url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -49,7 +53,8 @@ describe 'Service' do
49
53
  "verification_checks": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck",
50
54
  "verifications": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications",
51
55
  "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits",
52
- "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations"
56
+ "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations",
57
+ "entities": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities"
53
58
  }
54
59
  }
55
60
  ]
@@ -92,6 +97,10 @@ describe 'Service' do
92
97
  "mailer_sid": "MDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
93
98
  "do_not_share_warning_enabled": false,
94
99
  "custom_code_enabled": true,
100
+ "push": {
101
+ "include_date": true,
102
+ "notify_service_sid": null
103
+ },
95
104
  "date_created": "2015-07-30T20:00:00Z",
96
105
  "date_updated": "2015-07-30T20:00:00Z",
97
106
  "url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -99,7 +108,8 @@ describe 'Service' do
99
108
  "verification_checks": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck",
100
109
  "verifications": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications",
101
110
  "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits",
102
- "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations"
111
+ "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations",
112
+ "entities": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities"
103
113
  }
104
114
  }
105
115
  ]
@@ -179,6 +189,10 @@ describe 'Service' do
179
189
  "mailer_sid": "MDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
180
190
  "do_not_share_warning_enabled": false,
181
191
  "custom_code_enabled": true,
192
+ "push": {
193
+ "include_date": true,
194
+ "notify_service_sid": null
195
+ },
182
196
  "date_created": "2015-07-30T20:00:00Z",
183
197
  "date_updated": "2015-07-30T20:00:00Z",
184
198
  "url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -186,7 +200,8 @@ describe 'Service' do
186
200
  "verification_checks": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck",
187
201
  "verifications": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications",
188
202
  "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits",
189
- "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations"
203
+ "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations",
204
+ "entities": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities"
190
205
  }
191
206
  }
192
207
  ]
@@ -231,6 +246,10 @@ describe 'Service' do
231
246
  "mailer_sid": "MDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
232
247
  "do_not_share_warning_enabled": false,
233
248
  "custom_code_enabled": true,
249
+ "push": {
250
+ "include_date": true,
251
+ "notify_service_sid": null
252
+ },
234
253
  "date_created": "2015-07-30T20:00:00Z",
235
254
  "date_updated": "2015-07-30T20:00:00Z",
236
255
  "url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -238,7 +257,8 @@ describe 'Service' do
238
257
  "verification_checks": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck",
239
258
  "verifications": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications",
240
259
  "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits",
241
- "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations"
260
+ "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations",
261
+ "entities": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Entities"
242
262
  }
243
263
  }
244
264
  ]
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.35.0
4
+ version: 5.36.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: 2020-05-20 00:00:00.000000000 Z
11
+ date: 2020-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -489,6 +489,9 @@ files:
489
489
  - lib/twilio-ruby/rest/preview/trusted_comms.rb
490
490
  - lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb
491
491
  - lib/twilio-ruby/rest/preview/trusted_comms/business.rb
492
+ - lib/twilio-ruby/rest/preview/trusted_comms/business/brand.rb
493
+ - lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel.rb
494
+ - lib/twilio-ruby/rest/preview/trusted_comms/business/brand/branded_channel/channel.rb
492
495
  - lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb
493
496
  - lib/twilio-ruby/rest/preview/trusted_comms/business/insights/impressions_rate.rb
494
497
  - lib/twilio-ruby/rest/preview/trusted_comms/cps.rb
@@ -573,7 +576,9 @@ files:
573
576
  - lib/twilio-ruby/rest/supersim/v1.rb
574
577
  - lib/twilio-ruby/rest/supersim/v1/command.rb
575
578
  - lib/twilio-ruby/rest/supersim/v1/fleet.rb
579
+ - lib/twilio-ruby/rest/supersim/v1/network.rb
576
580
  - lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb
581
+ - lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb
577
582
  - lib/twilio-ruby/rest/supersim/v1/sim.rb
578
583
  - lib/twilio-ruby/rest/supersim/v1/usage_record.rb
579
584
  - lib/twilio-ruby/rest/sync.rb
@@ -625,7 +630,11 @@ files:
625
630
  - lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb
626
631
  - lib/twilio-ruby/rest/verify.rb
627
632
  - lib/twilio-ruby/rest/verify/v2.rb
633
+ - lib/twilio-ruby/rest/verify/v2/form.rb
628
634
  - lib/twilio-ruby/rest/verify/v2/service.rb
635
+ - lib/twilio-ruby/rest/verify/v2/service/entity.rb
636
+ - lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb
637
+ - lib/twilio-ruby/rest/verify/v2/service/entity/factor/challenge.rb
629
638
  - lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb
630
639
  - lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb
631
640
  - lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb
@@ -884,6 +893,9 @@ files:
884
893
  - spec/integration/preview/sync/service/sync_map_spec.rb
885
894
  - spec/integration/preview/sync/service_spec.rb
886
895
  - spec/integration/preview/trusted_comms/branded_call_spec.rb
896
+ - spec/integration/preview/trusted_comms/business/brand/branded_channel/channel_spec.rb
897
+ - spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb
898
+ - spec/integration/preview/trusted_comms/business/brand_spec.rb
887
899
  - spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb
888
900
  - spec/integration/preview/trusted_comms/business/insights_spec.rb
889
901
  - spec/integration/preview/trusted_comms/business_spec.rb
@@ -955,7 +967,9 @@ files:
955
967
  - spec/integration/studio/v2/flow_validate_spec.rb
956
968
  - spec/integration/supersim/v1/command_spec.rb
957
969
  - spec/integration/supersim/v1/fleet_spec.rb
970
+ - spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb
958
971
  - spec/integration/supersim/v1/network_access_profile_spec.rb
972
+ - spec/integration/supersim/v1/network_spec.rb
959
973
  - spec/integration/supersim/v1/sim_spec.rb
960
974
  - spec/integration/supersim/v1/usage_record_spec.rb
961
975
  - spec/integration/sync/v1/service/document/document_permission_spec.rb
@@ -999,6 +1013,10 @@ files:
999
1013
  - spec/integration/trunking/v1/trunk/origination_url_spec.rb
1000
1014
  - spec/integration/trunking/v1/trunk/phone_number_spec.rb
1001
1015
  - spec/integration/trunking/v1/trunk_spec.rb
1016
+ - spec/integration/verify/v2/form_spec.rb
1017
+ - spec/integration/verify/v2/service/entity/factor/challenge_spec.rb
1018
+ - spec/integration/verify/v2/service/entity/factor_spec.rb
1019
+ - spec/integration/verify/v2/service/entity_spec.rb
1002
1020
  - spec/integration/verify/v2/service/messaging_configuration_spec.rb
1003
1021
  - spec/integration/verify/v2/service/rate_limit/bucket_spec.rb
1004
1022
  - spec/integration/verify/v2/service/rate_limit_spec.rb
@@ -1290,6 +1308,9 @@ test_files:
1290
1308
  - spec/integration/preview/sync/service/sync_map_spec.rb
1291
1309
  - spec/integration/preview/sync/service_spec.rb
1292
1310
  - spec/integration/preview/trusted_comms/branded_call_spec.rb
1311
+ - spec/integration/preview/trusted_comms/business/brand/branded_channel/channel_spec.rb
1312
+ - spec/integration/preview/trusted_comms/business/brand/branded_channel_spec.rb
1313
+ - spec/integration/preview/trusted_comms/business/brand_spec.rb
1293
1314
  - spec/integration/preview/trusted_comms/business/insights/impressions_rate_spec.rb
1294
1315
  - spec/integration/preview/trusted_comms/business/insights_spec.rb
1295
1316
  - spec/integration/preview/trusted_comms/business_spec.rb
@@ -1361,7 +1382,9 @@ test_files:
1361
1382
  - spec/integration/studio/v2/flow_validate_spec.rb
1362
1383
  - spec/integration/supersim/v1/command_spec.rb
1363
1384
  - spec/integration/supersim/v1/fleet_spec.rb
1385
+ - spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb
1364
1386
  - spec/integration/supersim/v1/network_access_profile_spec.rb
1387
+ - spec/integration/supersim/v1/network_spec.rb
1365
1388
  - spec/integration/supersim/v1/sim_spec.rb
1366
1389
  - spec/integration/supersim/v1/usage_record_spec.rb
1367
1390
  - spec/integration/sync/v1/service/document/document_permission_spec.rb
@@ -1405,6 +1428,10 @@ test_files:
1405
1428
  - spec/integration/trunking/v1/trunk/origination_url_spec.rb
1406
1429
  - spec/integration/trunking/v1/trunk/phone_number_spec.rb
1407
1430
  - spec/integration/trunking/v1/trunk_spec.rb
1431
+ - spec/integration/verify/v2/form_spec.rb
1432
+ - spec/integration/verify/v2/service/entity/factor/challenge_spec.rb
1433
+ - spec/integration/verify/v2/service/entity/factor_spec.rb
1434
+ - spec/integration/verify/v2/service/entity_spec.rb
1408
1435
  - spec/integration/verify/v2/service/messaging_configuration_spec.rb
1409
1436
  - spec/integration/verify/v2/service/rate_limit/bucket_spec.rb
1410
1437
  - spec/integration/verify/v2/service/rate_limit_spec.rb