twilio-ruby 7.0.2 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +43 -0
  3. data/Gemfile +1 -0
  4. data/README.md +2 -2
  5. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +1 -1
  6. data/lib/twilio-ruby/rest/client.rb +0 -5
  7. data/lib/twilio-ruby/rest/content/v2/content.rb +259 -0
  8. data/lib/twilio-ruby/rest/content/v2/content_and_approvals.rb +252 -0
  9. data/lib/twilio-ruby/rest/content/v2.rb +46 -0
  10. data/lib/twilio-ruby/rest/content_base.rb +6 -1
  11. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +1 -1
  12. data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +8 -1
  13. data/lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb +444 -0
  14. data/lib/twilio-ruby/rest/intelligence/v2/operator.rb +355 -0
  15. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +215 -0
  16. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +196 -0
  17. data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +357 -0
  18. data/lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb +355 -0
  19. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +9 -8
  20. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +18 -18
  21. data/lib/twilio-ruby/rest/intelligence/v2.rb +112 -0
  22. data/lib/twilio-ruby/rest/messaging/v1/service.rb +0 -7
  23. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +86 -1
  24. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +126 -2
  25. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +148 -0
  26. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +167 -0
  27. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb +160 -0
  28. data/lib/twilio-ruby/rest/numbers/v1.rb +29 -32
  29. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -1
  30. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -2
  31. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -2
  32. data/lib/twilio-ruby/rest/preview/sync/service.rb +2 -2
  33. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -1
  34. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -2
  35. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -2
  36. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -1
  37. data/lib/twilio-ruby/rest/sync/v1/service.rb +3 -3
  38. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +33 -4
  39. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +4 -1
  40. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +7 -0
  41. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +7 -0
  42. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +1 -1
  43. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +1 -1
  44. data/lib/twilio-ruby/rest/verify/v2/service.rb +1 -1
  45. data/lib/twilio-ruby/version.rb +1 -1
  46. metadata +14 -9
  47. data/lib/twilio-ruby/rest/numbers/v1/porting_bulk_portability.rb +0 -230
  48. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb +0 -252
  49. data/lib/twilio-ruby/rest/preview_messaging/v1/broadcast.rb +0 -164
  50. data/lib/twilio-ruby/rest/preview_messaging/v1/message.rb +0 -235
  51. data/lib/twilio-ruby/rest/preview_messaging/v1.rb +0 -46
  52. data/lib/twilio-ruby/rest/preview_messaging.rb +0 -12
  53. data/lib/twilio-ruby/rest/preview_messaging_base.rb +0 -38
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '7.0.2'
2
+ VERSION = '7.1.0'
3
3
  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: 7.0.2
4
+ version: 7.1.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: 2024-04-18 00:00:00.000000000 Z
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -375,6 +375,9 @@ files:
375
375
  - lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb
376
376
  - lib/twilio-ruby/rest/content/v1/content_and_approvals.rb
377
377
  - lib/twilio-ruby/rest/content/v1/legacy_content.rb
378
+ - lib/twilio-ruby/rest/content/v2.rb
379
+ - lib/twilio-ruby/rest/content/v2/content.rb
380
+ - lib/twilio-ruby/rest/content/v2/content_and_approvals.rb
378
381
  - lib/twilio-ruby/rest/content_base.rb
379
382
  - lib/twilio-ruby/rest/conversations.rb
380
383
  - lib/twilio-ruby/rest/conversations/v1.rb
@@ -471,6 +474,12 @@ files:
471
474
  - lib/twilio-ruby/rest/insights_base.rb
472
475
  - lib/twilio-ruby/rest/intelligence.rb
473
476
  - lib/twilio-ruby/rest/intelligence/v2.rb
477
+ - lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb
478
+ - lib/twilio-ruby/rest/intelligence/v2/operator.rb
479
+ - lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb
480
+ - lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb
481
+ - lib/twilio-ruby/rest/intelligence/v2/operator_type.rb
482
+ - lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb
474
483
  - lib/twilio-ruby/rest/intelligence/v2/service.rb
475
484
  - lib/twilio-ruby/rest/intelligence/v2/transcript.rb
476
485
  - lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb
@@ -556,11 +565,12 @@ files:
556
565
  - lib/twilio-ruby/rest/numbers/v1.rb
557
566
  - lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb
558
567
  - lib/twilio-ruby/rest/numbers/v1/eligibility.rb
559
- - lib/twilio-ruby/rest/numbers/v1/porting_bulk_portability.rb
560
568
  - lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb
561
- - lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb
562
569
  - lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb
563
570
  - lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
571
+ - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb
572
+ - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb
573
+ - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb
564
574
  - lib/twilio-ruby/rest/numbers/v2.rb
565
575
  - lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
566
576
  - lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
@@ -615,11 +625,6 @@ files:
615
625
  - lib/twilio-ruby/rest/preview/wireless/sim.rb
616
626
  - lib/twilio-ruby/rest/preview/wireless/sim/usage.rb
617
627
  - lib/twilio-ruby/rest/preview_base.rb
618
- - lib/twilio-ruby/rest/preview_messaging.rb
619
- - lib/twilio-ruby/rest/preview_messaging/v1.rb
620
- - lib/twilio-ruby/rest/preview_messaging/v1/broadcast.rb
621
- - lib/twilio-ruby/rest/preview_messaging/v1/message.rb
622
- - lib/twilio-ruby/rest/preview_messaging_base.rb
623
628
  - lib/twilio-ruby/rest/pricing.rb
624
629
  - lib/twilio-ruby/rest/pricing/v1.rb
625
630
  - lib/twilio-ruby/rest/pricing/v1/messaging.rb
@@ -1,230 +0,0 @@
1
- ##
2
- # This code was generated by
3
- # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
- # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
- # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
- #
7
- # Twilio - Numbers
8
- # This is the public Twilio REST API.
9
- #
10
- # NOTE: This class is auto generated by OpenAPI Generator.
11
- # https://openapi-generator.tech
12
- # Do not edit the class manually.
13
- #
14
-
15
-
16
- module Twilio
17
- module REST
18
- class Numbers < NumbersBase
19
- class V1 < Version
20
- class PortingBulkPortabilityList < ListResource
21
-
22
- ##
23
- # Initialize the PortingBulkPortabilityList
24
- # @param [Version] version Version that contains the resource
25
- # @return [PortingBulkPortabilityList] PortingBulkPortabilityList
26
- def initialize(version)
27
- super(version)
28
- # Path Solution
29
- @solution = { }
30
- @uri = "/Porting/Portability"
31
-
32
- end
33
- ##
34
- # Create the PortingBulkPortabilityInstance
35
- # @param [Array[String]] phone_numbers The phone numbers which portability is to be checked. This should be a list of strings. Phone numbers are in E.164 format (e.g. +16175551212). .
36
- # @return [PortingBulkPortabilityInstance] Created PortingBulkPortabilityInstance
37
- def create(
38
- phone_numbers: nil
39
- )
40
-
41
- data = Twilio::Values.of({
42
- 'PhoneNumbers' => Twilio.serialize_list(phone_numbers) { |e| e },
43
- })
44
-
45
-
46
- payload = @version.create('POST', @uri, data: data)
47
- PortingBulkPortabilityInstance.new(
48
- @version,
49
- payload,
50
- )
51
- end
52
-
53
-
54
-
55
-
56
- # Provide a user friendly representation
57
- def to_s
58
- '#<Twilio.Numbers.V1.PortingBulkPortabilityList>'
59
- end
60
- end
61
-
62
-
63
- class PortingBulkPortabilityContext < InstanceContext
64
- ##
65
- # Initialize the PortingBulkPortabilityContext
66
- # @param [Version] version Version that contains the resource
67
- # @param [String] sid A 34 character string that uniquely identifies the Portability check.
68
- # @return [PortingBulkPortabilityContext] PortingBulkPortabilityContext
69
- def initialize(version, sid)
70
- super(version)
71
-
72
- # Path Solution
73
- @solution = { sid: sid, }
74
- @uri = "/Porting/Portability/#{@solution[:sid]}"
75
-
76
-
77
- end
78
- ##
79
- # Fetch the PortingBulkPortabilityInstance
80
- # @return [PortingBulkPortabilityInstance] Fetched PortingBulkPortabilityInstance
81
- def fetch
82
-
83
-
84
- payload = @version.fetch('GET', @uri)
85
- PortingBulkPortabilityInstance.new(
86
- @version,
87
- payload,
88
- sid: @solution[:sid],
89
- )
90
- end
91
-
92
-
93
- ##
94
- # Provide a user friendly representation
95
- def to_s
96
- context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
97
- "#<Twilio.Numbers.V1.PortingBulkPortabilityContext #{context}>"
98
- end
99
-
100
- ##
101
- # Provide a detailed, user friendly representation
102
- def inspect
103
- context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
104
- "#<Twilio.Numbers.V1.PortingBulkPortabilityContext #{context}>"
105
- end
106
- end
107
-
108
- class PortingBulkPortabilityPage < Page
109
- ##
110
- # Initialize the PortingBulkPortabilityPage
111
- # @param [Version] version Version that contains the resource
112
- # @param [Response] response Response from the API
113
- # @param [Hash] solution Path solution for the resource
114
- # @return [PortingBulkPortabilityPage] PortingBulkPortabilityPage
115
- def initialize(version, response, solution)
116
- super(version, response)
117
-
118
- # Path Solution
119
- @solution = solution
120
- end
121
-
122
- ##
123
- # Build an instance of PortingBulkPortabilityInstance
124
- # @param [Hash] payload Payload response from the API
125
- # @return [PortingBulkPortabilityInstance] PortingBulkPortabilityInstance
126
- def get_instance(payload)
127
- PortingBulkPortabilityInstance.new(@version, payload)
128
- end
129
-
130
- ##
131
- # Provide a user friendly representation
132
- def to_s
133
- '<Twilio.Numbers.V1.PortingBulkPortabilityPage>'
134
- end
135
- end
136
- class PortingBulkPortabilityInstance < InstanceResource
137
- ##
138
- # Initialize the PortingBulkPortabilityInstance
139
- # @param [Version] version Version that contains the resource
140
- # @param [Hash] payload payload that contains response from Twilio
141
- # @param [String] account_sid The SID of the
142
- # {Account}[https://www.twilio.com/docs/iam/api/account] that created this PortingBulkPortability
143
- # resource.
144
- # @param [String] sid The SID of the Call resource to fetch.
145
- # @return [PortingBulkPortabilityInstance] PortingBulkPortabilityInstance
146
- def initialize(version, payload , sid: nil)
147
- super(version)
148
-
149
- # Marshaled Properties
150
- @properties = {
151
- 'sid' => payload['sid'],
152
- 'status' => payload['status'],
153
- 'datetime_created' => Twilio.deserialize_iso8601_datetime(payload['datetime_created']),
154
- 'phone_numbers' => payload['phone_numbers'],
155
- 'url' => payload['url'],
156
- }
157
-
158
- # Context
159
- @instance_context = nil
160
- @params = { 'sid' => sid || @properties['sid'] , }
161
- end
162
-
163
- ##
164
- # Generate an instance context for the instance, the context is capable of
165
- # performing various actions. All instance actions are proxied to the context
166
- # @return [PortingBulkPortabilityContext] CallContext for this CallInstance
167
- def context
168
- unless @instance_context
169
- @instance_context = PortingBulkPortabilityContext.new(@version , @params['sid'])
170
- end
171
- @instance_context
172
- end
173
-
174
- ##
175
- # @return [String] A 34 character string that uniquely identifies this Portability check.
176
- def sid
177
- @properties['sid']
178
- end
179
-
180
- ##
181
- # @return [Status]
182
- def status
183
- @properties['status']
184
- end
185
-
186
- ##
187
- # @return [Time] The date that the Portability check was created, given in ISO 8601 format.
188
- def datetime_created
189
- @properties['datetime_created']
190
- end
191
-
192
- ##
193
- # @return [Array<Hash>] Contains a list with all the information of the requested phone numbers. Each phone number contains the following properties: `phone_number`: The phone number which portability is to be checked. `portable`: Boolean flag specifying if phone number is portable or not. `not_portable_reason`: Reason why the phone number cannot be ported into Twilio, `null` otherwise. `not_portable_reason_code`: The Portability Reason Code for the phone number if it cannot be ported in Twilio, `null` otherwise. `pin_and_account_number_required`: Boolean flag specifying if PIN and account number is required for the phone number. `number_type`: The type of the requested phone number. `country` Country the phone number belongs to. `messaging_carrier` Current messaging carrier of the phone number. `voice_carrier` Current voice carrier of the phone number.
194
- def phone_numbers
195
- @properties['phone_numbers']
196
- end
197
-
198
- ##
199
- # @return [String] This is the url of the request that you're trying to reach out to locate the resource.
200
- def url
201
- @properties['url']
202
- end
203
-
204
- ##
205
- # Fetch the PortingBulkPortabilityInstance
206
- # @return [PortingBulkPortabilityInstance] Fetched PortingBulkPortabilityInstance
207
- def fetch
208
-
209
- context.fetch
210
- end
211
-
212
- ##
213
- # Provide a user friendly representation
214
- def to_s
215
- values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
216
- "<Twilio.Numbers.V1.PortingBulkPortabilityInstance #{values}>"
217
- end
218
-
219
- ##
220
- # Provide a detailed, user friendly representation
221
- def inspect
222
- values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
223
- "<Twilio.Numbers.V1.PortingBulkPortabilityInstance #{values}>"
224
- end
225
- end
226
-
227
- end
228
- end
229
- end
230
- end
@@ -1,252 +0,0 @@
1
- ##
2
- # This code was generated by
3
- # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
- # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
- # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
- #
7
- # Twilio - Numbers
8
- # This is the public Twilio REST API.
9
- #
10
- # NOTE: This class is auto generated by OpenAPI Generator.
11
- # https://openapi-generator.tech
12
- # Do not edit the class manually.
13
- #
14
-
15
-
16
- module Twilio
17
- module REST
18
- class Numbers < NumbersBase
19
- class V1 < Version
20
- class PortingPortInFetchList < ListResource
21
-
22
- ##
23
- # Initialize the PortingPortInFetchList
24
- # @param [Version] version Version that contains the resource
25
- # @return [PortingPortInFetchList] PortingPortInFetchList
26
- def initialize(version)
27
- super(version)
28
- # Path Solution
29
- @solution = { }
30
-
31
-
32
- end
33
-
34
-
35
-
36
- # Provide a user friendly representation
37
- def to_s
38
- '#<Twilio.Numbers.V1.PortingPortInFetchList>'
39
- end
40
- end
41
-
42
-
43
- class PortingPortInFetchContext < InstanceContext
44
- ##
45
- # Initialize the PortingPortInFetchContext
46
- # @param [Version] version Version that contains the resource
47
- # @param [String] port_in_request_sid The SID of the Port In request. This is a unique identifier of the port in request.
48
- # @return [PortingPortInFetchContext] PortingPortInFetchContext
49
- def initialize(version, port_in_request_sid)
50
- super(version)
51
-
52
- # Path Solution
53
- @solution = { port_in_request_sid: port_in_request_sid, }
54
- @uri = "/Porting/PortIn/#{@solution[:port_in_request_sid]}"
55
-
56
-
57
- end
58
- ##
59
- # Fetch the PortingPortInFetchInstance
60
- # @return [PortingPortInFetchInstance] Fetched PortingPortInFetchInstance
61
- def fetch
62
-
63
-
64
- payload = @version.fetch('GET', @uri)
65
- PortingPortInFetchInstance.new(
66
- @version,
67
- payload,
68
- port_in_request_sid: @solution[:port_in_request_sid],
69
- )
70
- end
71
-
72
-
73
- ##
74
- # Provide a user friendly representation
75
- def to_s
76
- context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
77
- "#<Twilio.Numbers.V1.PortingPortInFetchContext #{context}>"
78
- end
79
-
80
- ##
81
- # Provide a detailed, user friendly representation
82
- def inspect
83
- context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
84
- "#<Twilio.Numbers.V1.PortingPortInFetchContext #{context}>"
85
- end
86
- end
87
-
88
- class PortingPortInFetchPage < Page
89
- ##
90
- # Initialize the PortingPortInFetchPage
91
- # @param [Version] version Version that contains the resource
92
- # @param [Response] response Response from the API
93
- # @param [Hash] solution Path solution for the resource
94
- # @return [PortingPortInFetchPage] PortingPortInFetchPage
95
- def initialize(version, response, solution)
96
- super(version, response)
97
-
98
- # Path Solution
99
- @solution = solution
100
- end
101
-
102
- ##
103
- # Build an instance of PortingPortInFetchInstance
104
- # @param [Hash] payload Payload response from the API
105
- # @return [PortingPortInFetchInstance] PortingPortInFetchInstance
106
- def get_instance(payload)
107
- PortingPortInFetchInstance.new(@version, payload)
108
- end
109
-
110
- ##
111
- # Provide a user friendly representation
112
- def to_s
113
- '<Twilio.Numbers.V1.PortingPortInFetchPage>'
114
- end
115
- end
116
- class PortingPortInFetchInstance < InstanceResource
117
- ##
118
- # Initialize the PortingPortInFetchInstance
119
- # @param [Version] version Version that contains the resource
120
- # @param [Hash] payload payload that contains response from Twilio
121
- # @param [String] account_sid The SID of the
122
- # {Account}[https://www.twilio.com/docs/iam/api/account] that created this PortingPortInFetch
123
- # resource.
124
- # @param [String] sid The SID of the Call resource to fetch.
125
- # @return [PortingPortInFetchInstance] PortingPortInFetchInstance
126
- def initialize(version, payload , port_in_request_sid: nil)
127
- super(version)
128
-
129
- # Marshaled Properties
130
- @properties = {
131
- 'port_in_request_sid' => payload['port_in_request_sid'],
132
- 'url' => payload['url'],
133
- 'account_sid' => payload['account_sid'],
134
- 'notification_emails' => payload['notification_emails'],
135
- 'target_port_in_date' => Twilio.deserialize_iso8601_date(payload['target_port_in_date']),
136
- 'target_port_in_time_range_start' => payload['target_port_in_time_range_start'],
137
- 'target_port_in_time_range_end' => payload['target_port_in_time_range_end'],
138
- 'port_in_request_status' => payload['port_in_request_status'],
139
- 'losing_carrier_information' => payload['losing_carrier_information'],
140
- 'phone_numbers' => payload['phone_numbers'],
141
- 'documents' => payload['documents'],
142
- }
143
-
144
- # Context
145
- @instance_context = nil
146
- @params = { 'port_in_request_sid' => port_in_request_sid || @properties['port_in_request_sid'] , }
147
- end
148
-
149
- ##
150
- # Generate an instance context for the instance, the context is capable of
151
- # performing various actions. All instance actions are proxied to the context
152
- # @return [PortingPortInFetchContext] CallContext for this CallInstance
153
- def context
154
- unless @instance_context
155
- @instance_context = PortingPortInFetchContext.new(@version , @params['port_in_request_sid'])
156
- end
157
- @instance_context
158
- end
159
-
160
- ##
161
- # @return [String] The SID of the Port In request. This is a unique identifier of the port in request.
162
- def port_in_request_sid
163
- @properties['port_in_request_sid']
164
- end
165
-
166
- ##
167
- # @return [String] The URL of this Port In request
168
- def url
169
- @properties['url']
170
- end
171
-
172
- ##
173
- # @return [String] The Account SID that the numbers will be added to after they are ported into Twilio.
174
- def account_sid
175
- @properties['account_sid']
176
- end
177
-
178
- ##
179
- # @return [Array<String>] List of emails for getting notifications about the LOA signing process. Allowed Max 10 emails.
180
- def notification_emails
181
- @properties['notification_emails']
182
- end
183
-
184
- ##
185
- # @return [Date] Minimum number of days in the future (at least 2 days) needs to be established with the Ops team for validation.
186
- def target_port_in_date
187
- @properties['target_port_in_date']
188
- end
189
-
190
- ##
191
- # @return [String] Minimum hour in the future needs to be established with the Ops team for validation.
192
- def target_port_in_time_range_start
193
- @properties['target_port_in_time_range_start']
194
- end
195
-
196
- ##
197
- # @return [String] Maximum hour in the future needs to be established with the Ops team for validation.
198
- def target_port_in_time_range_end
199
- @properties['target_port_in_time_range_end']
200
- end
201
-
202
- ##
203
- # @return [String] The status of the port in request. The possible values are: In progress, Completed, Expired, In review, Waiting for Signature, Action Required, and Canceled.
204
- def port_in_request_status
205
- @properties['port_in_request_status']
206
- end
207
-
208
- ##
209
- # @return [Hash] The information for the losing carrier.
210
- def losing_carrier_information
211
- @properties['losing_carrier_information']
212
- end
213
-
214
- ##
215
- # @return [Array<Hash>] The list of phone numbers to Port in. Phone numbers are in E.164 format (e.g. +16175551212).
216
- def phone_numbers
217
- @properties['phone_numbers']
218
- end
219
-
220
- ##
221
- # @return [Array<String>] The list of documents SID referencing a utility bills
222
- def documents
223
- @properties['documents']
224
- end
225
-
226
- ##
227
- # Fetch the PortingPortInFetchInstance
228
- # @return [PortingPortInFetchInstance] Fetched PortingPortInFetchInstance
229
- def fetch
230
-
231
- context.fetch
232
- end
233
-
234
- ##
235
- # Provide a user friendly representation
236
- def to_s
237
- values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
238
- "<Twilio.Numbers.V1.PortingPortInFetchInstance #{values}>"
239
- end
240
-
241
- ##
242
- # Provide a detailed, user friendly representation
243
- def inspect
244
- values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
245
- "<Twilio.Numbers.V1.PortingPortInFetchInstance #{values}>"
246
- end
247
- end
248
-
249
- end
250
- end
251
- end
252
- end