vatio-sdk 0.7.0 → 0.7.1
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/README.md +1 -1
- data/lib/vatio/identity/version.rb +1 -1
- data/lib/vatio/server/testing.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f58bd6f7a713426a74eb89e6393bcd5b678d02abc6e29cc5e9e8286a1bc6366b
|
|
4
|
+
data.tar.gz: 36b34dfc45e5f65e74f24f14d74c54833a55ef11f8339396c3af7e0277db8b7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 313a84c0a4b58cf9234f99acd6136bd7729bd2afc68a250341c63e63e5c9c85dcf5bd1712037763b6eaf1e3b34e468a67d3e5d36cc96430fb929e13382bdd784
|
|
7
|
+
data.tar.gz: 994c112d1aa656138ccd9b6855b52c45422610addaee8b1a2fe47e3bb97c1f10c295da6e396c4273e77851a4e4a4b1c9aa3e2b4630be1a90994296379ba49633
|
data/README.md
CHANGED
|
@@ -295,7 +295,7 @@ end
|
|
|
295
295
|
| `TemplateError` | `template_not_found` (often created in Meta a minute ago: Vatio is syncing, retry shortly), `template_not_approved`, `template_params`, `template_required` |
|
|
296
296
|
| `InvalidRequest` | Any other 422: `invalid_recipient`, `content_required`, `invalid_identity`, `not_a_test_phone`… |
|
|
297
297
|
| `Unauthorized` | 401 / 403: the key is wrong, revoked, or another workspace's |
|
|
298
|
-
| `Conflict` | Any other 409: `idempotency_conflict` (`details["message_id"]`), `identity_conflict`, `whatsapp_not_connected`, `whatsapp_paused` |
|
|
298
|
+
| `Conflict` | Any other 409: `idempotency_conflict` (`details["message_id"]`), `identity_conflict`, `whatsapp_not_connected`, `whatsapp_paused`, `whatsapp_number_unhealthy` (Meta refuses every send from the number; `details["issue"]` says why and the fix) |
|
|
299
299
|
| `NotFound` | `message_status` with an id this key cannot see |
|
|
300
300
|
| `RateLimited` | 429, more than 60 a minute on one key |
|
|
301
301
|
| `Unavailable` | 5xx, timeouts, refused connections |
|
data/lib/vatio/server/testing.rb
CHANGED
|
@@ -47,6 +47,7 @@ module Vatio
|
|
|
47
47
|
"template_params" => 422, "content_required" => 422, "brief_too_long" => 422, "text_too_long" => 422,
|
|
48
48
|
"invalid_recipient" => 422, "not_a_test_phone" => 422, "identity_not_configured" => 422,
|
|
49
49
|
"invalid_identity" => 422, "whatsapp_not_connected" => 409, "whatsapp_paused" => 409,
|
|
50
|
+
"whatsapp_number_unhealthy" => 409,
|
|
50
51
|
"idempotency_conflict" => 409, "identity_conflict" => 409, "invalid_key" => 401,
|
|
51
52
|
"workspace_forbidden" => 403, "not_found" => 404, "rate_limited" => 429, "unavailable" => 503,
|
|
52
53
|
"instagram_not_connected" => 409, "unknown_recipient" => 422, "templates_not_supported" => 422,
|