late-sdk 0.0.901 → 0.0.902
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 +2 -2
- data/lib/zernio-sdk/api/webhook_events_api.rb +4 -4
- data/lib/zernio-sdk/models/webhook_payload_post_platform.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +17 -9
- data/zernio-sdk-0.0.902.gem +0 -0
- metadata +3 -3
- data/zernio-sdk-0.0.901.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: c5d379a91345746ce9ab4bc3c22ecbbc977cc6e833cd8b9b7932c74e21f54fef
|
|
4
|
+
data.tar.gz: 0e55c12372464eb96a56137b75275a5220f33b844ec9669db8069288d8d97b22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca4314c5de5fc549276e59842073bf1ee88b8a2ba1c18131af016e2592476b52550ac95e6586bbc65e2ba9c6a339fbd82edd748185c60cf54d04f26fb5e99550
|
|
7
|
+
data.tar.gz: 3a5974028c63cb8ec3a1653c053bdbcfd843e2a9cee39601a807cb03150ebb3330ff7a19c03d7ee4c7b523f96814db91e11864a6e33a25a0a278008c73570c76
|
data/docs/WebhookEventsApi.md
CHANGED
|
@@ -1969,7 +1969,7 @@ nil (empty response body)
|
|
|
1969
1969
|
|
|
1970
1970
|
Post platform failed event
|
|
1971
1971
|
|
|
1972
|
-
Fired once per platform target inside a post as that platform fails permanently. Temporary/retryable failures do NOT fire this event, only permanent ones do, so retry loops stay quiet. The envelope event (`post.failed` / `post.partial`) fires separately AFTER all platforms have terminated.
|
|
1972
|
+
Fired once per platform target inside a post as that platform fails permanently. Temporary/retryable failures do NOT fire this event, only permanent ones do, so retry loops stay quiet. The envelope event (`post.failed` / `post.partial`) fires separately AFTER all platforms have terminated. Can also fire a second time for a target that already emitted `post.platform.published`, if background reconciliation later discovers the publish never actually completed.
|
|
1973
1973
|
|
|
1974
1974
|
### Examples
|
|
1975
1975
|
|
|
@@ -2037,7 +2037,7 @@ nil (empty response body)
|
|
|
2037
2037
|
|
|
2038
2038
|
Post platform published event
|
|
2039
2039
|
|
|
2040
|
-
Fired once per platform target inside a post as that platform finishes publishing successfully. Does NOT wait for the post-level rollup, so consumers building incremental UIs get notified immediately, even when other platforms on the same post are still processing. The envelope event (`post.published` / `post.partial`) fires separately AFTER all platforms have terminated.
|
|
2040
|
+
Fired once per platform target inside a post as that platform finishes publishing successfully. Does NOT wait for the post-level rollup, so consumers building incremental UIs get notified immediately, even when other platforms on the same post are still processing. The envelope event (`post.published` / `post.partial`) fires separately AFTER all platforms have terminated. A target that later fails background reconciliation (e.g. a Facebook video Meta accepted but never actually published) emits `post.platform.failed` for the same target afterward.
|
|
2041
2041
|
|
|
2042
2042
|
### Examples
|
|
2043
2043
|
|
|
@@ -1868,7 +1868,7 @@ module Zernio
|
|
|
1868
1868
|
end
|
|
1869
1869
|
|
|
1870
1870
|
# Post platform failed event
|
|
1871
|
-
# Fired once per platform target inside a post as that platform fails permanently. Temporary/retryable failures do NOT fire this event, only permanent ones do, so retry loops stay quiet. The envelope event (`post.failed` / `post.partial`) fires separately AFTER all platforms have terminated.
|
|
1871
|
+
# Fired once per platform target inside a post as that platform fails permanently. Temporary/retryable failures do NOT fire this event, only permanent ones do, so retry loops stay quiet. The envelope event (`post.failed` / `post.partial`) fires separately AFTER all platforms have terminated. Can also fire a second time for a target that already emitted `post.platform.published`, if background reconciliation later discovers the publish never actually completed.
|
|
1872
1872
|
# @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
|
|
1873
1873
|
# @param [Hash] opts the optional parameters
|
|
1874
1874
|
# @return [nil]
|
|
@@ -1878,7 +1878,7 @@ module Zernio
|
|
|
1878
1878
|
end
|
|
1879
1879
|
|
|
1880
1880
|
# Post platform failed event
|
|
1881
|
-
# Fired once per platform target inside a post as that platform fails permanently. Temporary/retryable failures do NOT fire this event, only permanent ones do, so retry loops stay quiet. The envelope event (`post.failed` / `post.partial`) fires separately AFTER all platforms have terminated.
|
|
1881
|
+
# Fired once per platform target inside a post as that platform fails permanently. Temporary/retryable failures do NOT fire this event, only permanent ones do, so retry loops stay quiet. The envelope event (`post.failed` / `post.partial`) fires separately AFTER all platforms have terminated. Can also fire a second time for a target that already emitted `post.platform.published`, if background reconciliation later discovers the publish never actually completed.
|
|
1882
1882
|
# @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
|
|
1883
1883
|
# @param [Hash] opts the optional parameters
|
|
1884
1884
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -1934,7 +1934,7 @@ module Zernio
|
|
|
1934
1934
|
end
|
|
1935
1935
|
|
|
1936
1936
|
# Post platform published event
|
|
1937
|
-
# Fired once per platform target inside a post as that platform finishes publishing successfully. Does NOT wait for the post-level rollup, so consumers building incremental UIs get notified immediately, even when other platforms on the same post are still processing. The envelope event (`post.published` / `post.partial`) fires separately AFTER all platforms have terminated.
|
|
1937
|
+
# Fired once per platform target inside a post as that platform finishes publishing successfully. Does NOT wait for the post-level rollup, so consumers building incremental UIs get notified immediately, even when other platforms on the same post are still processing. The envelope event (`post.published` / `post.partial`) fires separately AFTER all platforms have terminated. A target that later fails background reconciliation (e.g. a Facebook video Meta accepted but never actually published) emits `post.platform.failed` for the same target afterward.
|
|
1938
1938
|
# @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
|
|
1939
1939
|
# @param [Hash] opts the optional parameters
|
|
1940
1940
|
# @return [nil]
|
|
@@ -1944,7 +1944,7 @@ module Zernio
|
|
|
1944
1944
|
end
|
|
1945
1945
|
|
|
1946
1946
|
# Post platform published event
|
|
1947
|
-
# Fired once per platform target inside a post as that platform finishes publishing successfully. Does NOT wait for the post-level rollup, so consumers building incremental UIs get notified immediately, even when other platforms on the same post are still processing. The envelope event (`post.published` / `post.partial`) fires separately AFTER all platforms have terminated.
|
|
1947
|
+
# Fired once per platform target inside a post as that platform finishes publishing successfully. Does NOT wait for the post-level rollup, so consumers building incremental UIs get notified immediately, even when other platforms on the same post are still processing. The envelope event (`post.published` / `post.partial`) fires separately AFTER all platforms have terminated. A target that later fails background reconciliation (e.g. a Facebook video Meta accepted but never actually published) emits `post.platform.failed` for the same target afterward.
|
|
1948
1948
|
# @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
|
|
1949
1949
|
# @param [Hash] opts the optional parameters
|
|
1950
1950
|
# @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 the per-platform terminal events `post.platform.published` and `post.platform.failed`, for `post.platform.deleted` (same shape, fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform; poll-driven ~hourly, not real-time), and for `post.tiktok.url_resolved` (same shape, fired when a published TikTok post's public URL is backfilled). Terminal events fire once per platform target inside a post as that platform reaches a terminal state (published or permanent failure). The `post` envelope mirrors the shape of `WebhookPayloadPost` so consumers can reuse rendering logic; the `platform` block identifies which specific platform transitioned; the `account` block identifies the connected account behind that platform-write.
|
|
17
|
+
# Webhook payload for the per-platform terminal events `post.platform.published` and `post.platform.failed`, for `post.platform.deleted` (same shape, fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform; poll-driven ~hourly, not real-time), and for `post.tiktok.url_resolved` (same shape, fired when a published TikTok post's public URL is backfilled). Terminal events fire once per platform target inside a post as that platform reaches a terminal state (published or permanent failure), except that a target which later fails background reconciliation emits `post.platform.failed` a second time, after its own `post.platform.published`. The `post` envelope mirrors the shape of `WebhookPayloadPost` so consumers can reuse rendering logic; the `platform` block identifies which specific platform transitioned; the `account` block identifies the connected account behind that platform-write.
|
|
18
18
|
class WebhookPayloadPostPlatform < ApiModelBase
|
|
19
19
|
# Stable webhook event ID.
|
|
20
20
|
attr_accessor :id
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -148,13 +148,13 @@ x-documentation:
|
|
|
148
148
|
Receive real-time notifications for post status changes, account events, and incoming messages:
|
|
149
149
|
|
|
150
150
|
- `post.scheduled` - Post entered the scheduled state: created with a schedule, added to a queue, a draft promoted to scheduled or queued, a failed post retried, or a recycled clone created
|
|
151
|
-
- `post.published` - Post successfully published
|
|
152
|
-
- `post.failed` - Post failed on all platforms
|
|
153
|
-
- `post.partial` - Post published to some platforms, failed on others
|
|
151
|
+
- `post.published` - Post successfully published. If a platform target later fails background reconciliation, the post is re-rolled up and a `post.failed` or `post.partial` follows for the same post.
|
|
152
|
+
- `post.failed` - Post failed on all platforms. Can follow an earlier `post.published` for the same post when background reconciliation discovers the publish never actually completed.
|
|
153
|
+
- `post.partial` - Post published to some platforms, failed on others. Can follow an earlier `post.published` for the same post when background reconciliation discovers one target's publish never actually completed.
|
|
154
154
|
- `post.cancelled` - Post publishing was cancelled
|
|
155
155
|
- `post.recycled` - Post recycled (cloned and re-scheduled)
|
|
156
|
-
- `post.platform.published` - A single platform target inside a post finished publishing successfully. Fires once per platform-account as it terminates, without waiting for other platforms on the same post. Use this for incremental UIs; use `post.published` for the post-level rollup.
|
|
157
|
-
- `post.platform.failed` - A single platform target inside a post failed permanently. Temporary/retryable failures do NOT fire this event, only permanent ones, so retry loops stay quiet.
|
|
156
|
+
- `post.platform.published` - A single platform target inside a post finished publishing successfully. Fires once per platform-account as it terminates, without waiting for other platforms on the same post. Use this for incremental UIs; use `post.published` for the post-level rollup. A target that later fails background reconciliation (e.g. a Facebook video Meta accepted but never actually published) emits `post.platform.failed` afterward for the same target.
|
|
157
|
+
- `post.platform.failed` - A single platform target inside a post failed permanently. Temporary/retryable failures do NOT fire this event, only permanent ones, so retry loops stay quiet. Can fire after this same target already emitted `post.platform.published`, when background reconciliation later discovers the publish never actually completed on the platform's side.
|
|
158
158
|
- `post.platform.deleted` - A single platform target inside a post was detected as deleted on the platform after publishing (e.g. the user deleted the Instagram post natively). Detection is poll-driven via Zernio background sync (~hourly), not real-time. `platform.deletedAt` carries the detection time. Coverage is bounded to the posts the platform listing returns.
|
|
159
159
|
- `post.tiktok.url_resolved` - A published TikTok post's public URL became available. TikTok exposes the numeric video id asynchronously, so `post.published` / `post.platform.published` can carry an empty `publishedUrl` for TikTok; this event delivers the URL once resolved (at most once per platform target). Never fires for drafts or private posts, which have no public URL.
|
|
160
160
|
- `post.external.created` - A native post authored outside Zernio (e.g. a Google Business Profile localPost created in the Google UI) was detected by our sync for the first time. Poll-driven (~hourly), not real-time. Payload carries `post.source: "external"`.
|
|
@@ -2724,8 +2724,11 @@ components:
|
|
|
2724
2724
|
and for `post.tiktok.url_resolved` (same shape, fired when a
|
|
2725
2725
|
published TikTok post's public URL is backfilled). Terminal events
|
|
2726
2726
|
fire once per platform target inside a post as that platform
|
|
2727
|
-
reaches a terminal state (published or permanent failure)
|
|
2728
|
-
|
|
2727
|
+
reaches a terminal state (published or permanent failure), except
|
|
2728
|
+
that a target which later fails background reconciliation emits
|
|
2729
|
+
`post.platform.failed` a second time, after its own
|
|
2730
|
+
`post.platform.published`. The `post` envelope mirrors the shape
|
|
2731
|
+
of `WebhookPayloadPost` so
|
|
2729
2732
|
consumers can reuse rendering logic; the `platform` block
|
|
2730
2733
|
identifies which specific platform transitioned; the `account`
|
|
2731
2734
|
block identifies the connected account behind that
|
|
@@ -10515,7 +10518,10 @@ webhooks:
|
|
|
10515
10518
|
consumers building incremental UIs get notified immediately, even
|
|
10516
10519
|
when other platforms on the same post are still processing.
|
|
10517
10520
|
The envelope event (`post.published` / `post.partial`) fires
|
|
10518
|
-
separately AFTER all platforms have terminated.
|
|
10521
|
+
separately AFTER all platforms have terminated. A target that later
|
|
10522
|
+
fails background reconciliation (e.g. a Facebook video Meta accepted
|
|
10523
|
+
but never actually published) emits `post.platform.failed` for the
|
|
10524
|
+
same target afterward.
|
|
10519
10525
|
tags: [Webhook Events]
|
|
10520
10526
|
requestBody:
|
|
10521
10527
|
required: true
|
|
@@ -10535,7 +10541,9 @@ webhooks:
|
|
|
10535
10541
|
permanently. Temporary/retryable failures do NOT fire this event,
|
|
10536
10542
|
only permanent ones do, so retry loops stay quiet. The envelope event
|
|
10537
10543
|
(`post.failed` / `post.partial`) fires separately AFTER all
|
|
10538
|
-
platforms have terminated.
|
|
10544
|
+
platforms have terminated. Can also fire a second time for a target
|
|
10545
|
+
that already emitted `post.platform.published`, if background
|
|
10546
|
+
reconciliation later discovers the publish never actually completed.
|
|
10539
10547
|
tags: [Webhook Events]
|
|
10540
10548
|
requestBody:
|
|
10541
10549
|
required: true
|
|
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.902
|
|
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-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -6268,7 +6268,7 @@ files:
|
|
|
6268
6268
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
6269
6269
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
6270
6270
|
- spec/spec_helper.rb
|
|
6271
|
-
- zernio-sdk-0.0.
|
|
6271
|
+
- zernio-sdk-0.0.902.gem
|
|
6272
6272
|
- zernio-sdk.gemspec
|
|
6273
6273
|
homepage: https://openapi-generator.tech
|
|
6274
6274
|
licenses:
|
data/zernio-sdk-0.0.901.gem
DELETED
|
Binary file
|