twilio-ruby 5.45.1 → 5.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGES.md +108 -0
- data/LICENSE +1 -1
- data/README.md +16 -2
- data/lib/twilio-ruby/rest/api.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010.rb +5 -4
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -8
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +17 -17
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +1 -1
- data/lib/twilio-ruby/rest/autopilot/v1.rb +5 -4
- data/lib/twilio-ruby/rest/bulkexports.rb +4 -2
- data/lib/twilio-ruby/rest/bulkexports/v1.rb +14 -10
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +7 -4
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +7 -4
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +5 -3
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +5 -3
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +5 -3
- data/lib/twilio-ruby/rest/chat/v1.rb +10 -8
- data/lib/twilio-ruby/rest/chat/v1/service.rb +5 -5
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +6 -6
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +3 -3
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +3 -3
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +9 -9
- data/lib/twilio-ruby/rest/chat/v2.rb +10 -8
- data/lib/twilio-ruby/rest/chat/v2/service.rb +5 -5
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +7 -7
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +6 -6
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +3 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +3 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +27 -24
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +9 -9
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +10 -10
- data/lib/twilio-ruby/rest/client.rb +8 -1
- data/lib/twilio-ruby/rest/conversations/v1.rb +25 -20
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +9 -9
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +9 -9
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +9 -9
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +7 -7
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +9 -9
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +9 -9
- data/lib/twilio-ruby/rest/events/v1.rb +20 -16
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +4 -4
- data/lib/twilio-ruby/rest/events/v1/schema.rb +4 -4
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +4 -4
- data/lib/twilio-ruby/rest/events/v1/sink.rb +8 -6
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +3 -3
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +3 -3
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +7 -6
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +3 -3
- data/lib/twilio-ruby/rest/fax/v1.rb +5 -4
- data/lib/twilio-ruby/rest/flex_api/v1.rb +15 -12
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +18 -4
- data/lib/twilio-ruby/rest/insights.rb +1 -1
- data/lib/twilio-ruby/rest/insights/v1.rb +11 -9
- data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +8 -9
- data/lib/twilio-ruby/rest/insights/v1/room.rb +55 -43
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +22 -22
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +10 -8
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +4 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +10 -8
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +7 -7
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +6 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +4 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -4
- data/lib/twilio-ruby/rest/lookups/v1.rb +5 -4
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +16 -16
- data/lib/twilio-ruby/rest/messaging.rb +8 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +21 -4
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +328 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +1 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +1 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +1 -1
- data/lib/twilio-ruby/rest/monitor/v1.rb +10 -8
- data/lib/twilio-ruby/rest/notify/v1.rb +10 -8
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +16 -15
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +18 -18
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +1 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +1 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +1 -1
- data/lib/twilio-ruby/rest/preview.rb +4 -2
- data/lib/twilio-ruby/rest/preview/bulk_exports.rb +14 -10
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +7 -4
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +7 -4
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb +5 -3
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb +5 -3
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +5 -3
- data/lib/twilio-ruby/rest/preview/deployed_devices.rb +5 -4
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +10 -8
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +13 -13
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +2 -2
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +8 -8
- data/lib/twilio-ruby/rest/preview/marketplace.rb +10 -8
- data/lib/twilio-ruby/rest/preview/sync.rb +5 -4
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +4 -8
- data/lib/twilio-ruby/rest/preview/trusted_comms.rb +5 -4
- data/lib/twilio-ruby/rest/preview/understand.rb +5 -4
- data/lib/twilio-ruby/rest/preview/wireless.rb +15 -12
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +1 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +1 -1
- data/lib/twilio-ruby/rest/proxy/v1.rb +5 -4
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +1 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +1 -1
- data/lib/twilio-ruby/rest/serverless/v1.rb +5 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +17 -7
- data/lib/twilio-ruby/rest/studio/v1.rb +5 -4
- data/lib/twilio-ruby/rest/studio/v2.rb +5 -4
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +6 -14
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +0 -8
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +0 -8
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -8
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +0 -8
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -10
- data/lib/twilio-ruby/rest/studio/v2/flow/test_user.rb +10 -16
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +6 -11
- data/lib/twilio-ruby/rest/supersim/v1.rb +25 -20
- data/lib/twilio-ruby/rest/supersim/v1/command.rb +4 -4
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +33 -12
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +5 -5
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +6 -6
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +5 -5
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +4 -4
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +3 -3
- data/lib/twilio-ruby/rest/sync/v1.rb +5 -4
- data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -8
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +25 -52
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -8
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +18 -40
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +46 -76
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -8
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +18 -40
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +47 -79
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +1 -9
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +14 -38
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +1 -7
- data/lib/twilio-ruby/rest/taskrouter/v1.rb +5 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +17 -17
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +10 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +1 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +10 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +1 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +1 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +1 -1
- data/lib/twilio-ruby/rest/trunking/v1.rb +5 -4
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +1 -1
- data/lib/twilio-ruby/rest/trusthub.rb +100 -0
- data/lib/twilio-ruby/rest/trusthub/v1.rb +146 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +523 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +359 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +330 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +328 -0
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +356 -0
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +271 -0
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +262 -0
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +369 -0
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +271 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +523 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +359 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +330 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +328 -0
- data/lib/twilio-ruby/rest/verify.rb +9 -0
- data/lib/twilio-ruby/rest/verify/v2.rb +26 -8
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +7 -6
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +64 -13
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +1 -1
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +10 -10
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +329 -0
- data/lib/twilio-ruby/rest/video/v1.rb +20 -16
- data/lib/twilio-ruby/rest/video/v1/composition.rb +16 -15
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +26 -26
- data/lib/twilio-ruby/rest/video/v1/recording.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/room.rb +10 -3
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +1 -1
- data/lib/twilio-ruby/rest/video/v1/room/room_recording_rule.rb +1 -1
- data/lib/twilio-ruby/rest/voice/v1.rb +20 -16
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -1
- data/lib/twilio-ruby/rest/wireless/v1.rb +15 -12
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +4 -4
- data/lib/twilio-ruby/twiml/voice_response.rb +38 -8
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/conference_spec.rb +302 -44
- data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +4 -16
- data/spec/integration/api/v2010/account/message_spec.rb +37 -0
- data/spec/integration/events/v1/sink_spec.rb +14 -0
- data/spec/integration/flex_api/v1/configuration_spec.rb +24 -0
- data/spec/integration/insights/v1/call/summary_spec.rb +1 -0
- data/spec/integration/messaging/v1/brand_registration_spec.rb +143 -0
- data/spec/integration/preview/sync/service/document_spec.rb +1 -3
- data/spec/integration/serverless/v1/service/build_spec.rb +12 -2
- data/spec/integration/supersim/v1/fleet_spec.rb +8 -0
- data/spec/integration/sync/v1/service/document_spec.rb +1 -3
- data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment_spec.rb +192 -0
- data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_entity_assignments_spec.rb +186 -0
- data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_evaluations_spec.rb +615 -0
- data/spec/integration/trusthub/v1/customer_profiles_spec.rb +255 -0
- data/spec/integration/trusthub/v1/end_user_spec.rb +247 -0
- data/spec/integration/trusthub/v1/end_user_type_spec.rb +176 -0
- data/spec/integration/trusthub/v1/policies_spec.rb +252 -0
- data/spec/integration/trusthub/v1/supporting_document_spec.rb +235 -0
- data/spec/integration/trusthub/v1/supporting_document_type_spec.rb +159 -0
- data/spec/integration/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment_spec.rb +192 -0
- data/spec/integration/trusthub/v1/trust_products/trust_products_entity_assignments_spec.rb +186 -0
- data/spec/integration/trusthub/v1/trust_products/trust_products_evaluations_spec.rb +615 -0
- data/spec/integration/trusthub/v1/trust_products_spec.rb +255 -0
- data/spec/integration/verify/v2/service/entity/factor_spec.rb +3 -3
- data/spec/integration/verify/v2/verification_attempt_spec.rb +146 -0
- data/spec/integration/video/v1/room_spec.rb +5 -0
- data/spec/twiml/voice_response_spec.rb +1 -1
- metadata +49 -2
@@ -11,7 +11,7 @@ module Twilio
|
|
11
11
|
class Events < Domain
|
12
12
|
class V1 < Version
|
13
13
|
##
|
14
|
-
# PLEASE NOTE that this class contains
|
14
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
15
15
|
class SchemaList < ListResource
|
16
16
|
##
|
17
17
|
# Initialize the SchemaList
|
@@ -32,7 +32,7 @@ module Twilio
|
|
32
32
|
end
|
33
33
|
|
34
34
|
##
|
35
|
-
# PLEASE NOTE that this class contains
|
35
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
36
36
|
class SchemaPage < Page
|
37
37
|
##
|
38
38
|
# Initialize the SchemaPage
|
@@ -63,7 +63,7 @@ module Twilio
|
|
63
63
|
end
|
64
64
|
|
65
65
|
##
|
66
|
-
# PLEASE NOTE that this class contains
|
66
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
67
67
|
class SchemaContext < InstanceContext
|
68
68
|
##
|
69
69
|
# Initialize the SchemaContext
|
@@ -125,7 +125,7 @@ module Twilio
|
|
125
125
|
end
|
126
126
|
|
127
127
|
##
|
128
|
-
# PLEASE NOTE that this class contains
|
128
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
129
129
|
class SchemaInstance < InstanceResource
|
130
130
|
##
|
131
131
|
# Initialize the SchemaInstance
|
@@ -12,7 +12,7 @@ module Twilio
|
|
12
12
|
class V1 < Version
|
13
13
|
class SchemaContext < InstanceContext
|
14
14
|
##
|
15
|
-
# PLEASE NOTE that this class contains
|
15
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
16
16
|
class VersionList < ListResource
|
17
17
|
##
|
18
18
|
# Initialize the VersionList
|
@@ -116,7 +116,7 @@ module Twilio
|
|
116
116
|
end
|
117
117
|
|
118
118
|
##
|
119
|
-
# PLEASE NOTE that this class contains
|
119
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
120
120
|
class VersionPage < Page
|
121
121
|
##
|
122
122
|
# Initialize the VersionPage
|
@@ -147,7 +147,7 @@ module Twilio
|
|
147
147
|
end
|
148
148
|
|
149
149
|
##
|
150
|
-
# PLEASE NOTE that this class contains
|
150
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
151
151
|
class VersionContext < InstanceContext
|
152
152
|
##
|
153
153
|
# Initialize the VersionContext
|
@@ -194,7 +194,7 @@ module Twilio
|
|
194
194
|
end
|
195
195
|
|
196
196
|
##
|
197
|
-
# PLEASE NOTE that this class contains
|
197
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
198
198
|
class VersionInstance < InstanceResource
|
199
199
|
##
|
200
200
|
# Initialize the VersionInstance
|
@@ -11,7 +11,7 @@ module Twilio
|
|
11
11
|
class Events < Domain
|
12
12
|
class V1 < Version
|
13
13
|
##
|
14
|
-
# PLEASE NOTE that this class contains
|
14
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
15
15
|
class SinkList < ListResource
|
16
16
|
##
|
17
17
|
# Initialize the SinkList
|
@@ -27,10 +27,12 @@ module Twilio
|
|
27
27
|
|
28
28
|
##
|
29
29
|
# Create the SinkInstance
|
30
|
-
# @param [String] description A human readable description for the Sink
|
30
|
+
# @param [String] description A human readable description for the Sink **This
|
31
|
+
# value should not contain PII.**
|
31
32
|
# @param [Hash] sink_configuration The information required for Twilio to connect
|
32
33
|
# to the provided Sink encoded as JSON.
|
33
|
-
# @param [sink.SinkType] sink_type The Sink type. Can only be "kinesis"
|
34
|
+
# @param [sink.SinkType] sink_type The Sink type. Can only be "kinesis" or
|
35
|
+
# "webhook" currently.
|
34
36
|
# @return [SinkInstance] Created SinkInstance
|
35
37
|
def create(description: nil, sink_configuration: nil, sink_type: nil)
|
36
38
|
data = Twilio::Values.of({
|
@@ -132,7 +134,7 @@ module Twilio
|
|
132
134
|
end
|
133
135
|
|
134
136
|
##
|
135
|
-
# PLEASE NOTE that this class contains
|
137
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
136
138
|
class SinkPage < Page
|
137
139
|
##
|
138
140
|
# Initialize the SinkPage
|
@@ -163,7 +165,7 @@ module Twilio
|
|
163
165
|
end
|
164
166
|
|
165
167
|
##
|
166
|
-
# PLEASE NOTE that this class contains
|
168
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
167
169
|
class SinkContext < InstanceContext
|
168
170
|
##
|
169
171
|
# Initialize the SinkContext
|
@@ -238,7 +240,7 @@ module Twilio
|
|
238
240
|
end
|
239
241
|
|
240
242
|
##
|
241
|
-
# PLEASE NOTE that this class contains
|
243
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
242
244
|
class SinkInstance < InstanceResource
|
243
245
|
##
|
244
246
|
# Initialize the SinkInstance
|
@@ -12,7 +12,7 @@ module Twilio
|
|
12
12
|
class V1 < Version
|
13
13
|
class SinkContext < InstanceContext
|
14
14
|
##
|
15
|
-
# PLEASE NOTE that this class contains
|
15
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
16
16
|
class SinkTestList < ListResource
|
17
17
|
##
|
18
18
|
# Initialize the SinkTestList
|
@@ -44,7 +44,7 @@ module Twilio
|
|
44
44
|
end
|
45
45
|
|
46
46
|
##
|
47
|
-
# PLEASE NOTE that this class contains
|
47
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
48
48
|
class SinkTestPage < Page
|
49
49
|
##
|
50
50
|
# Initialize the SinkTestPage
|
@@ -75,7 +75,7 @@ module Twilio
|
|
75
75
|
end
|
76
76
|
|
77
77
|
##
|
78
|
-
# PLEASE NOTE that this class contains
|
78
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
79
79
|
class SinkTestInstance < InstanceResource
|
80
80
|
##
|
81
81
|
# Initialize the SinkTestInstance
|
@@ -12,7 +12,7 @@ module Twilio
|
|
12
12
|
class V1 < Version
|
13
13
|
class SinkContext < InstanceContext
|
14
14
|
##
|
15
|
-
# PLEASE NOTE that this class contains
|
15
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
16
16
|
class SinkValidateList < ListResource
|
17
17
|
##
|
18
18
|
# Initialize the SinkValidateList
|
@@ -48,7 +48,7 @@ module Twilio
|
|
48
48
|
end
|
49
49
|
|
50
50
|
##
|
51
|
-
# PLEASE NOTE that this class contains
|
51
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
52
52
|
class SinkValidatePage < Page
|
53
53
|
##
|
54
54
|
# Initialize the SinkValidatePage
|
@@ -79,7 +79,7 @@ module Twilio
|
|
79
79
|
end
|
80
80
|
|
81
81
|
##
|
82
|
-
# PLEASE NOTE that this class contains
|
82
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
83
83
|
class SinkValidateInstance < InstanceResource
|
84
84
|
##
|
85
85
|
# Initialize the SinkValidateInstance
|
@@ -11,7 +11,7 @@ module Twilio
|
|
11
11
|
class Events < Domain
|
12
12
|
class V1 < Version
|
13
13
|
##
|
14
|
-
# PLEASE NOTE that this class contains
|
14
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
15
15
|
class SubscriptionList < ListResource
|
16
16
|
##
|
17
17
|
# Initialize the SubscriptionList
|
@@ -115,11 +115,12 @@ module Twilio
|
|
115
115
|
##
|
116
116
|
# Create the SubscriptionInstance
|
117
117
|
# @param [String] description A human readable description for the Subscription
|
118
|
+
# **This value should not contain PII.**
|
118
119
|
# @param [String] sink_sid The SID of the sink that events selected by this
|
119
120
|
# subscription should be sent to. Sink must be active for the subscription to be
|
120
121
|
# created.
|
121
|
-
# @param [Hash] types
|
122
|
-
#
|
122
|
+
# @param [Array[Hash]] types An array of objects containing the subscribed Event
|
123
|
+
# Types
|
123
124
|
# @return [SubscriptionInstance] Created SubscriptionInstance
|
124
125
|
def create(description: nil, sink_sid: nil, types: nil)
|
125
126
|
data = Twilio::Values.of({
|
@@ -141,7 +142,7 @@ module Twilio
|
|
141
142
|
end
|
142
143
|
|
143
144
|
##
|
144
|
-
# PLEASE NOTE that this class contains
|
145
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
145
146
|
class SubscriptionPage < Page
|
146
147
|
##
|
147
148
|
# Initialize the SubscriptionPage
|
@@ -172,7 +173,7 @@ module Twilio
|
|
172
173
|
end
|
173
174
|
|
174
175
|
##
|
175
|
-
# PLEASE NOTE that this class contains
|
176
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
176
177
|
class SubscriptionContext < InstanceContext
|
177
178
|
##
|
178
179
|
# Initialize the SubscriptionContext
|
@@ -250,7 +251,7 @@ module Twilio
|
|
250
251
|
end
|
251
252
|
|
252
253
|
##
|
253
|
-
# PLEASE NOTE that this class contains
|
254
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
254
255
|
class SubscriptionInstance < InstanceResource
|
255
256
|
##
|
256
257
|
# Initialize the SubscriptionInstance
|
@@ -12,7 +12,7 @@ module Twilio
|
|
12
12
|
class V1 < Version
|
13
13
|
class SubscriptionContext < InstanceContext
|
14
14
|
##
|
15
|
-
# PLEASE NOTE that this class contains
|
15
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
16
16
|
class SubscribedEventList < ListResource
|
17
17
|
##
|
18
18
|
# Initialize the SubscribedEventList
|
@@ -115,7 +115,7 @@ module Twilio
|
|
115
115
|
end
|
116
116
|
|
117
117
|
##
|
118
|
-
# PLEASE NOTE that this class contains
|
118
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
119
119
|
class SubscribedEventPage < Page
|
120
120
|
##
|
121
121
|
# Initialize the SubscribedEventPage
|
@@ -146,7 +146,7 @@ module Twilio
|
|
146
146
|
end
|
147
147
|
|
148
148
|
##
|
149
|
-
# PLEASE NOTE that this class contains
|
149
|
+
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
150
150
|
class SubscribedEventInstance < InstanceResource
|
151
151
|
##
|
152
152
|
# Initialize the SubscribedEventInstance
|
@@ -25,11 +25,12 @@ module Twilio
|
|
25
25
|
# @return [Twilio::REST::Fax::V1::FaxList]
|
26
26
|
def faxes(sid=:unset)
|
27
27
|
if sid.nil?
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
raise ArgumentError, 'sid cannot be nil'
|
29
|
+
end
|
30
|
+
if sid == :unset
|
31
|
+
@faxes ||= FaxList.new self
|
31
32
|
else
|
32
|
-
|
33
|
+
FaxContext.new(self, sid)
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -27,11 +27,12 @@ module Twilio
|
|
27
27
|
# @return [Twilio::REST::Flex_api::V1::ChannelList]
|
28
28
|
def channel(sid=:unset)
|
29
29
|
if sid.nil?
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
raise ArgumentError, 'sid cannot be nil'
|
31
|
+
end
|
32
|
+
if sid == :unset
|
33
|
+
@channel ||= ChannelList.new self
|
33
34
|
else
|
34
|
-
|
35
|
+
ChannelContext.new(self, sid)
|
35
36
|
end
|
36
37
|
end
|
37
38
|
|
@@ -47,11 +48,12 @@ module Twilio
|
|
47
48
|
# @return [Twilio::REST::Flex_api::V1::FlexFlowList]
|
48
49
|
def flex_flow(sid=:unset)
|
49
50
|
if sid.nil?
|
50
|
-
|
51
|
-
|
52
|
-
|
51
|
+
raise ArgumentError, 'sid cannot be nil'
|
52
|
+
end
|
53
|
+
if sid == :unset
|
54
|
+
@flex_flow ||= FlexFlowList.new self
|
53
55
|
else
|
54
|
-
|
56
|
+
FlexFlowContext.new(self, sid)
|
55
57
|
end
|
56
58
|
end
|
57
59
|
|
@@ -61,11 +63,12 @@ module Twilio
|
|
61
63
|
# @return [Twilio::REST::Flex_api::V1::WebChannelList]
|
62
64
|
def web_channel(sid=:unset)
|
63
65
|
if sid.nil?
|
64
|
-
|
65
|
-
|
66
|
-
|
66
|
+
raise ArgumentError, 'sid cannot be nil'
|
67
|
+
end
|
68
|
+
if sid == :unset
|
69
|
+
@web_channel ||= WebChannelList.new self
|
67
70
|
else
|
68
|
-
|
71
|
+
WebChannelContext.new(self, sid)
|
69
72
|
end
|
70
73
|
end
|
71
74
|
|
@@ -164,6 +164,8 @@ module Twilio
|
|
164
164
|
'outbound_call_flows' => payload['outbound_call_flows'],
|
165
165
|
'serverless_service_sids' => payload['serverless_service_sids'],
|
166
166
|
'queue_stats_configuration' => payload['queue_stats_configuration'],
|
167
|
+
'notifications' => payload['notifications'],
|
168
|
+
'markdown' => payload['markdown'],
|
167
169
|
'url' => payload['url'],
|
168
170
|
}
|
169
171
|
|
@@ -232,13 +234,13 @@ module Twilio
|
|
232
234
|
end
|
233
235
|
|
234
236
|
##
|
235
|
-
# @return [Hash] The list of TaskRouter TaskQueues
|
237
|
+
# @return [Array[Hash]] The list of TaskRouter TaskQueues
|
236
238
|
def taskrouter_taskqueues
|
237
239
|
@properties['taskrouter_taskqueues']
|
238
240
|
end
|
239
241
|
|
240
242
|
##
|
241
|
-
# @return [Hash] The Skill description for TaskRouter workers
|
243
|
+
# @return [Array[Hash]] The Skill description for TaskRouter workers
|
242
244
|
def taskrouter_skills
|
243
245
|
@properties['taskrouter_skills']
|
244
246
|
end
|
@@ -376,7 +378,7 @@ module Twilio
|
|
376
378
|
end
|
377
379
|
|
378
380
|
##
|
379
|
-
# @return [Hash] A list of objects that contain the configurations for the Integrations supported in this configuration
|
381
|
+
# @return [Array[Hash]] A list of objects that contain the configurations for the Integrations supported in this configuration
|
380
382
|
def integrations
|
381
383
|
@properties['integrations']
|
382
384
|
end
|
@@ -388,7 +390,7 @@ module Twilio
|
|
388
390
|
end
|
389
391
|
|
390
392
|
##
|
391
|
-
# @return [String] The list of serverless service SIDs
|
393
|
+
# @return [Array[String]] The list of serverless service SIDs
|
392
394
|
def serverless_service_sids
|
393
395
|
@properties['serverless_service_sids']
|
394
396
|
end
|
@@ -399,6 +401,18 @@ module Twilio
|
|
399
401
|
@properties['queue_stats_configuration']
|
400
402
|
end
|
401
403
|
|
404
|
+
##
|
405
|
+
# @return [Hash] Configurable parameters for Notifications
|
406
|
+
def notifications
|
407
|
+
@properties['notifications']
|
408
|
+
end
|
409
|
+
|
410
|
+
##
|
411
|
+
# @return [Hash] Configurable parameters for Markdown
|
412
|
+
def markdown
|
413
|
+
@properties['markdown']
|
414
|
+
end
|
415
|
+
|
402
416
|
##
|
403
417
|
# @return [String] The absolute URL of the Configuration resource
|
404
418
|
def url
|
@@ -37,7 +37,7 @@ module Twilio
|
|
37
37
|
end
|
38
38
|
|
39
39
|
##
|
40
|
-
# @param [String] room_sid
|
40
|
+
# @param [String] room_sid Unique identifier for the room.
|
41
41
|
# @return [Twilio::REST::Insights::V1::RoomInstance] if room_sid was passed.
|
42
42
|
# @return [Twilio::REST::Insights::V1::RoomList]
|
43
43
|
def rooms(room_sid=:unset)
|
@@ -25,25 +25,27 @@ module Twilio
|
|
25
25
|
# @return [Twilio::REST::Insights::V1::CallList]
|
26
26
|
def calls(sid=:unset)
|
27
27
|
if sid.nil?
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
raise ArgumentError, 'sid cannot be nil'
|
29
|
+
end
|
30
|
+
if sid == :unset
|
31
|
+
@calls ||= CallList.new self
|
31
32
|
else
|
32
|
-
|
33
|
+
CallContext.new(self, sid)
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
36
37
|
##
|
37
|
-
# @param [String] room_sid The
|
38
|
+
# @param [String] room_sid The SID of the Room resource.
|
38
39
|
# @return [Twilio::REST::Insights::V1::RoomContext] if room_sid was passed.
|
39
40
|
# @return [Twilio::REST::Insights::V1::RoomList]
|
40
41
|
def rooms(room_sid=:unset)
|
41
42
|
if room_sid.nil?
|
42
|
-
|
43
|
-
|
44
|
-
|
43
|
+
raise ArgumentError, 'room_sid cannot be nil'
|
44
|
+
end
|
45
|
+
if room_sid == :unset
|
46
|
+
@rooms ||= RoomList.new self
|
45
47
|
else
|
46
|
-
|
48
|
+
RoomContext.new(self, room_sid)
|
47
49
|
end
|
48
50
|
end
|
49
51
|
|
@@ -11,8 +11,6 @@ module Twilio
|
|
11
11
|
class Insights < Domain
|
12
12
|
class V1 < Version
|
13
13
|
class CallContext < InstanceContext
|
14
|
-
##
|
15
|
-
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
|
16
14
|
class CallSummaryList < ListResource
|
17
15
|
##
|
18
16
|
# Initialize the CallSummaryList
|
@@ -33,8 +31,6 @@ module Twilio
|
|
33
31
|
end
|
34
32
|
end
|
35
33
|
|
36
|
-
##
|
37
|
-
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
|
38
34
|
class CallSummaryPage < Page
|
39
35
|
##
|
40
36
|
# Initialize the CallSummaryPage
|
@@ -64,8 +60,6 @@ module Twilio
|
|
64
60
|
end
|
65
61
|
end
|
66
62
|
|
67
|
-
##
|
68
|
-
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
|
69
63
|
class CallSummaryContext < InstanceContext
|
70
64
|
##
|
71
65
|
# Initialize the CallSummaryContext
|
@@ -107,8 +101,6 @@ module Twilio
|
|
107
101
|
end
|
108
102
|
end
|
109
103
|
|
110
|
-
##
|
111
|
-
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
|
112
104
|
class CallSummaryInstance < InstanceResource
|
113
105
|
##
|
114
106
|
# Initialize the CallSummaryInstance
|
@@ -126,6 +118,7 @@ module Twilio
|
|
126
118
|
'call_type' => payload['call_type'],
|
127
119
|
'call_state' => payload['call_state'],
|
128
120
|
'processing_state' => payload['processing_state'],
|
121
|
+
'created_time' => Twilio.deserialize_iso8601_datetime(payload['created_time']),
|
129
122
|
'start_time' => Twilio.deserialize_iso8601_datetime(payload['start_time']),
|
130
123
|
'end_time' => Twilio.deserialize_iso8601_datetime(payload['end_time']),
|
131
124
|
'duration' => payload['duration'] == nil ? payload['duration'] : payload['duration'].to_i,
|
@@ -189,6 +182,12 @@ module Twilio
|
|
189
182
|
@properties['processing_state']
|
190
183
|
end
|
191
184
|
|
185
|
+
##
|
186
|
+
# @return [Time] The created_time
|
187
|
+
def created_time
|
188
|
+
@properties['created_time']
|
189
|
+
end
|
190
|
+
|
192
191
|
##
|
193
192
|
# @return [Time] The start_time
|
194
193
|
def start_time
|
@@ -250,7 +249,7 @@ module Twilio
|
|
250
249
|
end
|
251
250
|
|
252
251
|
##
|
253
|
-
# @return [String] The tags
|
252
|
+
# @return [Array[String]] The tags
|
254
253
|
def tags
|
255
254
|
@properties['tags']
|
256
255
|
end
|