sendly 4.0.0 → 4.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/Gemfile.lock +3 -3
- data/README.md +168 -0
- data/lib/sendly/calls_resource.rb +413 -0
- data/lib/sendly/client.rb +24 -2
- data/lib/sendly/errors.rb +36 -17
- data/lib/sendly/numbers_resource.rb +23 -2
- data/lib/sendly/templates_resource.rb +0 -4
- data/lib/sendly/version.rb +1 -1
- data/lib/sendly/voice_resource.rb +721 -0
- data/lib/sendly/webhooks.rb +4 -0
- data/lib/sendly.rb +2 -0
- metadata +4 -2
data/lib/sendly/webhooks.rb
CHANGED
|
@@ -99,6 +99,10 @@ module Sendly
|
|
|
99
99
|
EVENT_CALL_STARTED = "call.started"
|
|
100
100
|
EVENT_CALL_COMPLETED = "call.completed"
|
|
101
101
|
EVENT_CALL_RECORDING_READY = "call.recording.ready"
|
|
102
|
+
EVENT_SHORT_CODE_ACTION_REQUIRED = "short_code.action_required"
|
|
103
|
+
EVENT_SHORT_CODE_REJECTED = "short_code.rejected"
|
|
104
|
+
EVENT_SHORT_CODE_FILED = "short_code.filed"
|
|
105
|
+
EVENT_SHORT_CODE_LIVE = "short_code.live"
|
|
102
106
|
|
|
103
107
|
# Source of a list-health event. Frozen enum — new values will be
|
|
104
108
|
# added in minor SDK versions, never removed.
|
data/lib/sendly.rb
CHANGED
|
@@ -27,6 +27,8 @@ require_relative "sendly/tendlc_resource"
|
|
|
27
27
|
require_relative "sendly/links_resource"
|
|
28
28
|
require_relative "sendly/whatsapp_resource"
|
|
29
29
|
require_relative "sendly/rcs_resource"
|
|
30
|
+
require_relative "sendly/calls_resource"
|
|
31
|
+
require_relative "sendly/voice_resource"
|
|
30
32
|
|
|
31
33
|
# Sendly Ruby SDK
|
|
32
34
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sendly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sendly
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -126,6 +126,7 @@ files:
|
|
|
126
126
|
- lib/sendly.rb
|
|
127
127
|
- lib/sendly/account_resource.rb
|
|
128
128
|
- lib/sendly/business_upgrade_resource.rb
|
|
129
|
+
- lib/sendly/calls_resource.rb
|
|
129
130
|
- lib/sendly/campaigns_resource.rb
|
|
130
131
|
- lib/sendly/client.rb
|
|
131
132
|
- lib/sendly/contacts_resource.rb
|
|
@@ -145,6 +146,7 @@ files:
|
|
|
145
146
|
- lib/sendly/types.rb
|
|
146
147
|
- lib/sendly/verify.rb
|
|
147
148
|
- lib/sendly/version.rb
|
|
149
|
+
- lib/sendly/voice_resource.rb
|
|
148
150
|
- lib/sendly/webhooks.rb
|
|
149
151
|
- lib/sendly/webhooks_resource.rb
|
|
150
152
|
- lib/sendly/whatsapp_resource.rb
|