twilio-ruby 7.10.3 → 7.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +147 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +6 -0
  5. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +6 -0
  6. data/lib/twilio-ruby/rest/flex_api/v1.rb +0 -6
  7. data/lib/twilio-ruby/rest/iam/v1/role_permission.rb +319 -0
  8. data/lib/twilio-ruby/rest/iam/v1.rb +6 -0
  9. data/lib/twilio-ruby/rest/insights/v2/inbound.rb +570 -0
  10. data/lib/twilio-ruby/rest/insights/v2/outbound.rb +641 -0
  11. data/lib/twilio-ruby/rest/insights/v2/report.rb +940 -0
  12. data/lib/twilio-ruby/rest/insights/v2.rb +79 -0
  13. data/lib/twilio-ruby/rest/insights_base.rb +6 -1
  14. data/lib/twilio-ruby/rest/messaging/v3/typing_indicator.rb +247 -0
  15. data/lib/twilio-ruby/rest/messaging/v3.rb +40 -0
  16. data/lib/twilio-ruby/rest/messaging_base.rb +5 -0
  17. data/lib/twilio-ruby/rest/numbers/v1/embedded_session.rb +251 -0
  18. data/lib/twilio-ruby/rest/numbers/v1/sender_id_registration.rb +333 -0
  19. data/lib/twilio-ruby/rest/numbers/v1.rb +12 -0
  20. data/lib/twilio-ruby/rest/numbers/v2/application.rb +153 -8
  21. data/lib/twilio-ruby/rest/preview_iam/versionless/organization/user.rb +197 -0
  22. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +33 -4
  23. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +7 -0
  24. data/lib/twilio-ruby/rest/studio/v2/flow.rb +7 -0
  25. data/lib/twilio-ruby/rest/verify/v2/service/approve_challenge.rb +7 -7
  26. data/lib/twilio-ruby/rest/verify/v2/service/new_challenge.rb +7 -7
  27. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +4 -4
  28. data/lib/twilio-ruby/twiml/voice_response.rb +8 -3
  29. data/lib/twilio-ruby/version.rb +1 -1
  30. metadata +11 -3
  31. data/lib/twilio-ruby/rest/flex_api/v1/create_flex_instance.rb +0 -382
@@ -0,0 +1,333 @@
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 SenderIdRegistrationList < ListResource
21
+
22
+ class NumbersV1CreateEmbeddedRegistrationRequest
23
+ # @param [regulation_id]: [String] The regulation for this registration.
24
+ # @param [regulation_version]: [String] The regulation version.
25
+ # @param [friendly_name]: [String] Human-readable name for the registration.
26
+ # @param [status_notification_email]: [String] Email address for registration status notifications.
27
+ # @param [status_callback_url]: [String] The URL of this resource.
28
+ # @param [comments]: [String] Additional comments about the registration.
29
+ # @param [theme_set_id]: [String] Theme ID for the Compliance Embeddable UI.
30
+ # @param [data]: [Hash<String, Object>] Registration data organized by section (alphanumericSender, business, useCase, authorizedRepresentative, officer, businessAddress).
31
+ attr_accessor :regulation_id, :regulation_version, :friendly_name, :status_notification_email, :status_callback_url, :comments, :theme_set_id, :data
32
+ def initialize(payload)
33
+ @regulation_id = payload["regulation_id"]
34
+ @regulation_version = payload["regulation_version"]
35
+ @friendly_name = payload["friendly_name"]
36
+ @status_notification_email = payload["status_notification_email"]
37
+ @status_callback_url = payload["status_callback_url"]
38
+ @comments = payload["comments"]
39
+ @theme_set_id = payload["theme_set_id"]
40
+ @data = payload["data"]
41
+ end
42
+ def to_json(options = {})
43
+ {
44
+ "regulationId": @regulation_id,
45
+ "regulationVersion": @regulation_version,
46
+ "friendlyName": @friendly_name,
47
+ "statusNotificationEmail": @status_notification_email,
48
+ "statusCallbackUrl": @status_callback_url,
49
+ "comments": @comments,
50
+ "themeSetId": @theme_set_id,
51
+ "data": @data,
52
+ }.to_json(options)
53
+ end
54
+ end
55
+
56
+
57
+ ##
58
+ # Initialize the SenderIdRegistrationList
59
+ # @param [Version] version Version that contains the resource
60
+ # @return [SenderIdRegistrationList] SenderIdRegistrationList
61
+ def initialize(version)
62
+ super(version)
63
+
64
+ # Path Solution
65
+ @solution = { }
66
+ @uri = "/SenderIdRegistrations"
67
+
68
+ end
69
+ ##
70
+ # Create the SenderIdRegistrationInstance
71
+ # @param [NumbersV1CreateEmbeddedRegistrationRequest] numbers_v1_create_embedded_registration_request
72
+ # @return [SenderIdRegistrationInstance] Created SenderIdRegistrationInstance
73
+ def create(numbers_v1_create_embedded_registration_request: nil
74
+ )
75
+
76
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
77
+ headers['Content-Type'] = 'application/json'
78
+
79
+
80
+
81
+
82
+ payload = @version.create('POST', @uri, headers: headers, data: numbers_v1_create_embedded_registration_request.to_json)
83
+ SenderIdRegistrationInstance.new(
84
+ @version,
85
+ payload,
86
+ )
87
+ end
88
+
89
+ ##
90
+ # Create the SenderIdRegistrationInstanceMetadata
91
+ # @param [NumbersV1CreateEmbeddedRegistrationRequest] numbers_v1_create_embedded_registration_request
92
+ # @return [SenderIdRegistrationInstance] Created SenderIdRegistrationInstance
93
+ def create_with_metadata(numbers_v1_create_embedded_registration_request: nil
94
+ )
95
+
96
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
97
+ headers['Content-Type'] = 'application/json'
98
+
99
+
100
+
101
+
102
+ response = @version.create_with_metadata('POST', @uri, headers: headers, data: numbers_v1_create_embedded_registration_request.to_json)
103
+ sender_id_registration_instance = SenderIdRegistrationInstance.new(
104
+ @version,
105
+ response.body,
106
+ )
107
+ SenderIdRegistrationInstanceMetadata.new(
108
+ @version,
109
+ sender_id_registration_instance,
110
+ response.headers,
111
+ response.status_code
112
+ )
113
+ end
114
+
115
+
116
+
117
+
118
+ # Provide a user friendly representation
119
+ def to_s
120
+ '#<Twilio.Numbers.V1.SenderIdRegistrationList>'
121
+ end
122
+ end
123
+
124
+ class SenderIdRegistrationPage < Page
125
+ ##
126
+ # Initialize the SenderIdRegistrationPage
127
+ # @param [Version] version Version that contains the resource
128
+ # @param [Response] response Response from the API
129
+ # @param [Hash] solution Path solution for the resource
130
+ # @return [SenderIdRegistrationPage] SenderIdRegistrationPage
131
+ def initialize(version, response, solution)
132
+ super(version, response)
133
+
134
+
135
+ # Path Solution
136
+ @solution = solution
137
+ end
138
+
139
+ ##
140
+ # Build an instance of SenderIdRegistrationInstance
141
+ # @param [Hash] payload Payload response from the API
142
+ # @return [SenderIdRegistrationInstance] SenderIdRegistrationInstance
143
+ def get_instance(payload)
144
+ SenderIdRegistrationInstance.new(@version, payload)
145
+ end
146
+
147
+ ##
148
+ # Provide a user friendly representation
149
+ def to_s
150
+ '<Twilio.Numbers.V1.SenderIdRegistrationPage>'
151
+ end
152
+ end
153
+
154
+ class SenderIdRegistrationPageMetadata < PageMetadata
155
+ attr_reader :sender_id_registration_page
156
+
157
+ def initialize(version, response, solution, limit)
158
+ super(version, response)
159
+ @sender_id_registration_page = []
160
+ @limit = limit
161
+ key = get_key(response.body)
162
+ records = 0
163
+ while( limit != :unset && records < limit )
164
+ @sender_id_registration_page << SenderIdRegistrationListResponse.new(version, @payload, key, limit - records)
165
+ @payload = self.next_page
166
+ break unless @payload
167
+ records += @payload.body[key].size
168
+ end
169
+ # Path Solution
170
+ @solution = solution
171
+ end
172
+
173
+ def each
174
+ @sender_id_registration_page.each do |record|
175
+ yield record
176
+ end
177
+ end
178
+
179
+ def to_s
180
+ '<Twilio::REST::Numbers::V1PageMetadata>';
181
+ end
182
+ end
183
+ class SenderIdRegistrationListResponse < InstanceListResource
184
+
185
+ # @param [Array<SenderIdRegistrationInstance>] instance
186
+ # @param [Hash{String => Object}] headers
187
+ # @param [Integer] status_code
188
+ def initialize(version, payload, key, limit = :unset)
189
+ data_list = payload.body[key]
190
+ if limit != :unset
191
+ data_list = data_list[0, limit]
192
+ end
193
+ @sender_id_registration = data_list.map do |data|
194
+ SenderIdRegistrationInstance.new(version, data)
195
+ end
196
+ @headers = payload.headers
197
+ @status_code = payload.status_code
198
+ end
199
+
200
+ def sender_id_registration
201
+ @sender_id_registration
202
+ end
203
+
204
+ def headers
205
+ @headers
206
+ end
207
+
208
+ def status_code
209
+ @status_code
210
+ end
211
+ end
212
+
213
+ class SenderIdRegistrationInstance < InstanceResource
214
+ ##
215
+ # Initialize the SenderIdRegistrationInstance
216
+ # @param [Version] version Version that contains the resource
217
+ # @param [Hash] payload payload that contains response from Twilio
218
+ # @param [String] account_sid The SID of the
219
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this SenderIdRegistration
220
+ # resource.
221
+ # @param [String] sid The SID of the Call resource to fetch.
222
+ # @return [SenderIdRegistrationInstance] SenderIdRegistrationInstance
223
+ def initialize(version, payload )
224
+ super(version)
225
+
226
+
227
+ # Marshaled Properties
228
+ @properties = {
229
+ 'id' => payload['id'],
230
+ 'regulation_id' => payload['regulation_id'],
231
+ 'regulation_version' => payload['regulation_version'] == nil ? payload['regulation_version'] : payload['regulation_version'].to_i,
232
+ 'friendly_name' => payload['friendly_name'],
233
+ 'status' => payload['status'],
234
+ 'status_notification_email' => payload['status_notification_email'],
235
+ 'status_callback_url' => payload['status_callback_url'],
236
+ 'comments' => payload['comments'],
237
+ 'embedded_session' => payload['embedded_session'],
238
+ 'data' => payload['data'],
239
+ 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
240
+ 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
241
+ }
242
+ end
243
+
244
+
245
+ ##
246
+ # @return [String] Registration identifier (BU-prefixed).
247
+ def id
248
+ @properties['id']
249
+ end
250
+
251
+ ##
252
+ # @return [String] The regulation ID for this registration.
253
+ def regulation_id
254
+ @properties['regulation_id']
255
+ end
256
+
257
+ ##
258
+ # @return [String] The regulation version.
259
+ def regulation_version
260
+ @properties['regulation_version']
261
+ end
262
+
263
+ ##
264
+ # @return [String] The friendly name provided in the request.
265
+ def friendly_name
266
+ @properties['friendly_name']
267
+ end
268
+
269
+ ##
270
+ # @return [String] Registration status. Always DRAFT on creation.
271
+ def status
272
+ @properties['status']
273
+ end
274
+
275
+ ##
276
+ # @return [String] Email address for status notifications.
277
+ def status_notification_email
278
+ @properties['status_notification_email']
279
+ end
280
+
281
+ ##
282
+ # @return [String] Callback URL for status webhooks.
283
+ def status_callback_url
284
+ @properties['status_callback_url']
285
+ end
286
+
287
+ ##
288
+ # @return [String] Additional comments.
289
+ def comments
290
+ @properties['comments']
291
+ end
292
+
293
+ ##
294
+ # @return [NumbersV1EmbeddedSession]
295
+ def embedded_session
296
+ @properties['embedded_session']
297
+ end
298
+
299
+ ##
300
+ # @return [Hash<String, Object>] Registration data echoed from the request.
301
+ def data
302
+ @properties['data']
303
+ end
304
+
305
+ ##
306
+ # @return [Time] Timestamp of creation.
307
+ def date_created
308
+ @properties['date_created']
309
+ end
310
+
311
+ ##
312
+ # @return [Time] Timestamp of last update.
313
+ def date_updated
314
+ @properties['date_updated']
315
+ end
316
+
317
+ ##
318
+ # Provide a user friendly representation
319
+ def to_s
320
+ "<Twilio.Numbers.V1.SenderIdRegistrationInstance>"
321
+ end
322
+
323
+ ##
324
+ # Provide a detailed, user friendly representation
325
+ def inspect
326
+ "<Twilio.Numbers.V1.SenderIdRegistrationInstance>"
327
+ end
328
+ end
329
+
330
+ end
331
+ end
332
+ end
333
+ end
@@ -23,12 +23,14 @@ module Twilio
23
23
  @version = 'v1'
24
24
  @bulk_eligibilities = nil
25
25
  @eligibilities = nil
26
+ @embedded_sessions = nil
26
27
  @porting_all_port_ins = nil
27
28
  @porting_port_ins = nil
28
29
  @porting_port_in_phone_number = nil
29
30
  @porting_portabilities = nil
30
31
  @porting_webhook_configurations = nil
31
32
  @porting_webhook_configurations_delete = nil
33
+ @sender_id_registrations = nil
32
34
  @signing_request_configurations = nil
33
35
  @webhook = nil
34
36
  end
@@ -53,6 +55,11 @@ module Twilio
53
55
  @eligibilities ||= EligibilityList.new self
54
56
  end
55
57
  ##
58
+ # @return [Twilio::REST::Numbers::V1::EmbeddedSessionList]
59
+ def embedded_sessions
60
+ @embedded_sessions ||= EmbeddedSessionList.new self
61
+ end
62
+ ##
56
63
  # @return [Twilio::REST::Numbers::V1::PortingAllPortInList]
57
64
  def porting_all_port_ins
58
65
  @porting_all_port_ins ||= PortingAllPortInList.new self
@@ -141,6 +148,11 @@ module Twilio
141
148
  end
142
149
  end
143
150
  ##
151
+ # @return [Twilio::REST::Numbers::V1::SenderIdRegistrationList]
152
+ def sender_id_registrations
153
+ @sender_id_registrations ||= SenderIdRegistrationList.new self
154
+ end
155
+ ##
144
156
  # @return [Twilio::REST::Numbers::V1::SigningRequestConfigurationList]
145
157
  def signing_request_configurations
146
158
  @signing_request_configurations ||= SigningRequestConfigurationList.new self
@@ -131,6 +131,11 @@ module Twilio
131
131
  # Lists ApplicationInstance records from the API as a list.
132
132
  # Unlike stream(), this operation is eager and will load `limit` records into
133
133
  # memory before returning.
134
+ # @param [String] account_sid The Account SID to filter by.
135
+ # @param [String] iso_country The ISO country to filter by.
136
+ # @param [String] status The application status to filter by.
137
+ # @param [String] friendly_name The friendly name to filter by.
138
+ # @param [String] sid The application SID to filter by.
134
139
  # @param [Integer] limit Upper limit for the number of records to return. stream()
135
140
  # guarantees to never return more than limit. Default is no limit
136
141
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -138,8 +143,13 @@ module Twilio
138
143
  # but a limit is defined, stream() will attempt to read the limit with the most
139
144
  # efficient page size, i.e. min(limit, 1000)
140
145
  # @return [Array] Array of up to limit results
141
- def list(limit: nil, page_size: nil)
146
+ def list(account_sid: :unset, iso_country: :unset, status: :unset, friendly_name: :unset, sid: :unset, limit: nil, page_size: nil)
142
147
  self.stream(
148
+ account_sid: account_sid,
149
+ iso_country: iso_country,
150
+ status: status,
151
+ friendly_name: friendly_name,
152
+ sid: sid,
143
153
  limit: limit,
144
154
  page_size: page_size
145
155
  ).entries
@@ -149,6 +159,11 @@ module Twilio
149
159
  # Streams Instance records from the API as an Enumerable.
150
160
  # This operation lazily loads records as efficiently as possible until the limit
151
161
  # is reached.
162
+ # @param [String] account_sid The Account SID to filter by.
163
+ # @param [String] iso_country The ISO country to filter by.
164
+ # @param [String] status The application status to filter by.
165
+ # @param [String] friendly_name The friendly name to filter by.
166
+ # @param [String] sid The application SID to filter by.
152
167
  # @param [Integer] limit Upper limit for the number of records to return. stream()
153
168
  # guarantees to never return more than limit. Default is no limit
154
169
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -156,10 +171,15 @@ module Twilio
156
171
  # but a limit is defined, stream() will attempt to read the limit with the most
157
172
  # efficient page size, i.e. min(limit, 1000)
158
173
  # @return [Enumerable] Enumerable that will yield up to limit results
159
- def stream(limit: nil, page_size: nil)
174
+ def stream(account_sid: :unset, iso_country: :unset, status: :unset, friendly_name: :unset, sid: :unset, limit: nil, page_size: nil)
160
175
  limits = @version.read_limits(limit, page_size)
161
176
 
162
177
  page = self.page(
178
+ account_sid: account_sid,
179
+ iso_country: iso_country,
180
+ status: status,
181
+ friendly_name: friendly_name,
182
+ sid: sid,
163
183
  page_size: limits[:page_size], )
164
184
 
165
185
  @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
@@ -167,6 +187,11 @@ module Twilio
167
187
 
168
188
  ##
169
189
  # Lists ApplicationPageMetadata records from the API as a list.
190
+ # @param [String] account_sid The Account SID to filter by.
191
+ # @param [String] iso_country The ISO country to filter by.
192
+ # @param [String] status The application status to filter by.
193
+ # @param [String] friendly_name The friendly name to filter by.
194
+ # @param [String] sid The application SID to filter by.
170
195
  # @param [Integer] limit Upper limit for the number of records to return. stream()
171
196
  # guarantees to never return more than limit. Default is no limit
172
197
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -174,9 +199,14 @@ module Twilio
174
199
  # but a limit is defined, stream() will attempt to read the limit with the most
175
200
  # efficient page size, i.e. min(limit, 1000)
176
201
  # @return [Array] Array of up to limit results
177
- def list_with_metadata(limit: nil, page_size: nil)
202
+ def list_with_metadata(account_sid: :unset, iso_country: :unset, status: :unset, friendly_name: :unset, sid: :unset, limit: nil, page_size: nil)
178
203
  limits = @version.read_limits(limit, page_size)
179
204
  params = Twilio::Values.of({
205
+ 'AccountSid' => account_sid,
206
+ 'IsoCountry' => iso_country,
207
+ 'Status' => status,
208
+ 'FriendlyName' => friendly_name,
209
+ 'Sid' => sid,
180
210
 
181
211
  'PageSize' => limits[:page_size],
182
212
  });
@@ -204,12 +234,22 @@ module Twilio
204
234
  ##
205
235
  # Retrieve a single page of ApplicationInstance records from the API.
206
236
  # Request is executed immediately.
237
+ # @param [String] account_sid The Account SID to filter by.
238
+ # @param [String] iso_country The ISO country to filter by.
239
+ # @param [String] status The application status to filter by.
240
+ # @param [String] friendly_name The friendly name to filter by.
241
+ # @param [String] sid The application SID to filter by.
207
242
  # @param [String] page_token PageToken provided by the API
208
243
  # @param [Integer] page_number Page Number, this value is simply for client state
209
244
  # @param [Integer] page_size Number of records to return, defaults to 50
210
245
  # @return [Page] Page of ApplicationInstance
211
- def page(page_token: :unset, page_number: :unset,page_size: :unset)
246
+ def page(account_sid: :unset, iso_country: :unset, status: :unset, friendly_name: :unset, sid: :unset, page_token: :unset, page_number: :unset,page_size: :unset)
212
247
  params = Twilio::Values.of({
248
+ 'AccountSid' => account_sid,
249
+ 'IsoCountry' => iso_country,
250
+ 'Status' => status,
251
+ 'FriendlyName' => friendly_name,
252
+ 'Sid' => sid,
213
253
  'PageToken' => page_token,
214
254
  'Page' => page_number,
215
255
  'PageSize' => page_size,
@@ -474,11 +514,26 @@ module Twilio
474
514
  # Marshaled Properties
475
515
  @properties = {
476
516
  'sid' => payload['sid'],
477
- 'bundle_sid' => payload['bundle_sid'],
478
517
  'application_requirements_sid' => payload['application_requirements_sid'],
518
+ 'application_requirements_version' => payload['application_requirements_version'] == nil ? payload['application_requirements_version'] : payload['application_requirements_version'].to_i,
519
+ 'account_sid' => payload['account_sid'],
520
+ 'bundle_sid' => payload['bundle_sid'],
521
+ 'reviewer' => payload['reviewer'],
522
+ 'zendesk_ticket_id' => payload['zendesk_ticket_id'],
479
523
  'friendly_name' => payload['friendly_name'],
524
+ 'notification_emails' => payload['notification_emails'],
480
525
  'iso_country' => payload['iso_country'],
481
526
  'state' => payload['state'],
527
+ 'setup' => payload['setup'],
528
+ 'business_information' => payload['business_information'],
529
+ 'user_sign_up' => payload['user_sign_up'],
530
+ 'compliance_keywords' => payload['compliance_keywords'],
531
+ 'content_examples' => payload['content_examples'],
532
+ 'sms_campaign_details' => payload['sms_campaign_details'],
533
+ 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
534
+ 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
535
+ 'created_by' => payload['created_by'],
536
+ 'updated_by' => payload['updated_by'],
482
537
  }
483
538
 
484
539
  # Context
@@ -503,6 +558,24 @@ module Twilio
503
558
  @properties['sid']
504
559
  end
505
560
 
561
+ ##
562
+ # @return [String] The Application Requirements SID.
563
+ def application_requirements_sid
564
+ @properties['application_requirements_sid']
565
+ end
566
+
567
+ ##
568
+ # @return [String] The version of the application requirements.
569
+ def application_requirements_version
570
+ @properties['application_requirements_version']
571
+ end
572
+
573
+ ##
574
+ # @return [String] The Account SID associated with the application.
575
+ def account_sid
576
+ @properties['account_sid']
577
+ end
578
+
506
579
  ##
507
580
  # @return [String] The Bundle SID for regulatory compliance.
508
581
  def bundle_sid
@@ -510,9 +583,15 @@ module Twilio
510
583
  end
511
584
 
512
585
  ##
513
- # @return [String] The Application Requirements SID.
514
- def application_requirements_sid
515
- @properties['application_requirements_sid']
586
+ # @return [String] The reviewer of the application.
587
+ def reviewer
588
+ @properties['reviewer']
589
+ end
590
+
591
+ ##
592
+ # @return [String] The Zendesk ticket ID associated with the application.
593
+ def zendesk_ticket_id
594
+ @properties['zendesk_ticket_id']
516
595
  end
517
596
 
518
597
  ##
@@ -521,6 +600,12 @@ module Twilio
521
600
  @properties['friendly_name']
522
601
  end
523
602
 
603
+ ##
604
+ # @return [Array<String>] The notification emails for the application.
605
+ def notification_emails
606
+ @properties['notification_emails']
607
+ end
608
+
524
609
  ##
525
610
  # @return [String] The ISO country code.
526
611
  def iso_country
@@ -533,6 +618,66 @@ module Twilio
533
618
  @properties['state']
534
619
  end
535
620
 
621
+ ##
622
+ # @return [CreateShortCodeApplicationResponseSetup]
623
+ def setup
624
+ @properties['setup']
625
+ end
626
+
627
+ ##
628
+ # @return [CreateShortCodeApplicationResponseBusinessInformation]
629
+ def business_information
630
+ @properties['business_information']
631
+ end
632
+
633
+ ##
634
+ # @return [CreateShortCodeApplicationResponseUserSignUp]
635
+ def user_sign_up
636
+ @properties['user_sign_up']
637
+ end
638
+
639
+ ##
640
+ # @return [CreateShortCodeApplicationResponseComplianceKeywords]
641
+ def compliance_keywords
642
+ @properties['compliance_keywords']
643
+ end
644
+
645
+ ##
646
+ # @return [CreateShortCodeApplicationResponseContentExamples]
647
+ def content_examples
648
+ @properties['content_examples']
649
+ end
650
+
651
+ ##
652
+ # @return [CreateShortCodeApplicationResponseSmsCampaignDetails]
653
+ def sms_campaign_details
654
+ @properties['sms_campaign_details']
655
+ end
656
+
657
+ ##
658
+ # @return [Time] The date and time the application was created.
659
+ def date_created
660
+ @properties['date_created']
661
+ end
662
+
663
+ ##
664
+ # @return [Time] The date and time the application was last updated.
665
+ def date_updated
666
+ @properties['date_updated']
667
+ end
668
+
669
+ ##
670
+ # @return [String] The identity of the user who created the application.
671
+ def created_by
672
+ @properties['created_by']
673
+ end
674
+
675
+ ##
676
+ # @return [String] The identity of the user who last updated the application.
677
+ def updated_by
678
+ @properties['updated_by']
679
+ end
680
+
536
681
  ##
537
682
  # Fetch the ApplicationInstance
538
683
  # @return [ApplicationInstance] Fetched ApplicationInstance