twilio-ruby 6.0.0.pre.rc.3 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +103 -47
  3. data/CONTRIBUTING.md +10 -8
  4. data/README.md +128 -46
  5. data/UPGRADE.md +7 -4
  6. data/advanced-examples/custom-http-client.md +170 -0
  7. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -6
  8. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -42
  9. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -42
  10. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -10
  11. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -6
  12. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -5
  13. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -11
  14. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -5
  15. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -6
  16. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -10
  17. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -5
  18. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -16
  19. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -5
  20. data/lib/twilio-ruby/rest/api/v2010/account.rb +24 -103
  21. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -5
  22. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -10
  23. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +6 -24
  24. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -9
  25. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -15
  26. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -6
  27. data/lib/twilio-ruby/rest/chat/v1/service.rb +3 -12
  28. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -20
  29. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -10
  30. data/lib/twilio-ruby/rest/chat/v2/service.rb +4 -16
  31. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +11 -1
  32. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -5
  33. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +3 -12
  34. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -6
  35. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +3 -15
  36. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -5
  37. data/lib/twilio-ruby/rest/conversations/v1/service.rb +5 -21
  38. data/lib/twilio-ruby/rest/conversations/v1/user.rb +1 -4
  39. data/lib/twilio-ruby/rest/events/v1/schema.rb +1 -4
  40. data/lib/twilio-ruby/rest/events/v1/sink.rb +2 -10
  41. data/lib/twilio-ruby/rest/events/v1/subscription.rb +1 -4
  42. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +38 -44
  43. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +17 -23
  44. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +9 -9
  45. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +53 -53
  46. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +37 -37
  47. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +52 -52
  48. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +19 -92
  49. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +4 -4
  50. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +4 -4
  51. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +2 -11
  52. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +1 -4
  53. data/lib/twilio-ruby/rest/flex_api/v1.rb +30 -39
  54. data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -10
  55. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +31 -3
  56. data/lib/twilio-ruby/rest/insights/v1/conference.rb +1 -4
  57. data/lib/twilio-ruby/rest/insights/v1/room.rb +1 -4
  58. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -15
  59. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -6
  60. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -12
  61. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -20
  62. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -10
  63. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +4 -16
  64. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +2 -9
  65. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +28 -2
  66. data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +7 -0
  67. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +196 -0
  68. data/lib/twilio-ruby/rest/messaging/v1/service.rb +31 -47
  69. data/lib/twilio-ruby/rest/messaging/v1.rb +15 -15
  70. data/lib/twilio-ruby/rest/messaging.rb +1 -1
  71. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +2 -8
  72. data/lib/twilio-ruby/rest/microvisor.rb +2 -1
  73. data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -9
  74. data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +224 -0
  75. data/lib/twilio-ruby/rest/numbers/v1.rb +49 -0
  76. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +4 -18
  77. data/lib/twilio-ruby/rest/oauth.rb +1 -1
  78. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +4 -16
  79. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +1 -5
  80. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +1 -4
  81. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +1 -4
  82. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -5
  83. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -10
  84. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -10
  85. data/lib/twilio-ruby/rest/preview/sync/service.rb +3 -12
  86. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -5
  87. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -10
  88. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +5 -20
  89. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -6
  90. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -10
  91. data/lib/twilio-ruby/rest/proxy/v1/service.rb +3 -12
  92. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -5
  93. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -15
  94. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -5
  95. data/lib/twilio-ruby/rest/serverless/v1/service.rb +4 -16
  96. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -5
  97. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -5
  98. data/lib/twilio-ruby/rest/studio/v1/flow.rb +2 -8
  99. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -5
  100. data/lib/twilio-ruby/rest/studio/v2/flow.rb +2 -8
  101. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +1 -4
  102. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +2 -10
  103. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -5
  104. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -10
  105. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -10
  106. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -6
  107. data/lib/twilio-ruby/rest/sync/v1/service.rb +4 -16
  108. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -5
  109. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -10
  110. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +7 -28
  111. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +4 -16
  112. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +3 -12
  113. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +3 -12
  114. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -7
  115. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -16
  116. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -5
  117. data/lib/twilio-ruby/rest/verify/v2/service.rb +7 -29
  118. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -16
  119. data/lib/twilio-ruby/rest/video/v1/room.rb +3 -13
  120. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +1 -4
  121. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -5
  122. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +2 -10
  123. data/lib/twilio-ruby/rest.rb +1 -1
  124. data/lib/twilio-ruby/version.rb +1 -1
  125. data/twilio-ruby.gemspec +1 -1
  126. metadata +12 -9
  127. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +0 -744
@@ -1,6 +1,7 @@
1
1
  module Twilio
2
2
  module REST
3
3
  class Microvisor < MicrovisorBase
4
+
4
5
  ##
5
6
  # @param [String] sid A 34-character string that uniquely identifies this App.
6
7
  # @return [Twilio::REST::Microvisor::V1::AppInstance] if sid was passed.
@@ -20,4 +21,4 @@ module Twilio
20
21
  end
21
22
  end
22
23
  end
23
- end
24
+ end
@@ -295,12 +295,8 @@ module Twilio
295
295
  def notifications
296
296
  unless @notifications
297
297
  @notifications = NotificationList.new(
298
- @version,
299
- service_sid: @solution[:sid]
300
-
301
- )
298
+ @version, service_sid: @solution[:sid], )
302
299
  end
303
-
304
300
  @notifications
305
301
  end
306
302
  ##
@@ -317,10 +313,7 @@ module Twilio
317
313
 
318
314
  unless @bindings
319
315
  @bindings = BindingList.new(
320
- @version,
321
- service_sid: @solution[:sid]
322
-
323
- )
316
+ @version, service_sid: @solution[:sid], )
324
317
  end
325
318
 
326
319
  @bindings
@@ -0,0 +1,224 @@
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 BulkEligibilityList < ListResource
21
+ ##
22
+ # Initialize the BulkEligibilityList
23
+ # @param [Version] version Version that contains the resource
24
+ # @return [BulkEligibilityList] BulkEligibilityList
25
+ def initialize(version)
26
+ super(version)
27
+ # Path Solution
28
+ @solution = { }
29
+
30
+
31
+ end
32
+
33
+
34
+
35
+ # Provide a user friendly representation
36
+ def to_s
37
+ '#<Twilio.Numbers.V1.BulkEligibilityList>'
38
+ end
39
+ end
40
+
41
+
42
+ ##
43
+ #PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
44
+ class BulkEligibilityContext < InstanceContext
45
+ ##
46
+ # Initialize the BulkEligibilityContext
47
+ # @param [Version] version Version that contains the resource
48
+ # @param [String] request_id The SID of the bulk eligibility check that you want to know about.
49
+ # @return [BulkEligibilityContext] BulkEligibilityContext
50
+ def initialize(version, request_id)
51
+ super(version)
52
+
53
+ # Path Solution
54
+ @solution = { request_id: request_id, }
55
+ @uri = "/HostedNumber/Eligibility/Bulk/#{@solution[:request_id]}"
56
+
57
+
58
+ end
59
+ ##
60
+ # Fetch the BulkEligibilityInstance
61
+ # @return [BulkEligibilityInstance] Fetched BulkEligibilityInstance
62
+ def fetch
63
+
64
+ payload = @version.fetch('GET', @uri)
65
+ BulkEligibilityInstance.new(
66
+ @version,
67
+ payload,
68
+ request_id: @solution[:request_id],
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.BulkEligibilityContext #{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.BulkEligibilityContext #{context}>"
85
+ end
86
+ end
87
+
88
+ class BulkEligibilityPage < Page
89
+ ##
90
+ # Initialize the BulkEligibilityPage
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 [BulkEligibilityPage] BulkEligibilityPage
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 BulkEligibilityInstance
104
+ # @param [Hash] payload Payload response from the API
105
+ # @return [BulkEligibilityInstance] BulkEligibilityInstance
106
+ def get_instance(payload)
107
+ BulkEligibilityInstance.new(@version, payload)
108
+ end
109
+
110
+ ##
111
+ # Provide a user friendly representation
112
+ def to_s
113
+ '<Twilio.Numbers.V1.BulkEligibilityPage>'
114
+ end
115
+ end
116
+ class BulkEligibilityInstance < InstanceResource
117
+ ##
118
+ # Initialize the BulkEligibilityInstance
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 BulkEligibility
123
+ # resource.
124
+ # @param [String] sid The SID of the Call resource to fetch.
125
+ # @return [BulkEligibilityInstance] BulkEligibilityInstance
126
+ def initialize(version, payload , request_id: nil)
127
+ super(version)
128
+
129
+ # Marshaled Properties
130
+ @properties = {
131
+ 'request_id' => payload['request_id'],
132
+ 'url' => payload['url'],
133
+ 'results' => payload['results'],
134
+ 'friendly_name' => payload['friendly_name'],
135
+ 'status' => payload['status'],
136
+ 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
137
+ 'date_completed' => Twilio.deserialize_iso8601_datetime(payload['date_completed']),
138
+ }
139
+
140
+ # Context
141
+ @instance_context = nil
142
+ @params = { 'request_id' => request_id || @properties['request_id'] , }
143
+ end
144
+
145
+ ##
146
+ # Generate an instance context for the instance, the context is capable of
147
+ # performing various actions. All instance actions are proxied to the context
148
+ # @return [BulkEligibilityContext] CallContext for this CallInstance
149
+ def context
150
+ unless @instance_context
151
+ @instance_context = BulkEligibilityContext.new(@version , @params['request_id'])
152
+ end
153
+ @instance_context
154
+ end
155
+
156
+ ##
157
+ # @return [String] The SID of the bulk eligibility check that you want to know about.
158
+ def request_id
159
+ @properties['request_id']
160
+ end
161
+
162
+ ##
163
+ # @return [String] This is the url of the request that you're trying to reach out to locate the resource.
164
+ def url
165
+ @properties['url']
166
+ end
167
+
168
+ ##
169
+ # @return [Array<Hash>] The result set that contains the eligibility check response for each requested number, each result has at least the following attributes: phone_number: The requested phone number ,hosting_account_sid: The account sid where the phone number will be hosted, country: Phone number’s country, eligibility_status: Indicates the eligibility status of the PN (Eligible/Ineligible), eligibility_sub_status: Indicates the sub status of the eligibility , ineligibility_reason: Reason for number's ineligibility (if applicable), next_step: Suggested next step in the hosting process based on the eligibility status.
170
+ def results
171
+ @properties['results']
172
+ end
173
+
174
+ ##
175
+ # @return [String] This is the string that you assigned as a friendly name for describing the eligibility check request.
176
+ def friendly_name
177
+ @properties['friendly_name']
178
+ end
179
+
180
+ ##
181
+ # @return [String] This is the status of the bulk eligibility check request. (Example: COMPLETE, IN_PROGRESS)
182
+ def status
183
+ @properties['status']
184
+ end
185
+
186
+ ##
187
+ # @return [Time]
188
+ def date_created
189
+ @properties['date_created']
190
+ end
191
+
192
+ ##
193
+ # @return [Time]
194
+ def date_completed
195
+ @properties['date_completed']
196
+ end
197
+
198
+ ##
199
+ # Fetch the BulkEligibilityInstance
200
+ # @return [BulkEligibilityInstance] Fetched BulkEligibilityInstance
201
+ def fetch
202
+
203
+ context.fetch
204
+ end
205
+
206
+ ##
207
+ # Provide a user friendly representation
208
+ def to_s
209
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
210
+ "<Twilio.Numbers.V1.BulkEligibilityInstance #{values}>"
211
+ end
212
+
213
+ ##
214
+ # Provide a detailed, user friendly representation
215
+ def inspect
216
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
217
+ "<Twilio.Numbers.V1.BulkEligibilityInstance #{values}>"
218
+ end
219
+ end
220
+
221
+ end
222
+ end
223
+ end
224
+ end
@@ -0,0 +1,49 @@
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
+ module Twilio
16
+ module REST
17
+ class Numbers
18
+ class V1 < Version
19
+ ##
20
+ # Initialize the V1 version of Numbers
21
+ def initialize(domain)
22
+ super
23
+ @version = 'v1'
24
+ @bulk_eligibilities = nil
25
+ end
26
+
27
+ ##
28
+ # @param [String] request_id The SID of the bulk eligibility check that you want to know about.
29
+ # @return [Twilio::REST::Numbers::V1::BulkEligibilityContext] if requestId was passed.
30
+ # @return [Twilio::REST::Numbers::V1::BulkEligibilityList]
31
+ def bulk_eligibilities(request_id=:unset)
32
+ if request_id.nil?
33
+ raise ArgumentError, 'request_id cannot be nil'
34
+ end
35
+ if request_id == :unset
36
+ @bulk_eligibilities ||= BulkEligibilityList.new self
37
+ else
38
+ BulkEligibilityContext.new(self, request_id)
39
+ end
40
+ end
41
+ ##
42
+ # Provide a user friendly representation
43
+ def to_s
44
+ '<Twilio::REST::Numbers::V1>';
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -316,12 +316,8 @@ module Twilio
316
316
  def bundle_copies
317
317
  unless @bundle_copies
318
318
  @bundle_copies = BundleCopyList.new(
319
- @version,
320
- bundle_sid: @solution[:sid]
321
-
322
- )
319
+ @version, bundle_sid: @solution[:sid], )
323
320
  end
324
-
325
321
  @bundle_copies
326
322
  end
327
323
  ##
@@ -331,12 +327,8 @@ module Twilio
331
327
  def replace_items
332
328
  unless @replace_items
333
329
  @replace_items = ReplaceItemsList.new(
334
- @version,
335
- bundle_sid: @solution[:sid]
336
-
337
- )
330
+ @version, bundle_sid: @solution[:sid], )
338
331
  end
339
-
340
332
  @replace_items
341
333
  end
342
334
  ##
@@ -353,10 +345,7 @@ module Twilio
353
345
 
354
346
  unless @item_assignments
355
347
  @item_assignments = ItemAssignmentList.new(
356
- @version,
357
- bundle_sid: @solution[:sid]
358
-
359
- )
348
+ @version, bundle_sid: @solution[:sid], )
360
349
  end
361
350
 
362
351
  @item_assignments
@@ -375,10 +364,7 @@ module Twilio
375
364
 
376
365
  unless @evaluations
377
366
  @evaluations = EvaluationList.new(
378
- @version,
379
- bundle_sid: @solution[:sid]
380
-
381
- )
367
+ @version, bundle_sid: @solution[:sid], )
382
368
  end
383
369
 
384
370
  @evaluations
@@ -30,4 +30,4 @@ module Twilio
30
30
  end
31
31
  end
32
32
  end
33
- end
33
+ end
@@ -222,10 +222,7 @@ module Twilio
222
222
 
223
223
  unless @devices
224
224
  @devices = DeviceList.new(
225
- @version,
226
- fleet_sid: @solution[:sid]
227
-
228
- )
225
+ @version, fleet_sid: @solution[:sid], )
229
226
  end
230
227
 
231
228
  @devices
@@ -244,10 +241,7 @@ module Twilio
244
241
 
245
242
  unless @keys
246
243
  @keys = KeyList.new(
247
- @version,
248
- fleet_sid: @solution[:sid]
249
-
250
- )
244
+ @version, fleet_sid: @solution[:sid], )
251
245
  end
252
246
 
253
247
  @keys
@@ -266,10 +260,7 @@ module Twilio
266
260
 
267
261
  unless @deployments
268
262
  @deployments = DeploymentList.new(
269
- @version,
270
- fleet_sid: @solution[:sid]
271
-
272
- )
263
+ @version, fleet_sid: @solution[:sid], )
273
264
  end
274
265
 
275
266
  @deployments
@@ -288,10 +279,7 @@ module Twilio
288
279
 
289
280
  unless @certificates
290
281
  @certificates = CertificateList.new(
291
- @version,
292
- fleet_sid: @solution[:sid]
293
-
294
- )
282
+ @version, fleet_sid: @solution[:sid], )
295
283
  end
296
284
 
297
285
  @certificates
@@ -248,12 +248,8 @@ module Twilio
248
248
  def dependent_hosted_number_orders
249
249
  unless @dependent_hosted_number_orders
250
250
  @dependent_hosted_number_orders = DependentHostedNumberOrderList.new(
251
- @version,
252
- authorization_document_sid: @solution[:sid]
253
-
254
- )
251
+ @version, signing_document_sid: @solution[:sid], )
255
252
  end
256
-
257
253
  @dependent_hosted_number_orders
258
254
  end
259
255
 
@@ -169,10 +169,7 @@ module Twilio
169
169
 
170
170
  unless @extensions
171
171
  @extensions = AvailableAddOnExtensionList.new(
172
- @version,
173
- available_add_on_sid: @solution[:sid]
174
-
175
- )
172
+ @version, available_add_on_sid: @solution[:sid], )
176
173
  end
177
174
 
178
175
  @extensions
@@ -228,10 +228,7 @@ module Twilio
228
228
 
229
229
  unless @extensions
230
230
  @extensions = InstalledAddOnExtensionList.new(
231
- @version,
232
- installed_add_on_sid: @solution[:sid]
233
-
234
- )
231
+ @version, installed_add_on_sid: @solution[:sid], )
235
232
  end
236
233
 
237
234
  @extensions
@@ -228,11 +228,7 @@ module Twilio
228
228
 
229
229
  unless @document_permissions
230
230
  @document_permissions = DocumentPermissionList.new(
231
- @version,
232
- service_sid: @solution[:service_sid],
233
- document_sid: @solution[:sid]
234
-
235
- )
231
+ @version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
236
232
  end
237
233
 
238
234
  @document_permissions
@@ -202,11 +202,7 @@ module Twilio
202
202
 
203
203
  unless @sync_list_permissions
204
204
  @sync_list_permissions = SyncListPermissionList.new(
205
- @version,
206
- service_sid: @solution[:service_sid],
207
- sync_list_sid: @solution[:sid]
208
-
209
- )
205
+ @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
210
206
  end
211
207
 
212
208
  @sync_list_permissions
@@ -225,11 +221,7 @@ module Twilio
225
221
 
226
222
  unless @sync_list_items
227
223
  @sync_list_items = SyncListItemList.new(
228
- @version,
229
- service_sid: @solution[:service_sid],
230
- sync_list_sid: @solution[:sid]
231
-
232
- )
224
+ @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
233
225
  end
234
226
 
235
227
  @sync_list_items
@@ -202,11 +202,7 @@ module Twilio
202
202
 
203
203
  unless @sync_map_items
204
204
  @sync_map_items = SyncMapItemList.new(
205
- @version,
206
- service_sid: @solution[:service_sid],
207
- sync_map_sid: @solution[:sid]
208
-
209
- )
205
+ @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
210
206
  end
211
207
 
212
208
  @sync_map_items
@@ -225,11 +221,7 @@ module Twilio
225
221
 
226
222
  unless @sync_map_permissions
227
223
  @sync_map_permissions = SyncMapPermissionList.new(
228
- @version,
229
- service_sid: @solution[:service_sid],
230
- sync_map_sid: @solution[:sid]
231
-
232
- )
224
+ @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
233
225
  end
234
226
 
235
227
  @sync_map_permissions
@@ -236,10 +236,7 @@ module Twilio
236
236
 
237
237
  unless @sync_lists
238
238
  @sync_lists = SyncListList.new(
239
- @version,
240
- service_sid: @solution[:sid]
241
-
242
- )
239
+ @version, service_sid: @solution[:sid], )
243
240
  end
244
241
 
245
242
  @sync_lists
@@ -258,10 +255,7 @@ module Twilio
258
255
 
259
256
  unless @sync_maps
260
257
  @sync_maps = SyncMapList.new(
261
- @version,
262
- service_sid: @solution[:sid]
263
-
264
- )
258
+ @version, service_sid: @solution[:sid], )
265
259
  end
266
260
 
267
261
  @sync_maps
@@ -280,10 +274,7 @@ module Twilio
280
274
 
281
275
  unless @documents
282
276
  @documents = DocumentList.new(
283
- @version,
284
- service_sid: @solution[:sid]
285
-
286
- )
277
+ @version, service_sid: @solution[:sid], )
287
278
  end
288
279
 
289
280
  @documents
@@ -228,11 +228,7 @@ module Twilio
228
228
 
229
229
  unless @field_values
230
230
  @field_values = FieldValueList.new(
231
- @version,
232
- assistant_sid: @solution[:assistant_sid],
233
- field_type_sid: @solution[:sid]
234
-
235
- )
231
+ @version, assistant_sid: @solution[:assistant_sid], field_type_sid: @solution[:sid], )
236
232
  end
237
233
 
238
234
  @field_values
@@ -265,11 +265,7 @@ module Twilio
265
265
 
266
266
  unless @samples
267
267
  @samples = SampleList.new(
268
- @version,
269
- assistant_sid: @solution[:assistant_sid],
270
- task_sid: @solution[:sid]
271
-
272
- )
268
+ @version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
273
269
  end
274
270
 
275
271
  @samples
@@ -288,11 +284,7 @@ module Twilio
288
284
 
289
285
  unless @fields
290
286
  @fields = FieldList.new(
291
- @version,
292
- assistant_sid: @solution[:assistant_sid],
293
- task_sid: @solution[:sid]
294
-
295
- )
287
+ @version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
296
288
  end
297
289
 
298
290
  @fields
@@ -265,10 +265,7 @@ module Twilio
265
265
 
266
266
  unless @field_types
267
267
  @field_types = FieldTypeList.new(
268
- @version,
269
- assistant_sid: @solution[:sid]
270
-
271
- )
268
+ @version, assistant_sid: @solution[:sid], )
272
269
  end
273
270
 
274
271
  @field_types
@@ -297,10 +294,7 @@ module Twilio
297
294
 
298
295
  unless @tasks
299
296
  @tasks = TaskList.new(
300
- @version,
301
- assistant_sid: @solution[:sid]
302
-
303
- )
297
+ @version, assistant_sid: @solution[:sid], )
304
298
  end
305
299
 
306
300
  @tasks
@@ -319,10 +313,7 @@ module Twilio
319
313
 
320
314
  unless @dialogues
321
315
  @dialogues = DialogueList.new(
322
- @version,
323
- assistant_sid: @solution[:sid]
324
-
325
- )
316
+ @version, assistant_sid: @solution[:sid], )
326
317
  end
327
318
 
328
319
  @dialogues
@@ -351,10 +342,7 @@ module Twilio
351
342
 
352
343
  unless @model_builds
353
344
  @model_builds = ModelBuildList.new(
354
- @version,
355
- assistant_sid: @solution[:sid]
356
-
357
- )
345
+ @version, assistant_sid: @solution[:sid], )
358
346
  end
359
347
 
360
348
  @model_builds
@@ -383,10 +371,7 @@ module Twilio
383
371
 
384
372
  unless @queries
385
373
  @queries = QueryList.new(
386
- @version,
387
- assistant_sid: @solution[:sid]
388
-
389
- )
374
+ @version, assistant_sid: @solution[:sid], )
390
375
  end
391
376
 
392
377
  @queries