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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4f22a8096310e1cc8f40bb4e8c383ec0e349773ef668159de65699f0542512d
4
- data.tar.gz: 2772a4785d3e100f8a3b370f7bcdd12b7accbae51ab231e3c9ed16b86883b56c
3
+ metadata.gz: 0b5d60d2c910e77cb19e82c172c9fc21bafee71e7f6268c41550ee778980d58f
4
+ data.tar.gz: 848a89b56eb0d9a62a427eedd2891c728f73082334e94640c4fc25035219aae6
5
5
  SHA512:
6
- metadata.gz: e52482d8cb3484b6e2339788b85e51455ba117ecb6ce0a0fddb14afbf093a6268da890b8cd6d2bcd09cb2d26368762a0184758e98977a66f04e5824bff650c0f
7
- data.tar.gz: 7ab9db137b6dc2e723e48f102315dcc7fe7eb869d63e8dfbe11cc9efc89150e3fb5ffe2db35c97f7ace0679d20e31ea512aad814f280bc1895b202ef785981c9
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
 
@@ -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 Telegram. 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 removals the platform does not report which emoji was removed, so `reaction.emoji` may be an empty string. Requires the Inbox add-on.
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 Telegram. 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 removals the platform does not report which emoji was removed, so `reaction.emoji` may be an empty string. Requires the Inbox add-on.
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 Telegram. 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 removals the platform does not report which emoji was removed, so `reaction.emoji` may be an empty string. Requires the Inbox add-on.
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
- # The participant who added or removed the reaction.
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
 
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.686'
14
+ VERSION = '0.0.687'
15
15
  end
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: The participant who added or removed the reaction.
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 and Telegram. Distinct from message.received so a
8321
- reaction (e.g. a thumbs-up) is not mistaken for an inbound message.
8322
- The `reaction.action` field is `added` or `removed`. On WhatsApp removals
8323
- the platform does not report which emoji was removed, so `reaction.emoji`
8324
- may be an empty string. Requires the Inbox add-on.
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&#39;s 24h messaging window - Slack: The emoji must have a Slack name (e.g. &#x60;:thumbsup:&#x60;); 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&#39;s &#x60;unreact&#x60; 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.686
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.686.gem
5012
+ - zernio-sdk-0.0.687.gem
5013
5013
  - zernio-sdk.gemspec
5014
5014
  homepage: https://openapi-generator.tech
5015
5015
  licenses:
Binary file