late-sdk 0.0.686 → 0.0.687
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/docs/MessagesApi.md +2 -2
- data/docs/WebhookEventsApi.md +1 -1
- data/lib/zernio-sdk/api/messages_api.rb +4 -4
- data/lib/zernio-sdk/api/webhook_events_api.rb +2 -2
- data/lib/zernio-sdk/models/webhook_payload_reaction.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_reaction_reaction_sender.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +16 -8
- data/spec/api/messages_api_spec.rb +2 -2
- data/zernio-sdk-0.0.687.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.686.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b5d60d2c910e77cb19e82c172c9fc21bafee71e7f6268c41550ee778980d58f
|
|
4
|
+
data.tar.gz: 848a89b56eb0d9a62a427eedd2891c728f73082334e94640c4fc25035219aae6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57e06d7b96abc064adc8a77de7563e199bbda2702c9f773a2cdfa2a49e32abdb55277a3ad7ea1d573d039fe818b67f52cdd656966c563dd9eb579e2cb62d3222
|
|
7
|
+
data.tar.gz: d1a77a5c346a727af127194277f1585636def8a4c30f4d3bbf1aba82162b2a639af547850475543c9aa702c143bf8637a0d3b495e4a26978c8ee662a4b7f0154
|
data/docs/MessagesApi.md
CHANGED
|
@@ -26,7 +26,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
26
26
|
|
|
27
27
|
Add reaction
|
|
28
28
|
|
|
29
|
-
Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - All others: Returns 400 (not supported)
|
|
29
|
+
Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - Instagram and Facebook Messenger: Any standard emoji, subject to Meta's 24h messaging window - Slack: The emoji must have a Slack name (e.g. `:thumbsup:`); unnamed characters return 400 - All others: Returns 400 (not supported)
|
|
30
30
|
|
|
31
31
|
### Examples
|
|
32
32
|
|
|
@@ -618,7 +618,7 @@ end
|
|
|
618
618
|
|
|
619
619
|
Remove reaction
|
|
620
620
|
|
|
621
|
-
Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - All others: Returns 400 (not supported)
|
|
621
|
+
Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - Instagram and Facebook Messenger: Sends Meta's `unreact` action; the emoji does not need to be repeated - Slack: Removes the reaction we previously sent on that message - All others: Returns 400 (not supported)
|
|
622
622
|
|
|
623
623
|
### Examples
|
|
624
624
|
|
data/docs/WebhookEventsApi.md
CHANGED
|
@@ -2167,7 +2167,7 @@ nil (empty response body)
|
|
|
2167
2167
|
|
|
2168
2168
|
Reaction received event
|
|
2169
2169
|
|
|
2170
|
-
Fired when a participant adds or removes an emoji reaction on a message. Supported on WhatsApp and
|
|
2170
|
+
Fired when a participant adds or removes an emoji reaction on a message. Supported on WhatsApp, Telegram, Slack, Instagram and Facebook Messenger. Distinct from message.received so a reaction (e.g. a thumbs-up) is not mistaken for an inbound message. The `reaction.action` field is `added` or `removed`. On WhatsApp and Meta removals the platform does not report which emoji was removed, so `reaction.emoji` may be an empty string. Instagram and Facebook accounts connected before reactions shipped only emit this event after their webhook subscription is refreshed; reconnect the account if reactions never arrive. Requires the Inbox add-on.
|
|
2171
2171
|
|
|
2172
2172
|
### Examples
|
|
2173
2173
|
|
|
@@ -20,7 +20,7 @@ module Zernio
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Add reaction
|
|
23
|
-
# Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - All others: Returns 400 (not supported)
|
|
23
|
+
# Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - Instagram and Facebook Messenger: Any standard emoji, subject to Meta's 24h messaging window - Slack: The emoji must have a Slack name (e.g. `:thumbsup:`); unnamed characters return 400 - All others: Returns 400 (not supported)
|
|
24
24
|
# @param conversation_id [String] The conversation ID
|
|
25
25
|
# @param message_id [String] The platform message ID to react to
|
|
26
26
|
# @param add_message_reaction_request [AddMessageReactionRequest]
|
|
@@ -32,7 +32,7 @@ module Zernio
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
# Add reaction
|
|
35
|
-
# Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - All others: Returns 400 (not supported)
|
|
35
|
+
# Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - Instagram and Facebook Messenger: Any standard emoji, subject to Meta's 24h messaging window - Slack: The emoji must have a Slack name (e.g. `:thumbsup:`); unnamed characters return 400 - All others: Returns 400 (not supported)
|
|
36
36
|
# @param conversation_id [String] The conversation ID
|
|
37
37
|
# @param message_id [String] The platform message ID to react to
|
|
38
38
|
# @param add_message_reaction_request [AddMessageReactionRequest]
|
|
@@ -657,7 +657,7 @@ module Zernio
|
|
|
657
657
|
end
|
|
658
658
|
|
|
659
659
|
# Remove reaction
|
|
660
|
-
# Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - All others: Returns 400 (not supported)
|
|
660
|
+
# Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - Instagram and Facebook Messenger: Sends Meta's `unreact` action; the emoji does not need to be repeated - Slack: Removes the reaction we previously sent on that message - All others: Returns 400 (not supported)
|
|
661
661
|
# @param conversation_id [String] The conversation ID
|
|
662
662
|
# @param message_id [String] The platform message ID
|
|
663
663
|
# @param account_id [String] Social account ID
|
|
@@ -669,7 +669,7 @@ module Zernio
|
|
|
669
669
|
end
|
|
670
670
|
|
|
671
671
|
# Remove reaction
|
|
672
|
-
# Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - All others: Returns 400 (not supported)
|
|
672
|
+
# Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - Instagram and Facebook Messenger: Sends Meta's `unreact` action; the emoji does not need to be repeated - Slack: Removes the reaction we previously sent on that message - All others: Returns 400 (not supported)
|
|
673
673
|
# @param conversation_id [String] The conversation ID
|
|
674
674
|
# @param message_id [String] The platform message ID
|
|
675
675
|
# @param account_id [String] Social account ID
|
|
@@ -2066,7 +2066,7 @@ module Zernio
|
|
|
2066
2066
|
end
|
|
2067
2067
|
|
|
2068
2068
|
# Reaction received event
|
|
2069
|
-
# Fired when a participant adds or removes an emoji reaction on a message. Supported on WhatsApp and
|
|
2069
|
+
# Fired when a participant adds or removes an emoji reaction on a message. Supported on WhatsApp, Telegram, Slack, Instagram and Facebook Messenger. Distinct from message.received so a reaction (e.g. a thumbs-up) is not mistaken for an inbound message. The `reaction.action` field is `added` or `removed`. On WhatsApp and Meta removals the platform does not report which emoji was removed, so `reaction.emoji` may be an empty string. Instagram and Facebook accounts connected before reactions shipped only emit this event after their webhook subscription is refreshed; reconnect the account if reactions never arrive. Requires the Inbox add-on.
|
|
2070
2070
|
# @param webhook_payload_reaction [WebhookPayloadReaction]
|
|
2071
2071
|
# @param [Hash] opts the optional parameters
|
|
2072
2072
|
# @return [nil]
|
|
@@ -2076,7 +2076,7 @@ module Zernio
|
|
|
2076
2076
|
end
|
|
2077
2077
|
|
|
2078
2078
|
# Reaction received event
|
|
2079
|
-
# Fired when a participant adds or removes an emoji reaction on a message. Supported on WhatsApp and
|
|
2079
|
+
# Fired when a participant adds or removes an emoji reaction on a message. Supported on WhatsApp, Telegram, Slack, Instagram and Facebook Messenger. Distinct from message.received so a reaction (e.g. a thumbs-up) is not mistaken for an inbound message. The `reaction.action` field is `added` or `removed`. On WhatsApp and Meta removals the platform does not report which emoji was removed, so `reaction.emoji` may be an empty string. Instagram and Facebook accounts connected before reactions shipped only emit this event after their webhook subscription is refreshed; reconnect the account if reactions never arrive. Requires the Inbox add-on.
|
|
2080
2080
|
# @param webhook_payload_reaction [WebhookPayloadReaction]
|
|
2081
2081
|
# @param [Hash] opts the optional parameters
|
|
2082
2082
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Zernio
|
|
17
|
-
# Webhook payload for reaction received events (WhatsApp, Telegram)
|
|
17
|
+
# Webhook payload for reaction received events (WhatsApp, Telegram, Slack, Instagram, Facebook Messenger)
|
|
18
18
|
class WebhookPayloadReaction < ApiModelBase
|
|
19
19
|
# Stable webhook event ID
|
|
20
20
|
attr_accessor :id
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Zernio
|
|
17
|
-
#
|
|
17
|
+
# Whoever added or removed the reaction. Usually the participant, but on Slack, Instagram and Facebook Messenger it is the business own platform id when the reaction was made from the native app: compare it with conversation.participantId.
|
|
18
18
|
class WebhookPayloadReactionReactionSender < ApiModelBase
|
|
19
19
|
attr_accessor :id
|
|
20
20
|
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -158,7 +158,7 @@ x-documentation:
|
|
|
158
158
|
- `message.delivered` - An outgoing message was delivered (WhatsApp, Messenger)
|
|
159
159
|
- `message.read` - An outgoing message was read by the recipient (WhatsApp, Messenger, Instagram)
|
|
160
160
|
- `message.failed` - An outgoing message failed delivery (WhatsApp)
|
|
161
|
-
- `reaction.received` - A participant added or removed an emoji reaction on a message (WhatsApp, Telegram)
|
|
161
|
+
- `reaction.received` - A participant added or removed an emoji reaction on a message (WhatsApp, Telegram, Slack, Instagram, Facebook Messenger)
|
|
162
162
|
- `comment.received` - New comment received on a post
|
|
163
163
|
- `review.new` - New review posted on a connected account (Google Business Profile)
|
|
164
164
|
- `review.updated` - Review updated or reply added (Google Business Profile, or via reply API)
|
|
@@ -3211,7 +3211,7 @@ components:
|
|
|
3211
3211
|
# ────────────────────────────────────────────────────────────────────────
|
|
3212
3212
|
WebhookPayloadReaction:
|
|
3213
3213
|
type: object
|
|
3214
|
-
description: Webhook payload for reaction received events (WhatsApp, Telegram)
|
|
3214
|
+
description: 'Webhook payload for reaction received events (WhatsApp, Telegram, Slack, Instagram, Facebook Messenger)'
|
|
3215
3215
|
required: [id, event, reaction, conversation, account, timestamp]
|
|
3216
3216
|
properties:
|
|
3217
3217
|
id:
|
|
@@ -3241,7 +3241,7 @@ components:
|
|
|
3241
3241
|
sender:
|
|
3242
3242
|
type: object
|
|
3243
3243
|
required: [id]
|
|
3244
|
-
description:
|
|
3244
|
+
description: 'Whoever added or removed the reaction. Usually the participant, but on Slack, Instagram and Facebook Messenger it is the business own platform id when the reaction was made from the native app: compare it with conversation.participantId.'
|
|
3245
3245
|
properties:
|
|
3246
3246
|
id:
|
|
3247
3247
|
type: string
|
|
@@ -8317,11 +8317,15 @@ webhooks:
|
|
|
8317
8317
|
summary: Reaction received event
|
|
8318
8318
|
description: |
|
|
8319
8319
|
Fired when a participant adds or removes an emoji reaction on a message.
|
|
8320
|
-
Supported on WhatsApp
|
|
8321
|
-
reaction (e.g. a thumbs-up) is not
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8320
|
+
Supported on WhatsApp, Telegram, Slack, Instagram and Facebook Messenger.
|
|
8321
|
+
Distinct from message.received so a reaction (e.g. a thumbs-up) is not
|
|
8322
|
+
mistaken for an inbound message.
|
|
8323
|
+
The `reaction.action` field is `added` or `removed`. On WhatsApp and Meta
|
|
8324
|
+
removals the platform does not report which emoji was removed, so
|
|
8325
|
+
`reaction.emoji` may be an empty string.
|
|
8326
|
+
Instagram and Facebook accounts connected before reactions shipped only
|
|
8327
|
+
emit this event after their webhook subscription is refreshed; reconnect
|
|
8328
|
+
the account if reactions never arrive. Requires the Inbox add-on.
|
|
8325
8329
|
tags: [Webhook Events]
|
|
8326
8330
|
requestBody:
|
|
8327
8331
|
required: true
|
|
@@ -25078,6 +25082,8 @@ paths:
|
|
|
25078
25082
|
Add an emoji reaction to a message. Platform support:
|
|
25079
25083
|
- Telegram: Supports a subset of Unicode emoji reactions
|
|
25080
25084
|
- WhatsApp: Supports any standard emoji (one reaction per message per sender)
|
|
25085
|
+
- Instagram and Facebook Messenger: Any standard emoji, subject to Meta's 24h messaging window
|
|
25086
|
+
- Slack: The emoji must have a Slack name (e.g. `:thumbsup:`); unnamed characters return 400
|
|
25081
25087
|
- All others: Returns 400 (not supported)
|
|
25082
25088
|
tags: [Messages]
|
|
25083
25089
|
security: [{ bearerAuth: [] }]
|
|
@@ -25126,6 +25132,8 @@ paths:
|
|
|
25126
25132
|
Remove a reaction from a message. Platform support:
|
|
25127
25133
|
- Telegram: Send empty reaction array to clear
|
|
25128
25134
|
- WhatsApp: Send empty emoji to remove
|
|
25135
|
+
- Instagram and Facebook Messenger: Sends Meta's `unreact` action; the emoji does not need to be repeated
|
|
25136
|
+
- Slack: Removes the reaction we previously sent on that message
|
|
25129
25137
|
- All others: Returns 400 (not supported)
|
|
25130
25138
|
tags: [Messages]
|
|
25131
25139
|
security: [{ bearerAuth: [] }]
|
|
@@ -34,7 +34,7 @@ describe 'MessagesApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for add_message_reaction
|
|
36
36
|
# Add reaction
|
|
37
|
-
# Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - All others: Returns 400 (not supported)
|
|
37
|
+
# Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - Instagram and Facebook Messenger: Any standard emoji, subject to Meta's 24h messaging window - Slack: The emoji must have a Slack name (e.g. `:thumbsup:`); unnamed characters return 400 - All others: Returns 400 (not supported)
|
|
38
38
|
# @param conversation_id The conversation ID
|
|
39
39
|
# @param message_id The platform message ID to react to
|
|
40
40
|
# @param add_message_reaction_request
|
|
@@ -148,7 +148,7 @@ describe 'MessagesApi' do
|
|
|
148
148
|
|
|
149
149
|
# unit tests for remove_message_reaction
|
|
150
150
|
# Remove reaction
|
|
151
|
-
# Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - All others: Returns 400 (not supported)
|
|
151
|
+
# Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - Instagram and Facebook Messenger: Sends Meta's `unreact` action; the emoji does not need to be repeated - Slack: Removes the reaction we previously sent on that message - All others: Returns 400 (not supported)
|
|
152
152
|
# @param conversation_id The conversation ID
|
|
153
153
|
# @param message_id The platform message ID
|
|
154
154
|
# @param account_id Social account ID
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.687
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -5009,7 +5009,7 @@ files:
|
|
|
5009
5009
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5010
5010
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5011
5011
|
- spec/spec_helper.rb
|
|
5012
|
-
- zernio-sdk-0.0.
|
|
5012
|
+
- zernio-sdk-0.0.687.gem
|
|
5013
5013
|
- zernio-sdk.gemspec
|
|
5014
5014
|
homepage: https://openapi-generator.tech
|
|
5015
5015
|
licenses:
|
data/zernio-sdk-0.0.686.gem
DELETED
|
Binary file
|