forked from danielberkompas/ex_twilio
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from aarongraham/ag/add-basic-support-for-insig…
…hts-advanced add basic support for insights advanced
- Loading branch information
Showing
6 changed files
with
124 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
defmodule ExTwilio.Events.Sinks do | ||
@moduledoc """ | ||
Represents Event Streams Sink resource. | ||
Sinks are the destinations to which events selected in a subscription will be delivered | ||
- [Twilio docs](https://www.twilio.com/docs/events/event-streams/sink-resource) | ||
""" | ||
|
||
defstruct [ | ||
:date_created, | ||
:date_updated, | ||
:description, | ||
:sid, | ||
:sink_configuration, | ||
:sink_type, | ||
:status, | ||
:url, | ||
:links | ||
] | ||
|
||
use ExTwilio.Resource, import: [:create] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
defmodule ExTwilio.Events.Subscriptions do | ||
@moduledoc """ | ||
Represents Event Streams Subscriptions resource. | ||
You can use the Subscriptions API to subscribe to specific Twilio events and versions, and manage your subscriptions. | ||
- [Twilio docs](https://www.twilio.com/docs/events/event-streams/subscription) | ||
""" | ||
|
||
defstruct [ | ||
:account_sid, | ||
:sid, | ||
:date_created, | ||
:date_updated, | ||
:description, | ||
:sink_sid, | ||
:url, | ||
:links | ||
] | ||
|
||
use ExTwilio.Resource, import: [:create] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
defmodule ExTwilio.Insights.Voice.Settings do | ||
@moduledoc """ | ||
Represents Voice Insights Settings Resource. | ||
- [Twilio docs](https://www.twilio.com/docs/voice/voice-insights/api/call/voice-insights-settings-resource) | ||
""" | ||
|
||
defstruct [ | ||
:account_sid, | ||
:advanced_features, | ||
:voice_trace, | ||
:url, | ||
:subaccount_sid | ||
] | ||
|
||
use ExTwilio.Resource, import: [:find, :create] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters