late-sdk 0.0.922 → 0.0.923
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/WebhookEventsApi.md +1 -1
- data/lib/zernio-sdk/api/webhook_events_api.rb +2 -2
- data/lib/zernio-sdk/models/webhook_payload_comment.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_comment_comment.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +10 -4
- data/spec/models/webhook_payload_comment_comment_spec.rb +1 -1
- data/zernio-sdk-0.0.923.gem +0 -0
- metadata +3 -3
- data/zernio-sdk-0.0.922.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: 84ca985c33672ca31ed53268783e2fe5726bec669ec428ea2a33e00238525173
|
|
4
|
+
data.tar.gz: f8792a41b03045065a41c19d1facd8f0a3ad66ee7c3bed0d04a6656229562f8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e33e079d1b1ce18459e65fba81c281a05e7a85dcb3659034e3f170c018d855df76320b0109585a4176c2a1073d2af7c952abd4f4bbbdeb2da3b6a722adc29e9b
|
|
7
|
+
data.tar.gz: a4309199105618179aeb56a8b7f608200de640ca9b27a7ea6ddd20d05998273f7b62d5ff2d39ae9a8f56db23f7dabe57daf0c30efb829dba1cda198caef15162
|
data/docs/WebhookEventsApi.md
CHANGED
|
@@ -677,7 +677,7 @@ nil (empty response body)
|
|
|
677
677
|
|
|
678
678
|
Comment received event
|
|
679
679
|
|
|
680
|
-
Fired when a new comment is received on a tracked post.
|
|
680
|
+
Fired when a new comment is received on a tracked post. Delivered for Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit and TikTok. X/Twitter does NOT fire this event. Instagram, Facebook and TikTok arrive in real time from the platform's own webhook; the rest are poll-driven, so delivery is not instant. TikTok needs an account connected through the TikTok for Business app.
|
|
681
681
|
|
|
682
682
|
### Examples
|
|
683
683
|
|
|
@@ -614,7 +614,7 @@ module Zernio
|
|
|
614
614
|
end
|
|
615
615
|
|
|
616
616
|
# Comment received event
|
|
617
|
-
# Fired when a new comment is received on a tracked post.
|
|
617
|
+
# Fired when a new comment is received on a tracked post. Delivered for Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit and TikTok. X/Twitter does NOT fire this event. Instagram, Facebook and TikTok arrive in real time from the platform's own webhook; the rest are poll-driven, so delivery is not instant. TikTok needs an account connected through the TikTok for Business app.
|
|
618
618
|
# @param webhook_payload_comment [WebhookPayloadComment]
|
|
619
619
|
# @param [Hash] opts the optional parameters
|
|
620
620
|
# @return [nil]
|
|
@@ -624,7 +624,7 @@ module Zernio
|
|
|
624
624
|
end
|
|
625
625
|
|
|
626
626
|
# Comment received event
|
|
627
|
-
# Fired when a new comment is received on a tracked post.
|
|
627
|
+
# Fired when a new comment is received on a tracked post. Delivered for Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit and TikTok. X/Twitter does NOT fire this event. Instagram, Facebook and TikTok arrive in real time from the platform's own webhook; the rest are poll-driven, so delivery is not instant. TikTok needs an account connected through the TikTok for Business app.
|
|
628
628
|
# @param webhook_payload_comment [WebhookPayloadComment]
|
|
629
629
|
# @param [Hash] opts the optional parameters
|
|
630
630
|
# @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 comment received events (Instagram, Facebook,
|
|
17
|
+
# Webhook payload for comment received events (Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit, TikTok). X/Twitter does NOT fire this event. TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.
|
|
18
18
|
class WebhookPayloadComment < ApiModelBase
|
|
19
19
|
# Stable webhook event ID
|
|
20
20
|
attr_accessor :id
|
|
@@ -239,7 +239,7 @@ module Zernio
|
|
|
239
239
|
return false if @id.nil?
|
|
240
240
|
return false if @platform_post_id.nil?
|
|
241
241
|
return false if @platform.nil?
|
|
242
|
-
platform_validator = EnumAttributeValidator.new('String', ["instagram", "facebook", "
|
|
242
|
+
platform_validator = EnumAttributeValidator.new('String', ["instagram", "facebook", "threads", "youtube", "linkedin", "bluesky", "reddit", "tiktok"])
|
|
243
243
|
return false unless platform_validator.valid?(@platform)
|
|
244
244
|
return false if @text.nil?
|
|
245
245
|
return false if @author.nil?
|
|
@@ -271,7 +271,7 @@ module Zernio
|
|
|
271
271
|
# Custom attribute writer method checking allowed values (enum).
|
|
272
272
|
# @param [Object] platform Object to be assigned
|
|
273
273
|
def platform=(platform)
|
|
274
|
-
validator = EnumAttributeValidator.new('String', ["instagram", "facebook", "
|
|
274
|
+
validator = EnumAttributeValidator.new('String', ["instagram", "facebook", "threads", "youtube", "linkedin", "bluesky", "reddit", "tiktok"])
|
|
275
275
|
unless validator.valid?(platform)
|
|
276
276
|
fail ArgumentError, "invalid value for \"platform\", must be one of #{validator.allowable_values}."
|
|
277
277
|
end
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -175,7 +175,7 @@ x-documentation:
|
|
|
175
175
|
- `message.failed` - An outgoing message failed delivery (WhatsApp, SMS; on SMS the carrier's error code rides in `error`)
|
|
176
176
|
- `reaction.received` - A participant added or removed an emoji reaction on a message (WhatsApp, Telegram, Slack, Instagram, Facebook Messenger)
|
|
177
177
|
- `referral.received` - Someone opened an existing Instagram/Messenger thread through an ig.me/m.me `ref` link or a returning Messenger ad click; carries Meta's referral object (a referral that rides an inbound message arrives on `message.received` under `metadata.referral` instead)
|
|
178
|
-
- `comment.received` - New comment received on a post
|
|
178
|
+
- `comment.received` - New comment received on a post (Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit, TikTok). X/Twitter does NOT fire this event
|
|
179
179
|
- `review.new` - New review posted on a connected account (Google Business Profile)
|
|
180
180
|
- `review.updated` - A Google Business Profile reviewer edited their review text or rating, or a reply was posted through `POST /v1/inbox/reviews/{reviewId}/reply`. A reply written directly in Google's own interface does NOT fire this event, because Google emits no notification for it.
|
|
181
181
|
- `lead.received` - New lead submitted against a Meta Lead Gen (Instant) Form. `lead.fields` is the question-key → answer map; `lead.formId`/`lead.adId` give provenance.
|
|
@@ -3144,7 +3144,7 @@ components:
|
|
|
3144
3144
|
description: 'UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued).'
|
|
3145
3145
|
WebhookPayloadComment:
|
|
3146
3146
|
type: object
|
|
3147
|
-
description: 'Webhook payload for comment received events (Instagram, Facebook,
|
|
3147
|
+
description: 'Webhook payload for comment received events (Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit, TikTok). X/Twitter does NOT fire this event. TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.'
|
|
3148
3148
|
required: [id, event, comment, post, account, timestamp]
|
|
3149
3149
|
properties:
|
|
3150
3150
|
id:
|
|
@@ -3168,7 +3168,7 @@ components:
|
|
|
3168
3168
|
description: Platform's post ID
|
|
3169
3169
|
platform:
|
|
3170
3170
|
type: string
|
|
3171
|
-
enum: [instagram, facebook,
|
|
3171
|
+
enum: [instagram, facebook, threads, youtube, linkedin, bluesky, reddit, tiktok]
|
|
3172
3172
|
text:
|
|
3173
3173
|
type: string
|
|
3174
3174
|
description: Comment text content
|
|
@@ -11168,7 +11168,13 @@ webhooks:
|
|
|
11168
11168
|
post:
|
|
11169
11169
|
operationId: onCommentReceived
|
|
11170
11170
|
summary: Comment received event
|
|
11171
|
-
description:
|
|
11171
|
+
description: |
|
|
11172
|
+
Fired when a new comment is received on a tracked post. Delivered for
|
|
11173
|
+
Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit and
|
|
11174
|
+
TikTok. X/Twitter does NOT fire this event. Instagram, Facebook and
|
|
11175
|
+
TikTok arrive in real time from the platform's own webhook; the rest are
|
|
11176
|
+
poll-driven, so delivery is not instant. TikTok needs an account
|
|
11177
|
+
connected through the TikTok for Business app.
|
|
11172
11178
|
tags: [Webhook Events]
|
|
11173
11179
|
requestBody:
|
|
11174
11180
|
required: true
|
|
@@ -48,7 +48,7 @@ describe Zernio::WebhookPayloadCommentComment do
|
|
|
48
48
|
describe 'test attribute "platform"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instagram", "facebook", "
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instagram", "facebook", "threads", "youtube", "linkedin", "bluesky", "reddit", "tiktok"])
|
|
52
52
|
# validator.allowable_values.each do |value|
|
|
53
53
|
# expect { instance.platform = value }.not_to raise_error
|
|
54
54
|
# end
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.923
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -6355,7 +6355,7 @@ files:
|
|
|
6355
6355
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
6356
6356
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
6357
6357
|
- spec/spec_helper.rb
|
|
6358
|
-
- zernio-sdk-0.0.
|
|
6358
|
+
- zernio-sdk-0.0.923.gem
|
|
6359
6359
|
- zernio-sdk.gemspec
|
|
6360
6360
|
homepage: https://openapi-generator.tech
|
|
6361
6361
|
licenses:
|
data/zernio-sdk-0.0.922.gem
DELETED
|
Binary file
|