telerivet 1.8.1 → 1.8.2
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/lib/telerivet/broadcast.rb +10 -0
- data/lib/telerivet/message.rb +9 -0
- data/lib/telerivet/project.rb +8 -0
- data/lib/telerivet.rb +1 -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: 1fdf6a88c994651145843d843db2ed193cd928ce09331876301801590c5da8e9
|
|
4
|
+
data.tar.gz: 701d1a9aa6df996e5076f047751e23a9298ee224184de98122ed536f36b7ac44
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d6613041c5b320de88ca832f34449bdd0192e2bae6cae6038701e57f0ac7d9537ca999a1c9eeb440462b97dfa5137c23a4bf2e6abfbb7d82221d2a28169158a
|
|
7
|
+
data.tar.gz: bfb351a5d130cb503cd259713670c7c0f6323558fe6f2246d1f83abc27a503c3c55133da04a5f50832736f22e33f31e77dfe0f089ebaa21183eb8626aadd2ac8
|
data/lib/telerivet/broadcast.rb
CHANGED
|
@@ -73,6 +73,12 @@ module Telerivet
|
|
|
73
73
|
# numbers, or if the group membership changed while the broadcast was being sent.
|
|
74
74
|
# * Read-only
|
|
75
75
|
#
|
|
76
|
+
# - num_parts (number)
|
|
77
|
+
# * The total number of SMS parts that have been sent in this broadcast. The number of
|
|
78
|
+
# SMS parts does not include messages that are still queued, or messages that failed to
|
|
79
|
+
# send.
|
|
80
|
+
# * Read-only
|
|
81
|
+
#
|
|
76
82
|
# - message_type
|
|
77
83
|
# * Type of message sent from this broadcast
|
|
78
84
|
# * Allowed values: sms, mms, ussd, ussd_session, call, chat, service
|
|
@@ -245,6 +251,10 @@ class Broadcast < Entity
|
|
|
245
251
|
get('estimated_count')
|
|
246
252
|
end
|
|
247
253
|
|
|
254
|
+
def num_parts
|
|
255
|
+
get('num_parts')
|
|
256
|
+
end
|
|
257
|
+
|
|
248
258
|
def message_type
|
|
249
259
|
get('message_type')
|
|
250
260
|
end
|
data/lib/telerivet/message.rb
CHANGED
|
@@ -95,6 +95,11 @@ module Telerivet
|
|
|
95
95
|
# priority numbers first. Only defined for outgoing messages.
|
|
96
96
|
# * Read-only
|
|
97
97
|
#
|
|
98
|
+
# - send_attempts (number)
|
|
99
|
+
# * The number of times Telerivet has attempted to send the message. Will be greater
|
|
100
|
+
# than 1 if the message has been resent. Only defined for outgoing messages.
|
|
101
|
+
# * Read-only
|
|
102
|
+
#
|
|
98
103
|
# - error_message
|
|
99
104
|
# * A description of the error encountered while sending a message. (This field is
|
|
100
105
|
# omitted from the API response if there is no error message.)
|
|
@@ -417,6 +422,10 @@ class Message < Entity
|
|
|
417
422
|
get('priority')
|
|
418
423
|
end
|
|
419
424
|
|
|
425
|
+
def send_attempts
|
|
426
|
+
get('send_attempts')
|
|
427
|
+
end
|
|
428
|
+
|
|
420
429
|
def error_message
|
|
421
430
|
get('error_message')
|
|
422
431
|
end
|
data/lib/telerivet/project.rb
CHANGED
|
@@ -2091,6 +2091,7 @@ class Project < Entity
|
|
|
2091
2091
|
# API:
|
|
2092
2092
|
#
|
|
2093
2093
|
# - incoming_message_webhook
|
|
2094
|
+
# - messaging_poll
|
|
2094
2095
|
# - incoming_message_script
|
|
2095
2096
|
# - contact_script
|
|
2096
2097
|
# - message_script
|
|
@@ -2139,6 +2140,13 @@ class Project < Entity
|
|
|
2139
2140
|
# </td></tr>
|
|
2140
2141
|
# </table>
|
|
2141
2142
|
# <br />
|
|
2143
|
+
#
|
|
2144
|
+
# **messaging_poll**:
|
|
2145
|
+
# <br />
|
|
2146
|
+
# The configuration parameters for poll services are
|
|
2147
|
+
# not yet documented, but can be determined by creating a poll via the web app and
|
|
2148
|
+
# then retrieving the configuration via [service.getConfig](#Service.getConfig).
|
|
2149
|
+
# <br />
|
|
2142
2150
|
# * Required
|
|
2143
2151
|
#
|
|
2144
2152
|
# - vars
|
data/lib/telerivet.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telerivet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jesse Young
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Ruby client library for Telerivet REST API
|
|
14
14
|
email: support@telerivet.com
|