twilio-ruby 5.47.0 → 5.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +17 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/client.rb +7 -0
  5. data/lib/twilio-ruby/rest/events/v1/subscription.rb +2 -2
  6. data/lib/twilio-ruby/rest/messaging.rb +0 -14
  7. data/lib/twilio-ruby/rest/messaging/v1.rb +0 -22
  8. data/lib/twilio-ruby/rest/trusthub.rb +100 -0
  9. data/lib/twilio-ruby/rest/trusthub/v1.rb +139 -0
  10. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +523 -0
  11. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +359 -0
  12. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +330 -0
  13. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +328 -0
  14. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +356 -0
  15. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +271 -0
  16. data/lib/twilio-ruby/rest/{messaging/v1/use_case.rb → trusthub/v1/policies.rb} +110 -46
  17. data/lib/twilio-ruby/rest/{messaging/v1/campaign.rb → trusthub/v1/supporting_document.rb} +125 -143
  18. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +271 -0
  19. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +523 -0
  20. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +359 -0
  21. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +330 -0
  22. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +328 -0
  23. data/lib/twilio-ruby/rest/verify.rb +9 -0
  24. data/lib/twilio-ruby/rest/verify/v2.rb +15 -0
  25. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +329 -0
  26. data/lib/twilio-ruby/version.rb +1 -1
  27. data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +4 -16
  28. data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment_spec.rb +192 -0
  29. data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_entity_assignments_spec.rb +186 -0
  30. data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_evaluations_spec.rb +615 -0
  31. data/spec/integration/trusthub/v1/customer_profiles_spec.rb +255 -0
  32. data/spec/integration/trusthub/v1/end_user_spec.rb +247 -0
  33. data/spec/integration/trusthub/v1/end_user_type_spec.rb +176 -0
  34. data/spec/integration/trusthub/v1/policies_spec.rb +252 -0
  35. data/spec/integration/trusthub/v1/supporting_document_spec.rb +235 -0
  36. data/spec/integration/trusthub/v1/supporting_document_type_spec.rb +159 -0
  37. data/spec/integration/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment_spec.rb +192 -0
  38. data/spec/integration/trusthub/v1/trust_products/trust_products_entity_assignments_spec.rb +186 -0
  39. data/spec/integration/trusthub/v1/trust_products/trust_products_evaluations_spec.rb +615 -0
  40. data/spec/integration/trusthub/v1/trust_products_spec.rb +255 -0
  41. data/spec/integration/verify/v2/verification_attempt_spec.rb +146 -0
  42. metadata +46 -8
  43. data/spec/integration/messaging/v1/campaign_spec.rb +0 -194
  44. data/spec/integration/messaging/v1/use_case_spec.rb +0 -55
@@ -0,0 +1,255 @@
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 'TrustProducts' do
12
+ it "can create" do
13
+ @holodeck.mock(Twilio::Response.new(500, ''))
14
+
15
+ expect {
16
+ @client.trusthub.v1.trust_products.create(friendly_name: 'friendly_name', email: 'email', policy_sid: 'RNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
17
+ }.to raise_exception(Twilio::REST::TwilioError)
18
+
19
+ values = {
20
+ 'FriendlyName' => 'friendly_name',
21
+ 'Email' => 'email',
22
+ 'PolicySid' => 'RNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
23
+ }
24
+ expect(
25
+ @holodeck.has_request?(Holodeck::Request.new(
26
+ method: 'post',
27
+ url: 'https://trusthub.twilio.com/v1/TrustProducts',
28
+ data: values,
29
+ ))).to eq(true)
30
+ end
31
+
32
+ it "receives create responses" do
33
+ @holodeck.mock(Twilio::Response.new(
34
+ 201,
35
+ %q[
36
+ {
37
+ "sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
38
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
39
+ "policy_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
40
+ "friendly_name": "friendly_name",
41
+ "status": "draft",
42
+ "email": "email",
43
+ "status_callback": "http://www.example.com",
44
+ "valid_until": null,
45
+ "date_created": "2019-07-30T22:29:24Z",
46
+ "date_updated": "2019-07-31T01:09:00Z",
47
+ "url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
48
+ "links": {
49
+ "trust_products_entity_assignments": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/EntityAssignments",
50
+ "trust_products_evaluations": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
51
+ "trust_products_channel_endpoint_assignment": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments"
52
+ }
53
+ }
54
+ ]
55
+ ))
56
+
57
+ actual = @client.trusthub.v1.trust_products.create(friendly_name: 'friendly_name', email: 'email', policy_sid: 'RNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
58
+
59
+ expect(actual).to_not eq(nil)
60
+ end
61
+
62
+ it "can read" do
63
+ @holodeck.mock(Twilio::Response.new(500, ''))
64
+
65
+ expect {
66
+ @client.trusthub.v1.trust_products.list()
67
+ }.to raise_exception(Twilio::REST::TwilioError)
68
+
69
+ expect(
70
+ @holodeck.has_request?(Holodeck::Request.new(
71
+ method: 'get',
72
+ url: 'https://trusthub.twilio.com/v1/TrustProducts',
73
+ ))).to eq(true)
74
+ end
75
+
76
+ it "receives read_empty responses" do
77
+ @holodeck.mock(Twilio::Response.new(
78
+ 200,
79
+ %q[
80
+ {
81
+ "results": [],
82
+ "meta": {
83
+ "page": 0,
84
+ "page_size": 50,
85
+ "first_page_url": "https://trusthub.twilio.com/v1/TrustProducts?PageSize=50&Page=0",
86
+ "previous_page_url": null,
87
+ "url": "https://trusthub.twilio.com/v1/TrustProducts?PageSize=50&Page=0",
88
+ "next_page_url": null,
89
+ "key": "results"
90
+ }
91
+ }
92
+ ]
93
+ ))
94
+
95
+ actual = @client.trusthub.v1.trust_products.list()
96
+
97
+ expect(actual).to_not eq(nil)
98
+ end
99
+
100
+ it "receives read_full responses" do
101
+ @holodeck.mock(Twilio::Response.new(
102
+ 200,
103
+ %q[
104
+ {
105
+ "results": [
106
+ {
107
+ "sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
108
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
109
+ "policy_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
110
+ "friendly_name": "friendly_name",
111
+ "status": "provisionally-approved",
112
+ "email": "email",
113
+ "status_callback": "http://www.example.com",
114
+ "valid_until": "2020-07-31T01:00:00Z",
115
+ "date_created": "2019-07-30T22:29:24Z",
116
+ "date_updated": "2019-07-31T01:09:00Z",
117
+ "url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
118
+ "links": {
119
+ "trust_products_entity_assignments": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/EntityAssignments",
120
+ "trust_products_evaluations": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
121
+ "trust_products_channel_endpoint_assignment": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments"
122
+ }
123
+ }
124
+ ],
125
+ "meta": {
126
+ "page": 0,
127
+ "page_size": 50,
128
+ "first_page_url": "https://trusthub.twilio.com/v1/TrustProducts?Status=draft&FriendlyName=friendly_name&PolicySid=RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
129
+ "previous_page_url": null,
130
+ "url": "https://trusthub.twilio.com/v1/TrustProducts?Status=draft&FriendlyName=friendly_name&PolicySid=RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
131
+ "next_page_url": null,
132
+ "key": "results"
133
+ }
134
+ }
135
+ ]
136
+ ))
137
+
138
+ actual = @client.trusthub.v1.trust_products.list()
139
+
140
+ expect(actual).to_not eq(nil)
141
+ end
142
+
143
+ it "can fetch" do
144
+ @holodeck.mock(Twilio::Response.new(500, ''))
145
+
146
+ expect {
147
+ @client.trusthub.v1.trust_products('BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
148
+ }.to raise_exception(Twilio::REST::TwilioError)
149
+
150
+ expect(
151
+ @holodeck.has_request?(Holodeck::Request.new(
152
+ method: 'get',
153
+ url: 'https://trusthub.twilio.com/v1/TrustProducts/BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
154
+ ))).to eq(true)
155
+ end
156
+
157
+ it "receives fetch responses" do
158
+ @holodeck.mock(Twilio::Response.new(
159
+ 200,
160
+ %q[
161
+ {
162
+ "sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
163
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
164
+ "policy_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
165
+ "friendly_name": "friendly_name",
166
+ "status": "draft",
167
+ "valid_until": null,
168
+ "email": "email",
169
+ "status_callback": "http://www.example.com",
170
+ "date_created": "2019-07-30T22:29:24Z",
171
+ "date_updated": "2019-07-31T01:09:00Z",
172
+ "url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
173
+ "links": {
174
+ "trust_products_entity_assignments": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/EntityAssignments",
175
+ "trust_products_evaluations": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
176
+ "trust_products_channel_endpoint_assignment": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments"
177
+ }
178
+ }
179
+ ]
180
+ ))
181
+
182
+ actual = @client.trusthub.v1.trust_products('BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
183
+
184
+ expect(actual).to_not eq(nil)
185
+ end
186
+
187
+ it "can update" do
188
+ @holodeck.mock(Twilio::Response.new(500, ''))
189
+
190
+ expect {
191
+ @client.trusthub.v1.trust_products('BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
192
+ }.to raise_exception(Twilio::REST::TwilioError)
193
+
194
+ expect(
195
+ @holodeck.has_request?(Holodeck::Request.new(
196
+ method: 'post',
197
+ url: 'https://trusthub.twilio.com/v1/TrustProducts/BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
198
+ ))).to eq(true)
199
+ end
200
+
201
+ it "receives update responses" do
202
+ @holodeck.mock(Twilio::Response.new(
203
+ 200,
204
+ %q[
205
+ {
206
+ "sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
207
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
208
+ "policy_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
209
+ "friendly_name": "friendly_name",
210
+ "status": "draft",
211
+ "email": "email",
212
+ "status_callback": "http://www.example.com",
213
+ "valid_until": null,
214
+ "date_created": "2019-07-30T22:29:24Z",
215
+ "date_updated": "2019-07-31T01:09:00Z",
216
+ "url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
217
+ "links": {
218
+ "trust_products_entity_assignments": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/EntityAssignments",
219
+ "trust_products_evaluations": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
220
+ "trust_products_channel_endpoint_assignment": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments"
221
+ }
222
+ }
223
+ ]
224
+ ))
225
+
226
+ actual = @client.trusthub.v1.trust_products('BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
227
+
228
+ expect(actual).to_not eq(nil)
229
+ end
230
+
231
+ it "can delete" do
232
+ @holodeck.mock(Twilio::Response.new(500, ''))
233
+
234
+ expect {
235
+ @client.trusthub.v1.trust_products('BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
236
+ }.to raise_exception(Twilio::REST::TwilioError)
237
+
238
+ expect(
239
+ @holodeck.has_request?(Holodeck::Request.new(
240
+ method: 'delete',
241
+ url: 'https://trusthub.twilio.com/v1/TrustProducts/BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
242
+ ))).to eq(true)
243
+ end
244
+
245
+ it "receives delete responses" do
246
+ @holodeck.mock(Twilio::Response.new(
247
+ 204,
248
+ nil,
249
+ ))
250
+
251
+ actual = @client.trusthub.v1.trust_products('BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
252
+
253
+ expect(actual).to eq(true)
254
+ end
255
+ end
@@ -0,0 +1,146 @@
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 'VerificationAttempt' do
12
+ it "can read" do
13
+ @holodeck.mock(Twilio::Response.new(500, ''))
14
+
15
+ expect {
16
+ @client.verify.v2.verification_attempts.list()
17
+ }.to raise_exception(Twilio::REST::TwilioError)
18
+
19
+ expect(
20
+ @holodeck.has_request?(Holodeck::Request.new(
21
+ method: 'get',
22
+ url: 'https://verify.twilio.com/v2/Attempts',
23
+ ))).to eq(true)
24
+ end
25
+
26
+ it "receives list_verification_attempts_empty responses" do
27
+ @holodeck.mock(Twilio::Response.new(
28
+ 200,
29
+ %q[
30
+ {
31
+ "attempts": [],
32
+ "meta": {
33
+ "key": "attempts",
34
+ "page": 0,
35
+ "page_size": 50,
36
+ "first_page_url": "https://verify.twilio.com/v2/Attempts?PageSize=50&Page=0",
37
+ "previous_page_url": null,
38
+ "url": "https://verify.twilio.com/v2/Attempts?PageSize=50&Page=0",
39
+ "next_page_url": null
40
+ }
41
+ }
42
+ ]
43
+ ))
44
+
45
+ actual = @client.verify.v2.verification_attempts.list()
46
+
47
+ expect(actual).to_not eq(nil)
48
+ end
49
+
50
+ it "receives list_verification_attempts responses" do
51
+ @holodeck.mock(Twilio::Response.new(
52
+ 200,
53
+ %q[
54
+ {
55
+ "attempts": [
56
+ {
57
+ "sid": "VLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
58
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
59
+ "service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
60
+ "date_created": "2020-08-11T18:36:59Z",
61
+ "date_updated": "2020-08-11T18:37:00Z",
62
+ "conversion_status": "unconverted",
63
+ "channel": "sms",
64
+ "channel_data": {
65
+ "verification_sid": "VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
66
+ "to": "+573003003030",
67
+ "status": "unconfirmed",
68
+ "message_status": "undelivered",
69
+ "error_code": "30008",
70
+ "country": "CO",
71
+ "code_length": 6,
72
+ "locale": "es",
73
+ "mcc": "732",
74
+ "mnc": "103",
75
+ "carrier": "Colombia Movil (Tigo)"
76
+ },
77
+ "url": "https://verify.twilio.com/v2/Attempts/VLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
78
+ }
79
+ ],
80
+ "meta": {
81
+ "key": "attempts",
82
+ "page": 0,
83
+ "page_size": 50,
84
+ "first_page_url": "https://verify.twilio.com/v2/Attempts?PageSize=50&Page=0",
85
+ "previous_page_url": null,
86
+ "url": "https://verify.twilio.com/v2/Attempts?PageSize=50&Page=0",
87
+ "next_page_url": null
88
+ }
89
+ }
90
+ ]
91
+ ))
92
+
93
+ actual = @client.verify.v2.verification_attempts.list()
94
+
95
+ expect(actual).to_not eq(nil)
96
+ end
97
+
98
+ it "can fetch" do
99
+ @holodeck.mock(Twilio::Response.new(500, ''))
100
+
101
+ expect {
102
+ @client.verify.v2.verification_attempts('VLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
103
+ }.to raise_exception(Twilio::REST::TwilioError)
104
+
105
+ expect(
106
+ @holodeck.has_request?(Holodeck::Request.new(
107
+ method: 'get',
108
+ url: 'https://verify.twilio.com/v2/Attempts/VLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
109
+ ))).to eq(true)
110
+ end
111
+
112
+ it "receives fetch_verification_attempt responses" do
113
+ @holodeck.mock(Twilio::Response.new(
114
+ 200,
115
+ %q[
116
+ {
117
+ "sid": "VLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
118
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
119
+ "service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
120
+ "date_created": "2020-08-11T18:36:59Z",
121
+ "date_updated": "2020-08-11T18:37:00Z",
122
+ "conversion_status": "unconverted",
123
+ "channel": "sms",
124
+ "channel_data": {
125
+ "verification_sid": "VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
126
+ "to": "+573003003030",
127
+ "status": "unconfirmed",
128
+ "message_status": "undelivered",
129
+ "error_code": "30008",
130
+ "country": "CO",
131
+ "code_length": 6,
132
+ "locale": "es",
133
+ "mcc": "732",
134
+ "mnc": "103",
135
+ "carrier": "Colombia Movil (Tigo)"
136
+ },
137
+ "url": "https://verify.twilio.com/v2/Attempts/VLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
138
+ }
139
+ ]
140
+ ))
141
+
142
+ actual = @client.verify.v2.verification_attempts('VLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
143
+
144
+ expect(actual).to_not eq(nil)
145
+ end
146
+ 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.47.0
4
+ version: 5.48.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: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2021-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -467,13 +467,11 @@ files:
467
467
  - lib/twilio-ruby/rest/messaging.rb
468
468
  - lib/twilio-ruby/rest/messaging/v1.rb
469
469
  - lib/twilio-ruby/rest/messaging/v1/brand_registration.rb
470
- - lib/twilio-ruby/rest/messaging/v1/campaign.rb
471
470
  - lib/twilio-ruby/rest/messaging/v1/deactivation.rb
472
471
  - lib/twilio-ruby/rest/messaging/v1/service.rb
473
472
  - lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb
474
473
  - lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb
475
474
  - lib/twilio-ruby/rest/messaging/v1/service/short_code.rb
476
- - lib/twilio-ruby/rest/messaging/v1/use_case.rb
477
475
  - lib/twilio-ruby/rest/monitor.rb
478
476
  - lib/twilio-ruby/rest/monitor/v1.rb
479
477
  - lib/twilio-ruby/rest/monitor/v1/alert.rb
@@ -666,6 +664,21 @@ files:
666
664
  - lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb
667
665
  - lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb
668
666
  - lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb
667
+ - lib/twilio-ruby/rest/trusthub.rb
668
+ - lib/twilio-ruby/rest/trusthub/v1.rb
669
+ - lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb
670
+ - lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb
671
+ - lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb
672
+ - lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb
673
+ - lib/twilio-ruby/rest/trusthub/v1/end_user.rb
674
+ - lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb
675
+ - lib/twilio-ruby/rest/trusthub/v1/policies.rb
676
+ - lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb
677
+ - lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb
678
+ - lib/twilio-ruby/rest/trusthub/v1/trust_products.rb
679
+ - lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb
680
+ - lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb
681
+ - lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb
669
682
  - lib/twilio-ruby/rest/verify.rb
670
683
  - lib/twilio-ruby/rest/verify/v2.rb
671
684
  - lib/twilio-ruby/rest/verify/v2/form.rb
@@ -680,6 +693,7 @@ files:
680
693
  - lib/twilio-ruby/rest/verify/v2/service/verification.rb
681
694
  - lib/twilio-ruby/rest/verify/v2/service/verification_check.rb
682
695
  - lib/twilio-ruby/rest/verify/v2/service/webhook.rb
696
+ - lib/twilio-ruby/rest/verify/v2/verification_attempt.rb
683
697
  - lib/twilio-ruby/rest/video.rb
684
698
  - lib/twilio-ruby/rest/video/v1.rb
685
699
  - lib/twilio-ruby/rest/video/v1/composition.rb
@@ -913,13 +927,11 @@ files:
913
927
  - spec/integration/ip_messaging/v2/service_spec.rb
914
928
  - spec/integration/lookups/v1/phone_number_spec.rb
915
929
  - spec/integration/messaging/v1/brand_registration_spec.rb
916
- - spec/integration/messaging/v1/campaign_spec.rb
917
930
  - spec/integration/messaging/v1/deactivation_spec.rb
918
931
  - spec/integration/messaging/v1/service/alpha_sender_spec.rb
919
932
  - spec/integration/messaging/v1/service/phone_number_spec.rb
920
933
  - spec/integration/messaging/v1/service/short_code_spec.rb
921
934
  - spec/integration/messaging/v1/service_spec.rb
922
- - spec/integration/messaging/v1/use_case_spec.rb
923
935
  - spec/integration/monitor/v1/alert_spec.rb
924
936
  - spec/integration/monitor/v1/event_spec.rb
925
937
  - spec/integration/notify/v1/credential_spec.rb
@@ -1079,6 +1091,19 @@ files:
1079
1091
  - spec/integration/trunking/v1/trunk/phone_number_spec.rb
1080
1092
  - spec/integration/trunking/v1/trunk/recording_spec.rb
1081
1093
  - spec/integration/trunking/v1/trunk_spec.rb
1094
+ - spec/integration/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment_spec.rb
1095
+ - spec/integration/trusthub/v1/customer_profiles/customer_profiles_entity_assignments_spec.rb
1096
+ - spec/integration/trusthub/v1/customer_profiles/customer_profiles_evaluations_spec.rb
1097
+ - spec/integration/trusthub/v1/customer_profiles_spec.rb
1098
+ - spec/integration/trusthub/v1/end_user_spec.rb
1099
+ - spec/integration/trusthub/v1/end_user_type_spec.rb
1100
+ - spec/integration/trusthub/v1/policies_spec.rb
1101
+ - spec/integration/trusthub/v1/supporting_document_spec.rb
1102
+ - spec/integration/trusthub/v1/supporting_document_type_spec.rb
1103
+ - spec/integration/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment_spec.rb
1104
+ - spec/integration/trusthub/v1/trust_products/trust_products_entity_assignments_spec.rb
1105
+ - spec/integration/trusthub/v1/trust_products/trust_products_evaluations_spec.rb
1106
+ - spec/integration/trusthub/v1/trust_products_spec.rb
1082
1107
  - spec/integration/verify/v2/form_spec.rb
1083
1108
  - spec/integration/verify/v2/service/access_token_spec.rb
1084
1109
  - spec/integration/verify/v2/service/entity/challenge_spec.rb
@@ -1091,6 +1116,7 @@ files:
1091
1116
  - spec/integration/verify/v2/service/verification_spec.rb
1092
1117
  - spec/integration/verify/v2/service/webhook_spec.rb
1093
1118
  - spec/integration/verify/v2/service_spec.rb
1119
+ - spec/integration/verify/v2/verification_attempt_spec.rb
1094
1120
  - spec/integration/video/v1/composition_hook_spec.rb
1095
1121
  - spec/integration/video/v1/composition_settings_spec.rb
1096
1122
  - spec/integration/video/v1/composition_spec.rb
@@ -1356,13 +1382,11 @@ test_files:
1356
1382
  - spec/integration/ip_messaging/v2/service_spec.rb
1357
1383
  - spec/integration/lookups/v1/phone_number_spec.rb
1358
1384
  - spec/integration/messaging/v1/brand_registration_spec.rb
1359
- - spec/integration/messaging/v1/campaign_spec.rb
1360
1385
  - spec/integration/messaging/v1/deactivation_spec.rb
1361
1386
  - spec/integration/messaging/v1/service/alpha_sender_spec.rb
1362
1387
  - spec/integration/messaging/v1/service/phone_number_spec.rb
1363
1388
  - spec/integration/messaging/v1/service/short_code_spec.rb
1364
1389
  - spec/integration/messaging/v1/service_spec.rb
1365
- - spec/integration/messaging/v1/use_case_spec.rb
1366
1390
  - spec/integration/monitor/v1/alert_spec.rb
1367
1391
  - spec/integration/monitor/v1/event_spec.rb
1368
1392
  - spec/integration/notify/v1/credential_spec.rb
@@ -1522,6 +1546,19 @@ test_files:
1522
1546
  - spec/integration/trunking/v1/trunk/phone_number_spec.rb
1523
1547
  - spec/integration/trunking/v1/trunk/recording_spec.rb
1524
1548
  - spec/integration/trunking/v1/trunk_spec.rb
1549
+ - spec/integration/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment_spec.rb
1550
+ - spec/integration/trusthub/v1/customer_profiles/customer_profiles_entity_assignments_spec.rb
1551
+ - spec/integration/trusthub/v1/customer_profiles/customer_profiles_evaluations_spec.rb
1552
+ - spec/integration/trusthub/v1/customer_profiles_spec.rb
1553
+ - spec/integration/trusthub/v1/end_user_spec.rb
1554
+ - spec/integration/trusthub/v1/end_user_type_spec.rb
1555
+ - spec/integration/trusthub/v1/policies_spec.rb
1556
+ - spec/integration/trusthub/v1/supporting_document_spec.rb
1557
+ - spec/integration/trusthub/v1/supporting_document_type_spec.rb
1558
+ - spec/integration/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment_spec.rb
1559
+ - spec/integration/trusthub/v1/trust_products/trust_products_entity_assignments_spec.rb
1560
+ - spec/integration/trusthub/v1/trust_products/trust_products_evaluations_spec.rb
1561
+ - spec/integration/trusthub/v1/trust_products_spec.rb
1525
1562
  - spec/integration/verify/v2/form_spec.rb
1526
1563
  - spec/integration/verify/v2/service/access_token_spec.rb
1527
1564
  - spec/integration/verify/v2/service/entity/challenge_spec.rb
@@ -1534,6 +1571,7 @@ test_files:
1534
1571
  - spec/integration/verify/v2/service/verification_spec.rb
1535
1572
  - spec/integration/verify/v2/service/webhook_spec.rb
1536
1573
  - spec/integration/verify/v2/service_spec.rb
1574
+ - spec/integration/verify/v2/verification_attempt_spec.rb
1537
1575
  - spec/integration/video/v1/composition_hook_spec.rb
1538
1576
  - spec/integration/video/v1/composition_settings_spec.rb
1539
1577
  - spec/integration/video/v1/composition_spec.rb