twilio-ruby 7.0.1 → 7.1.0

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 (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +55 -0
  3. data/Gemfile +1 -0
  4. data/README.md +2 -2
  5. data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +6 -6
  6. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +1 -1
  7. data/lib/twilio-ruby/rest/client.rb +0 -5
  8. data/lib/twilio-ruby/rest/content/v2/content.rb +259 -0
  9. data/lib/twilio-ruby/rest/content/v2/content_and_approvals.rb +252 -0
  10. data/lib/twilio-ruby/rest/content/v2.rb +46 -0
  11. data/lib/twilio-ruby/rest/content_base.rb +6 -1
  12. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +1 -1
  13. data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +8 -1
  14. data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +289 -0
  15. data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +5 -2
  16. data/lib/twilio-ruby/rest/flex_api/v2.rb +37 -0
  17. data/lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb +444 -0
  18. data/lib/twilio-ruby/rest/intelligence/v2/operator.rb +355 -0
  19. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +215 -0
  20. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +196 -0
  21. data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +357 -0
  22. data/lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb +355 -0
  23. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +9 -8
  24. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +18 -18
  25. data/lib/twilio-ruby/rest/intelligence/v2.rb +112 -0
  26. data/lib/twilio-ruby/rest/messaging/v1/service.rb +0 -7
  27. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +154 -4
  28. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +292 -0
  29. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +148 -0
  30. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +167 -0
  31. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb +160 -0
  32. data/lib/twilio-ruby/rest/numbers/v1.rb +63 -20
  33. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -1
  34. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -2
  35. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -2
  36. data/lib/twilio-ruby/rest/preview/sync/service.rb +2 -2
  37. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -1
  38. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -2
  39. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -2
  40. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -1
  41. data/lib/twilio-ruby/rest/sync/v1/service.rb +3 -3
  42. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +33 -4
  43. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +4 -1
  44. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +7 -0
  45. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +7 -0
  46. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +1 -1
  47. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +1 -1
  48. data/lib/twilio-ruby/rest/verify/v2/service.rb +1 -1
  49. data/lib/twilio-ruby/version.rb +1 -1
  50. metadata +16 -9
  51. data/lib/twilio-ruby/rest/numbers/v1/porting_bulk_portability.rb +0 -230
  52. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb +0 -252
  53. data/lib/twilio-ruby/rest/preview_messaging/v1/broadcast.rb +0 -164
  54. data/lib/twilio-ruby/rest/preview_messaging/v1/message.rb +0 -235
  55. data/lib/twilio-ruby/rest/preview_messaging/v1.rb +0 -46
  56. data/lib/twilio-ruby/rest/preview_messaging.rb +0 -12
  57. data/lib/twilio-ruby/rest/preview_messaging_base.rb +0 -38
@@ -0,0 +1,167 @@
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 PortingWebhookConfigurationDeleteList < ListResource
21
+
22
+ ##
23
+ # Initialize the PortingWebhookConfigurationDeleteList
24
+ # @param [Version] version Version that contains the resource
25
+ # @return [PortingWebhookConfigurationDeleteList] PortingWebhookConfigurationDeleteList
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.PortingWebhookConfigurationDeleteList>'
39
+ end
40
+ end
41
+
42
+
43
+ class PortingWebhookConfigurationDeleteContext < InstanceContext
44
+ ##
45
+ # Initialize the PortingWebhookConfigurationDeleteContext
46
+ # @param [Version] version Version that contains the resource
47
+ # @param [WebhookType] webhook_type The of the webhook type of the configuration to be deleted
48
+ # @return [PortingWebhookConfigurationDeleteContext] PortingWebhookConfigurationDeleteContext
49
+ def initialize(version, webhook_type)
50
+ super(version)
51
+
52
+ # Path Solution
53
+ @solution = { webhook_type: webhook_type, }
54
+ @uri = "/Porting/Configuration/Webhook/#{@solution[:webhook_type]}"
55
+
56
+
57
+ end
58
+ ##
59
+ # Delete the PortingWebhookConfigurationDeleteInstance
60
+ # @return [Boolean] True if delete succeeds, false otherwise
61
+ def delete
62
+
63
+
64
+ @version.delete('DELETE', @uri)
65
+ end
66
+
67
+
68
+ ##
69
+ # Provide a user friendly representation
70
+ def to_s
71
+ context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
72
+ "#<Twilio.Numbers.V1.PortingWebhookConfigurationDeleteContext #{context}>"
73
+ end
74
+
75
+ ##
76
+ # Provide a detailed, user friendly representation
77
+ def inspect
78
+ context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
79
+ "#<Twilio.Numbers.V1.PortingWebhookConfigurationDeleteContext #{context}>"
80
+ end
81
+ end
82
+
83
+ class PortingWebhookConfigurationDeletePage < Page
84
+ ##
85
+ # Initialize the PortingWebhookConfigurationDeletePage
86
+ # @param [Version] version Version that contains the resource
87
+ # @param [Response] response Response from the API
88
+ # @param [Hash] solution Path solution for the resource
89
+ # @return [PortingWebhookConfigurationDeletePage] PortingWebhookConfigurationDeletePage
90
+ def initialize(version, response, solution)
91
+ super(version, response)
92
+
93
+ # Path Solution
94
+ @solution = solution
95
+ end
96
+
97
+ ##
98
+ # Build an instance of PortingWebhookConfigurationDeleteInstance
99
+ # @param [Hash] payload Payload response from the API
100
+ # @return [PortingWebhookConfigurationDeleteInstance] PortingWebhookConfigurationDeleteInstance
101
+ def get_instance(payload)
102
+ PortingWebhookConfigurationDeleteInstance.new(@version, payload)
103
+ end
104
+
105
+ ##
106
+ # Provide a user friendly representation
107
+ def to_s
108
+ '<Twilio.Numbers.V1.PortingWebhookConfigurationDeletePage>'
109
+ end
110
+ end
111
+ class PortingWebhookConfigurationDeleteInstance < InstanceResource
112
+ ##
113
+ # Initialize the PortingWebhookConfigurationDeleteInstance
114
+ # @param [Version] version Version that contains the resource
115
+ # @param [Hash] payload payload that contains response from Twilio
116
+ # @param [String] account_sid The SID of the
117
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this PortingWebhookConfigurationDelete
118
+ # resource.
119
+ # @param [String] sid The SID of the Call resource to fetch.
120
+ # @return [PortingWebhookConfigurationDeleteInstance] PortingWebhookConfigurationDeleteInstance
121
+ def initialize(version , webhook_type: nil)
122
+ super(version)
123
+
124
+
125
+ # Context
126
+ @instance_context = nil
127
+ @params = { 'webhook_type' => webhook_type || @properties['webhook_type'] , }
128
+ end
129
+
130
+ ##
131
+ # Generate an instance context for the instance, the context is capable of
132
+ # performing various actions. All instance actions are proxied to the context
133
+ # @return [PortingWebhookConfigurationDeleteContext] CallContext for this CallInstance
134
+ def context
135
+ unless @instance_context
136
+ @instance_context = PortingWebhookConfigurationDeleteContext.new(@version , @params['webhook_type'])
137
+ end
138
+ @instance_context
139
+ end
140
+
141
+ ##
142
+ # Delete the PortingWebhookConfigurationDeleteInstance
143
+ # @return [Boolean] True if delete succeeds, false otherwise
144
+ def delete
145
+
146
+ context.delete
147
+ end
148
+
149
+ ##
150
+ # Provide a user friendly representation
151
+ def to_s
152
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
153
+ "<Twilio.Numbers.V1.PortingWebhookConfigurationDeleteInstance #{values}>"
154
+ end
155
+
156
+ ##
157
+ # Provide a detailed, user friendly representation
158
+ def inspect
159
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
160
+ "<Twilio.Numbers.V1.PortingWebhookConfigurationDeleteInstance #{values}>"
161
+ end
162
+ end
163
+
164
+ end
165
+ end
166
+ end
167
+ end
@@ -0,0 +1,160 @@
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 PortingWebhookConfigurationFetchList < ListResource
21
+
22
+ ##
23
+ # Initialize the PortingWebhookConfigurationFetchList
24
+ # @param [Version] version Version that contains the resource
25
+ # @return [PortingWebhookConfigurationFetchList] PortingWebhookConfigurationFetchList
26
+ def initialize(version)
27
+ super(version)
28
+ # Path Solution
29
+ @solution = { }
30
+ @uri = "/Porting/Configuration/Webhook"
31
+
32
+ end
33
+ ##
34
+ # Fetch the PortingWebhookConfigurationFetchInstance
35
+ # @return [PortingWebhookConfigurationFetchInstance] Fetched PortingWebhookConfigurationFetchInstance
36
+ def fetch
37
+
38
+
39
+ payload = @version.fetch('GET', @uri)
40
+ PortingWebhookConfigurationFetchInstance.new(
41
+ @version,
42
+ payload,
43
+ )
44
+ end
45
+
46
+
47
+
48
+
49
+ # Provide a user friendly representation
50
+ def to_s
51
+ '#<Twilio.Numbers.V1.PortingWebhookConfigurationFetchList>'
52
+ end
53
+ end
54
+
55
+ class PortingWebhookConfigurationFetchPage < Page
56
+ ##
57
+ # Initialize the PortingWebhookConfigurationFetchPage
58
+ # @param [Version] version Version that contains the resource
59
+ # @param [Response] response Response from the API
60
+ # @param [Hash] solution Path solution for the resource
61
+ # @return [PortingWebhookConfigurationFetchPage] PortingWebhookConfigurationFetchPage
62
+ def initialize(version, response, solution)
63
+ super(version, response)
64
+
65
+ # Path Solution
66
+ @solution = solution
67
+ end
68
+
69
+ ##
70
+ # Build an instance of PortingWebhookConfigurationFetchInstance
71
+ # @param [Hash] payload Payload response from the API
72
+ # @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
73
+ def get_instance(payload)
74
+ PortingWebhookConfigurationFetchInstance.new(@version, payload)
75
+ end
76
+
77
+ ##
78
+ # Provide a user friendly representation
79
+ def to_s
80
+ '<Twilio.Numbers.V1.PortingWebhookConfigurationFetchPage>'
81
+ end
82
+ end
83
+ class PortingWebhookConfigurationFetchInstance < InstanceResource
84
+ ##
85
+ # Initialize the PortingWebhookConfigurationFetchInstance
86
+ # @param [Version] version Version that contains the resource
87
+ # @param [Hash] payload payload that contains response from Twilio
88
+ # @param [String] account_sid The SID of the
89
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this PortingWebhookConfigurationFetch
90
+ # resource.
91
+ # @param [String] sid The SID of the Call resource to fetch.
92
+ # @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
93
+ def initialize(version, payload )
94
+ super(version)
95
+
96
+ # Marshaled Properties
97
+ @properties = {
98
+ 'url' => payload['url'],
99
+ 'port_in_target_url' => payload['port_in_target_url'],
100
+ 'port_out_target_url' => payload['port_out_target_url'],
101
+ 'notifications_of' => payload['notifications_of'],
102
+ 'port_in_target_date_created' => Twilio.deserialize_iso8601_datetime(payload['port_in_target_date_created']),
103
+ 'port_out_target_date_created' => Twilio.deserialize_iso8601_datetime(payload['port_out_target_date_created']),
104
+ }
105
+ end
106
+
107
+
108
+ ##
109
+ # @return [String] The URL of the webhook configuration request
110
+ def url
111
+ @properties['url']
112
+ end
113
+
114
+ ##
115
+ # @return [String] Webhook URL to send a request when a port in request or port in phone number event happens
116
+ def port_in_target_url
117
+ @properties['port_in_target_url']
118
+ end
119
+
120
+ ##
121
+ # @return [String] Webhook URL to send a request when a port out phone number event happens
122
+ def port_out_target_url
123
+ @properties['port_out_target_url']
124
+ end
125
+
126
+ ##
127
+ # @return [Array<String>] List of notification events to send a request to the webhook URL
128
+ def notifications_of
129
+ @properties['notifications_of']
130
+ end
131
+
132
+ ##
133
+ # @return [Time] Creation date for the port in webhook configuration
134
+ def port_in_target_date_created
135
+ @properties['port_in_target_date_created']
136
+ end
137
+
138
+ ##
139
+ # @return [Time] Creation date for the port out webhook configuration
140
+ def port_out_target_date_created
141
+ @properties['port_out_target_date_created']
142
+ end
143
+
144
+ ##
145
+ # Provide a user friendly representation
146
+ def to_s
147
+ "<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
148
+ end
149
+
150
+ ##
151
+ # Provide a detailed, user friendly representation
152
+ def inspect
153
+ "<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
154
+ end
155
+ end
156
+
157
+ end
158
+ end
159
+ end
160
+ end
@@ -23,10 +23,12 @@ module Twilio
23
23
  @version = 'v1'
24
24
  @bulk_eligibilities = nil
25
25
  @eligibilities = nil
26
- @porting_bulk_portabilities = nil
27
26
  @porting_port_ins = nil
28
- @porting_port_ins_fetch = nil
27
+ @porting_port_in_phone_number = nil
29
28
  @porting_portabilities = nil
29
+ @porting_webhook_configurations = nil
30
+ @porting_webhook_configurations_delete = nil
31
+ @porting_webhook_configuration_fetch = nil
30
32
  end
31
33
 
32
34
  ##
@@ -49,36 +51,53 @@ module Twilio
49
51
  @eligibilities ||= EligibilityList.new self
50
52
  end
51
53
  ##
52
- # @param [String] sid A 34 character string that uniquely identifies the Portability check.
53
- # @return [Twilio::REST::Numbers::V1::PortingBulkPortabilityContext] if sid was passed.
54
- # @return [Twilio::REST::Numbers::V1::PortingBulkPortabilityList]
55
- def porting_bulk_portabilities(sid=:unset)
56
- if sid.nil?
57
- raise ArgumentError, 'sid cannot be nil'
54
+ # @param [String] port_in_request_sid The SID of the Port In request. This is a unique identifier of the port in request.
55
+ # @return [Twilio::REST::Numbers::V1::PortingPortInContext] if portInRequestSid was passed.
56
+ # @return [Twilio::REST::Numbers::V1::PortingPortInList]
57
+ def porting_port_ins(port_in_request_sid=:unset)
58
+ if port_in_request_sid.nil?
59
+ raise ArgumentError, 'port_in_request_sid cannot be nil'
58
60
  end
59
- if sid == :unset
60
- @porting_bulk_portabilities ||= PortingBulkPortabilityList.new self
61
+ if port_in_request_sid == :unset
62
+ @porting_port_ins ||= PortingPortInList.new self
61
63
  else
62
- PortingBulkPortabilityContext.new(self, sid)
64
+ PortingPortInContext.new(self, port_in_request_sid)
63
65
  end
64
66
  end
65
67
  ##
66
- # @return [Twilio::REST::Numbers::V1::PortingPortInList]
67
- def porting_port_ins
68
- @porting_port_ins ||= PortingPortInList.new self
68
+ # @param [String] port_in_request_sid The SID of the Port In request. This is a unique identifier of the port in request.
69
+ # @param [String] phone_number_sid The SID of the Phone number. This is a unique identifier of the phone number.
70
+ # @return [Twilio::REST::Numbers::V1::PortingPortInPhoneNumberContext] if portInRequestSid was passed.
71
+ # @return [Twilio::REST::Numbers::V1::PortingPortInPhoneNumberList]
72
+ def porting_port_in_phone_number(port_in_request_sid=:unset, phone_number_sid=:unset)
73
+ if port_in_request_sid.nil?
74
+ raise ArgumentError, 'port_in_request_sid cannot be nil'
75
+ end
76
+ if phone_number_sid.nil?
77
+ raise ArgumentError, 'phone_number_sid cannot be nil'
78
+ end
79
+ if port_in_request_sid == :unset && phone_number_sid == :unset
80
+ @porting_port_in_phone_number ||= PortingPortInPhoneNumberList.new self
81
+ else
82
+ PortingPortInPhoneNumberContext.new(self, port_in_request_sid, phone_number_sid)
83
+ end
69
84
  end
70
85
  ##
71
86
  # @param [String] port_in_request_sid The SID of the Port In request. This is a unique identifier of the port in request.
72
- # @return [Twilio::REST::Numbers::V1::PortingPortInFetchContext] if portInRequestSid was passed.
73
- # @return [Twilio::REST::Numbers::V1::PortingPortInFetchList]
74
- def porting_port_ins_fetch(port_in_request_sid=:unset)
87
+ # @param [String] phone_number_sid The SID of the Phone number. This is a unique identifier of the phone number.
88
+ # @return [Twilio::REST::Numbers::V1::PortingPortInPhoneNumberContext] if phoneNumberSid was passed.
89
+ # @return [Twilio::REST::Numbers::V1::PortingPortInPhoneNumberList]
90
+ def porting_port_in_phone_number(port_in_request_sid=:unset, phone_number_sid=:unset)
75
91
  if port_in_request_sid.nil?
76
92
  raise ArgumentError, 'port_in_request_sid cannot be nil'
77
93
  end
78
- if port_in_request_sid == :unset
79
- @porting_port_ins_fetch ||= PortingPortInFetchList.new self
94
+ if phone_number_sid.nil?
95
+ raise ArgumentError, 'phone_number_sid cannot be nil'
96
+ end
97
+ if port_in_request_sid == :unset && phone_number_sid == :unset
98
+ @porting_port_in_phone_number ||= PortingPortInPhoneNumberList.new self
80
99
  else
81
- PortingPortInFetchContext.new(self, port_in_request_sid)
100
+ PortingPortInPhoneNumberContext.new(self, port_in_request_sid, phone_number_sid)
82
101
  end
83
102
  end
84
103
  ##
@@ -96,6 +115,30 @@ module Twilio
96
115
  end
97
116
  end
98
117
  ##
118
+ # @return [Twilio::REST::Numbers::V1::PortingWebhookConfigurationList]
119
+ def porting_webhook_configurations
120
+ @porting_webhook_configurations ||= PortingWebhookConfigurationList.new self
121
+ end
122
+ ##
123
+ # @param [String] webhook_type The of the webhook type of the configuration to be deleted
124
+ # @return [Twilio::REST::Numbers::V1::PortingWebhookConfigurationDeleteContext] if webhookType was passed.
125
+ # @return [Twilio::REST::Numbers::V1::PortingWebhookConfigurationDeleteList]
126
+ def porting_webhook_configurations_delete(webhook_type=:unset)
127
+ if webhook_type.nil?
128
+ raise ArgumentError, 'webhook_type cannot be nil'
129
+ end
130
+ if webhook_type == :unset
131
+ @porting_webhook_configurations_delete ||= PortingWebhookConfigurationDeleteList.new self
132
+ else
133
+ PortingWebhookConfigurationDeleteContext.new(self, webhook_type)
134
+ end
135
+ end
136
+ ##
137
+ # @return [Twilio::REST::Numbers::V1::PortingWebhookConfigurationFetchList]
138
+ def porting_webhook_configuration_fetch
139
+ @porting_webhook_configuration_fetch ||= PortingWebhookConfigurationFetchList.new self
140
+ end
141
+ ##
99
142
  # Provide a user friendly representation
100
143
  def to_s
101
144
  '<Twilio::REST::Numbers::V1>';
@@ -230,7 +230,7 @@ module Twilio
230
230
 
231
231
  unless @document_permissions
232
232
  @document_permissions = DocumentPermissionList.new(
233
- @version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
233
+ @version, )
234
234
  end
235
235
 
236
236
  @document_permissions
@@ -203,7 +203,7 @@ module Twilio
203
203
 
204
204
  unless @sync_list_permissions
205
205
  @sync_list_permissions = SyncListPermissionList.new(
206
- @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
206
+ @version, )
207
207
  end
208
208
 
209
209
  @sync_list_permissions
@@ -222,7 +222,7 @@ module Twilio
222
222
 
223
223
  unless @sync_list_items
224
224
  @sync_list_items = SyncListItemList.new(
225
- @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
225
+ @version, )
226
226
  end
227
227
 
228
228
  @sync_list_items
@@ -203,7 +203,7 @@ module Twilio
203
203
 
204
204
  unless @sync_map_items
205
205
  @sync_map_items = SyncMapItemList.new(
206
- @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
206
+ @version, )
207
207
  end
208
208
 
209
209
  @sync_map_items
@@ -222,7 +222,7 @@ module Twilio
222
222
 
223
223
  unless @sync_map_permissions
224
224
  @sync_map_permissions = SyncMapPermissionList.new(
225
- @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
225
+ @version, )
226
226
  end
227
227
 
228
228
  @sync_map_permissions
@@ -238,7 +238,7 @@ module Twilio
238
238
 
239
239
  unless @sync_maps
240
240
  @sync_maps = SyncMapList.new(
241
- @version, service_sid: @solution[:sid], )
241
+ @version, )
242
242
  end
243
243
 
244
244
  @sync_maps
@@ -276,7 +276,7 @@ module Twilio
276
276
 
277
277
  unless @sync_lists
278
278
  @sync_lists = SyncListList.new(
279
- @version, service_sid: @solution[:sid], )
279
+ @version, )
280
280
  end
281
281
 
282
282
  @sync_lists
@@ -236,7 +236,7 @@ module Twilio
236
236
 
237
237
  unless @document_permissions
238
238
  @document_permissions = DocumentPermissionList.new(
239
- @version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
239
+ @version, )
240
240
  end
241
241
 
242
242
  @document_permissions
@@ -234,7 +234,7 @@ module Twilio
234
234
 
235
235
  unless @sync_list_permissions
236
236
  @sync_list_permissions = SyncListPermissionList.new(
237
- @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
237
+ @version, )
238
238
  end
239
239
 
240
240
  @sync_list_permissions
@@ -253,7 +253,7 @@ module Twilio
253
253
 
254
254
  unless @sync_list_items
255
255
  @sync_list_items = SyncListItemList.new(
256
- @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
256
+ @version, )
257
257
  end
258
258
 
259
259
  @sync_list_items
@@ -234,7 +234,7 @@ module Twilio
234
234
 
235
235
  unless @sync_map_items
236
236
  @sync_map_items = SyncMapItemList.new(
237
- @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
237
+ @version, )
238
238
  end
239
239
 
240
240
  @sync_map_items
@@ -253,7 +253,7 @@ module Twilio
253
253
 
254
254
  unless @sync_map_permissions
255
255
  @sync_map_permissions = SyncMapPermissionList.new(
256
- @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
256
+ @version, )
257
257
  end
258
258
 
259
259
  @sync_map_permissions
@@ -220,7 +220,7 @@ module Twilio
220
220
  def stream_messages
221
221
  unless @stream_messages
222
222
  @stream_messages = StreamMessageList.new(
223
- @version, service_sid: @solution[:service_sid], stream_sid: @solution[:sid], )
223
+ @version, )
224
224
  end
225
225
  @stream_messages
226
226
  end
@@ -257,7 +257,7 @@ module Twilio
257
257
 
258
258
  unless @sync_streams
259
259
  @sync_streams = SyncStreamList.new(
260
- @version, service_sid: @solution[:sid], )
260
+ @version, )
261
261
  end
262
262
 
263
263
  @sync_streams
@@ -276,7 +276,7 @@ module Twilio
276
276
 
277
277
  unless @sync_lists
278
278
  @sync_lists = SyncListList.new(
279
- @version, service_sid: @solution[:sid], )
279
+ @version, )
280
280
  end
281
281
 
282
282
  @sync_lists
@@ -295,7 +295,7 @@ module Twilio
295
295
 
296
296
  unless @sync_maps
297
297
  @sync_maps = SyncMapList.new(
298
- @version, service_sid: @solution[:sid], )
298
+ @version, )
299
299
  end
300
300
 
301
301
  @sync_maps