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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74e75fcd7ef82ab7bf6ba02da68a175e7345fb55d8d2cb5921f34990d0a9d4f9
4
- data.tar.gz: '08f6d5cef5a92586543490fbc26c0954c716a47a0b363cdd77c30b53f4aaf800'
3
+ metadata.gz: f58bd6f7a713426a74eb89e6393bcd5b678d02abc6e29cc5e9e8286a1bc6366b
4
+ data.tar.gz: 36b34dfc45e5f65e74f24f14d74c54833a55ef11f8339396c3af7e0277db8b7b
5
5
  SHA512:
6
- metadata.gz: 238c07a9e0f23466337769097f3d426b24c8b050acaf95984ca86cf905c30f7b121d762510ec0d441977c71435829b8ead29a5d0f7ccd99af125cc514b5ea4d1
7
- data.tar.gz: a31fd505377fc32c91a49cc0dbdd873b9cb6fcb113d795e6bb97ceff4faa2f883d7f7a299d2129009a596792d77c009075a3c20649da13ffa290eba51773cd32
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 |
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Vatio
4
4
  module Identity
5
- VERSION = "0.7.0"
5
+ VERSION = "0.7.1"
6
6
  end
7
7
  end
@@ -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,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vatio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Urcalab