zavudev 0.1.0 → 0.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 +8 -0
- data/README.md +1 -1
- data/lib/zavudev/models/message_send_params.rb +3 -2
- data/lib/zavudev/resources/messages.rb +1 -1
- data/lib/zavudev/version.rb +1 -1
- data/rbi/zavudev/models/message_send_params.rbi +4 -2
- data/rbi/zavudev/resources/messages.rbi +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aebc12920e23cac2be8b4beac98e10e3afe189dd0fc4b2e28a1f9ee9bd4be415
|
|
4
|
+
data.tar.gz: 25dbcc93196574ed555bef0886793c80c5f43549b954d7034f5b1ddaff4a1659
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd2996d8873e52e6a0380a92d2bc12a7a658d6c794779f7d27e04420125cb39ce98e8bcf95438b647cd315bc96ecc36b6696e5f3fd1d5ee246a41b7daeed5d68
|
|
7
|
+
data.tar.gz: 8b2fdb45571677b16e5287bbb2d7591a5e7680d76d8bae92133ed490fd4099cd7820c7a8e1b9f0bb2c3c0e6f1ad992bcc2063b585a1bae0f9e9749d23dc5fda7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0 (2026-03-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0...v0.2.0](https://github.com/zavudev/sdk-ruby/compare/v0.1.0...v0.2.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([32f7ff3](https://github.com/zavudev/sdk-ruby/commit/32f7ff374028b15e69dd49053102a43fdc6b3d2d))
|
|
10
|
+
|
|
3
11
|
## 0.1.0 (2026-03-10)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.0.2...v0.1.0](https://github.com/zavudev/sdk-ruby/compare/v0.0.2...v0.1.0)
|
data/README.md
CHANGED
|
@@ -8,7 +8,8 @@ module Zavudev
|
|
|
8
8
|
include Zavudev::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute to
|
|
11
|
-
# Recipient phone number in E.164 format or
|
|
11
|
+
# Recipient phone number in E.164 format, email address, or numeric chat ID (for
|
|
12
|
+
# Telegram/Instagram).
|
|
12
13
|
#
|
|
13
14
|
# @return [String]
|
|
14
15
|
required :to, String
|
|
@@ -92,7 +93,7 @@ module Zavudev
|
|
|
92
93
|
# Some parameter documentations has been truncated, see
|
|
93
94
|
# {Zavudev::Models::MessageSendParams} for more details.
|
|
94
95
|
#
|
|
95
|
-
# @param to [String] Recipient phone number in E.164 format or
|
|
96
|
+
# @param to [String] Recipient phone number in E.164 format, email address, or numeric chat ID (for T
|
|
96
97
|
#
|
|
97
98
|
# @param channel [Symbol, Zavudev::Models::Channel] Delivery channel. Use 'auto' for intelligent routing. If omitted with non-text m
|
|
98
99
|
#
|
|
@@ -109,7 +109,7 @@ module Zavudev
|
|
|
109
109
|
#
|
|
110
110
|
# @overload send_(to:, channel: nil, content: nil, fallback_enabled: nil, html_body: nil, idempotency_key: nil, message_type: nil, metadata: nil, reply_to: nil, subject: nil, text: nil, voice_language: nil, zavu_sender: nil, request_options: {})
|
|
111
111
|
#
|
|
112
|
-
# @param to [String] Body param: Recipient phone number in E.164 format or
|
|
112
|
+
# @param to [String] Body param: Recipient phone number in E.164 format, email address, or numeric ch
|
|
113
113
|
#
|
|
114
114
|
# @param channel [Symbol, Zavudev::Models::Channel] Body param: Delivery channel. Use 'auto' for intelligent routing. If omitted wit
|
|
115
115
|
#
|
data/lib/zavudev/version.rb
CHANGED
|
@@ -11,7 +11,8 @@ module Zavudev
|
|
|
11
11
|
T.any(Zavudev::MessageSendParams, Zavudev::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# Recipient phone number in E.164 format or
|
|
14
|
+
# Recipient phone number in E.164 format, email address, or numeric chat ID (for
|
|
15
|
+
# Telegram/Instagram).
|
|
15
16
|
sig { returns(String) }
|
|
16
17
|
attr_accessor :to
|
|
17
18
|
|
|
@@ -121,7 +122,8 @@ module Zavudev
|
|
|
121
122
|
).returns(T.attached_class)
|
|
122
123
|
end
|
|
123
124
|
def self.new(
|
|
124
|
-
# Recipient phone number in E.164 format or
|
|
125
|
+
# Recipient phone number in E.164 format, email address, or numeric chat ID (for
|
|
126
|
+
# Telegram/Instagram).
|
|
125
127
|
to:,
|
|
126
128
|
# Delivery channel. Use 'auto' for intelligent routing. If omitted with non-text
|
|
127
129
|
# messageType, WhatsApp is used. For email recipients, defaults to 'email'.
|
|
@@ -93,7 +93,8 @@ module Zavudev
|
|
|
93
93
|
).returns(Zavudev::MessageResponse)
|
|
94
94
|
end
|
|
95
95
|
def send_(
|
|
96
|
-
# Body param: Recipient phone number in E.164 format
|
|
96
|
+
# Body param: Recipient phone number in E.164 format, email address, or numeric
|
|
97
|
+
# chat ID (for Telegram/Instagram).
|
|
97
98
|
to:,
|
|
98
99
|
# Body param: Delivery channel. Use 'auto' for intelligent routing. If omitted
|
|
99
100
|
# with non-text messageType, WhatsApp is used. For email recipients, defaults to
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zavudev
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zavudev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|