nexmo_api_specification 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nexmo_api_specification/version.rb +1 -1
- data/sms.yml +23 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 998118d4edfe6bc4333e601ae6817f211aa3d468
|
4
|
+
data.tar.gz: 1dea1895a92140ecfda81a4299cdd09f8c3ac8e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8ca1f829bb366739d0baee6828875b2a9dc5af9829fde4be2390a88605783aaccbb766d1ffe3a2cbe0491058e3ffbe4b20b44362f838fe167d67f4d3fbbd48d
|
7
|
+
data.tar.gz: 88200a0dadb3b2af4476731394d11247af592e8901f196b4b9de2f0f1422f1944e395c9a96cb3da875c1027deb2531e744ec3b965a10fbe8685cfa453d82a413
|
data/sms.yml
CHANGED
@@ -270,7 +270,29 @@ components:
|
|
270
270
|
example: 2001011400
|
271
271
|
err-code:
|
272
272
|
type: string
|
273
|
-
description:
|
273
|
+
description: |
|
274
|
+
The status of the request. Will be a non `0` value if there has been an error.
|
275
|
+
|
276
|
+
Code | Description
|
277
|
+
-- | --
|
278
|
+
`0` | Delivered.
|
279
|
+
`1` | ^[Unknown](Either: An unknown error was received from the carrier who tried to send this this message. Depending on the carrier, that to is unknown. When you see this error, and status is rejected, always check if to in your request was valid.)
|
280
|
+
`2` | ^[Absent Subscriber Temporary](This message was not delivered because to was temporarily unavailable. For example, the handset used for to was out of coverage or switched off. This is a temporary failure, retry later for a positive result.)
|
281
|
+
`3` | ^[Absent Subscriber Permanent](To is no longer active, you should remove this phone number from your database.)
|
282
|
+
`4` | ^[Call barred by user](You should remove this phone number from your database. If the user wants to receive messages from you, they need to contact their carrier directly.)
|
283
|
+
`5` | ^[Portability Error](There is an issue after the user has changed carrier for to. If the user wants to receive messages from you, they need to contact their carrier directly.)
|
284
|
+
`6` | ^[Anti-Spam Rejection](Carriers often apply restrictions that block messages following different criteria. For example, on SenderID or message content.)
|
285
|
+
`7` | ^[Handset Busy](The handset associated with to was not available when this message was sent. If status is Failed, this is a temporary failure; retry later for a positive result. If status is Accepted, this message has is in the retry scheme and will be resent until it expires in 24-48 hours.)
|
286
|
+
`8` | ^[Network Error](A network failure while sending your message. This is a temporary failure, retry later for a positive result.)
|
287
|
+
`9` | ^[Illegal Number](You tried to send a message to a blacklisted phone number. That is, the user has already sent a STOP opt-out message and no longer wishes to receive messages from you.)
|
288
|
+
`10` | ^[Invalid Message](The message could not be sent because one of the parameters in the message was incorrect. For example, incorrect type or udh.)
|
289
|
+
`11` | ^[Unroutable](The chosen route to send your message is not available. This is because the phone number is either currently on an unsupported network or on a pre-paid or reseller account that could not receive a message sent by from. To resolve this issue either email us at support@nexmo.com or create a helpdesk ticket at https://help.nexmo.com.)
|
290
|
+
`12` | ^[Destination unreachable](The message could not be delivered to the phone number.)
|
291
|
+
`13` | ^[Subscriber Age Restriction](The carrier blocked this message because the content is not suitable for to based on age restrictions.)
|
292
|
+
`14` | ^[Number Blocked by Carrier](The carrier blocked this message. This could be due to several reasons. For example, to's plan does not include SMS or the account is suspended.)
|
293
|
+
`15` | ^[Pre-Paid](Insufficent funds. To’s pre-paid account does not have enough credit to receive the message.)
|
294
|
+
`99` | ^[General Error](There is a problem with the chosen route to send your message. To resolve this issue either email us at support@nexmo.com or create a helpdesk ticket at https://help.nexmo.com.)
|
295
|
+
|
274
296
|
example: '0'
|
275
297
|
message-timestamp:
|
276
298
|
description: The time when Nexmo started to push this Delivery Receipt to your webhook endpoint.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexmo_api_specification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Butler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|