late-sdk 0.0.673 → 0.0.674
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/PlatformTarget.md +2 -0
- data/lib/zernio-sdk/models/platform_target.rb +12 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +11 -0
- data/spec/models/platform_target_spec.rb +6 -0
- data/zernio-sdk-0.0.674.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.673.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: 2f9296d022283f95def0855290cf28b0251301a321d73f7e0363e9c396cb0665
|
|
4
|
+
data.tar.gz: c7eb3fc66df938994c7f26a83641dbd62816cc88eed971b3edb41512cae6e688
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c12a2ac757d6be0c885422885452b7f15645d66537c19359b9c99cc8d8fef3d3c5062a0d8963a659257396d55e6d84005d3658cc078ee3628aefb53fff0971b2
|
|
7
|
+
data.tar.gz: a7ce41f8866238b56acc7287a3ccba1c7ef9edebfa89339e730191f24baaa4456a8a2f5a43b12eb858a02a0b7f24d89ad7cb83d02000f4d0cb20e8ea39619e12
|
data/docs/PlatformTarget.md
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **platform_post_id** | **String** | The native post ID on the platform (populated after successful publish) | [optional] |
|
|
15
15
|
| **platform_post_url** | **String** | Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. | [optional] |
|
|
16
16
|
| **published_at** | **Time** | Timestamp when the post was published to this platform | [optional] |
|
|
17
|
+
| **removed_from_platform_at** | **Time** | Set when a post that was successfully published later disappears from the platform (deleted on-platform or taken down by the platform). status stays \"published\" (it reflects the publish outcome); poll this field to detect post-publish removals. Absent while the post is live, and cleared if the post reappears. Detection runs with the analytics sync, so expect up to a few hours of lag. | [optional] |
|
|
17
18
|
| **is_trial_reel** | **Boolean** | Present and true only when this Instagram reel was launched as a Trial through Zernio (created with platformSpecificData.trialParams). Use it to segment trial reels in analytics. Note: Instagram's Graph API exposes no readable trial field, so this reflects creation-time intent only. It indicates the reel STARTED as a trial, not whether or when it graduated. | [optional] |
|
|
18
19
|
| **trial_graduation_strategy** | **String** | Graduation strategy the trial reel was launched with. Present only when isTrialReel is true. | [optional] |
|
|
19
20
|
| **error_message** | **String** | Human-readable error message when status is failed. Contains platform-specific error details explaining why the publish failed. | [optional] |
|
|
@@ -36,6 +37,7 @@ instance = Zernio::PlatformTarget.new(
|
|
|
36
37
|
platform_post_id: 1234567890123456789,
|
|
37
38
|
platform_post_url: https://twitter.com/acmecorp/status/1234567890123456789,
|
|
38
39
|
published_at: null,
|
|
40
|
+
removed_from_platform_at: null,
|
|
39
41
|
is_trial_reel: null,
|
|
40
42
|
trial_graduation_strategy: null,
|
|
41
43
|
error_message: null,
|
|
@@ -42,6 +42,9 @@ module Zernio
|
|
|
42
42
|
# Timestamp when the post was published to this platform
|
|
43
43
|
attr_accessor :published_at
|
|
44
44
|
|
|
45
|
+
# Set when a post that was successfully published later disappears from the platform (deleted on-platform or taken down by the platform). status stays \"published\" (it reflects the publish outcome); poll this field to detect post-publish removals. Absent while the post is live, and cleared if the post reappears. Detection runs with the analytics sync, so expect up to a few hours of lag.
|
|
46
|
+
attr_accessor :removed_from_platform_at
|
|
47
|
+
|
|
45
48
|
# Present and true only when this Instagram reel was launched as a Trial through Zernio (created with platformSpecificData.trialParams). Use it to segment trial reels in analytics. Note: Instagram's Graph API exposes no readable trial field, so this reflects creation-time intent only. It indicates the reel STARTED as a trial, not whether or when it graduated.
|
|
46
49
|
attr_accessor :is_trial_reel
|
|
47
50
|
|
|
@@ -92,6 +95,7 @@ module Zernio
|
|
|
92
95
|
:'platform_post_id' => :'platformPostId',
|
|
93
96
|
:'platform_post_url' => :'platformPostUrl',
|
|
94
97
|
:'published_at' => :'publishedAt',
|
|
98
|
+
:'removed_from_platform_at' => :'removedFromPlatformAt',
|
|
95
99
|
:'is_trial_reel' => :'isTrialReel',
|
|
96
100
|
:'trial_graduation_strategy' => :'trialGraduationStrategy',
|
|
97
101
|
:'error_message' => :'errorMessage',
|
|
@@ -123,6 +127,7 @@ module Zernio
|
|
|
123
127
|
:'platform_post_id' => :'String',
|
|
124
128
|
:'platform_post_url' => :'String',
|
|
125
129
|
:'published_at' => :'Time',
|
|
130
|
+
:'removed_from_platform_at' => :'Time',
|
|
126
131
|
:'is_trial_reel' => :'Boolean',
|
|
127
132
|
:'trial_graduation_strategy' => :'String',
|
|
128
133
|
:'error_message' => :'String',
|
|
@@ -134,6 +139,7 @@ module Zernio
|
|
|
134
139
|
# List of attributes with nullable: true
|
|
135
140
|
def self.openapi_nullable
|
|
136
141
|
Set.new([
|
|
142
|
+
:'removed_from_platform_at',
|
|
137
143
|
])
|
|
138
144
|
end
|
|
139
145
|
|
|
@@ -195,6 +201,10 @@ module Zernio
|
|
|
195
201
|
self.published_at = attributes[:'published_at']
|
|
196
202
|
end
|
|
197
203
|
|
|
204
|
+
if attributes.key?(:'removed_from_platform_at')
|
|
205
|
+
self.removed_from_platform_at = attributes[:'removed_from_platform_at']
|
|
206
|
+
end
|
|
207
|
+
|
|
198
208
|
if attributes.key?(:'is_trial_reel')
|
|
199
209
|
self.is_trial_reel = attributes[:'is_trial_reel']
|
|
200
210
|
end
|
|
@@ -282,6 +292,7 @@ module Zernio
|
|
|
282
292
|
platform_post_id == o.platform_post_id &&
|
|
283
293
|
platform_post_url == o.platform_post_url &&
|
|
284
294
|
published_at == o.published_at &&
|
|
295
|
+
removed_from_platform_at == o.removed_from_platform_at &&
|
|
285
296
|
is_trial_reel == o.is_trial_reel &&
|
|
286
297
|
trial_graduation_strategy == o.trial_graduation_strategy &&
|
|
287
298
|
error_message == o.error_message &&
|
|
@@ -298,7 +309,7 @@ module Zernio
|
|
|
298
309
|
# Calculates hash code according to all attributes.
|
|
299
310
|
# @return [Integer] Hash code
|
|
300
311
|
def hash
|
|
301
|
-
[platform, account_id, custom_content, custom_media, scheduled_for, platform_specific_data, status, platform_post_id, platform_post_url, published_at, is_trial_reel, trial_graduation_strategy, error_message, error_category, error_source].hash
|
|
312
|
+
[platform, account_id, custom_content, custom_media, scheduled_for, platform_specific_data, status, platform_post_id, platform_post_url, published_at, removed_from_platform_at, is_trial_reel, trial_graduation_strategy, error_message, error_category, error_source].hash
|
|
302
313
|
end
|
|
303
314
|
|
|
304
315
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -4302,6 +4302,17 @@ components:
|
|
|
4302
4302
|
type: string
|
|
4303
4303
|
format: date-time
|
|
4304
4304
|
description: Timestamp when the post was published to this platform
|
|
4305
|
+
removedFromPlatformAt:
|
|
4306
|
+
type: [string, "null"]
|
|
4307
|
+
format: date-time
|
|
4308
|
+
description: >-
|
|
4309
|
+
Set when a post that was successfully published later disappears
|
|
4310
|
+
from the platform (deleted on-platform or taken down by the
|
|
4311
|
+
platform). status stays "published" (it reflects the publish
|
|
4312
|
+
outcome); poll this field to detect post-publish removals. Absent
|
|
4313
|
+
while the post is live, and cleared if the post reappears.
|
|
4314
|
+
Detection runs with the analytics sync, so expect up to a few
|
|
4315
|
+
hours of lag.
|
|
4305
4316
|
isTrialReel:
|
|
4306
4317
|
type: boolean
|
|
4307
4318
|
description: >-
|
|
@@ -87,6 +87,12 @@ describe Zernio::PlatformTarget do
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
describe 'test attribute "removed_from_platform_at"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
90
96
|
describe 'test attribute "is_trial_reel"' do
|
|
91
97
|
it 'should work' do
|
|
92
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
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.674
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4985,7 +4985,7 @@ files:
|
|
|
4985
4985
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4986
4986
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4987
4987
|
- spec/spec_helper.rb
|
|
4988
|
-
- zernio-sdk-0.0.
|
|
4988
|
+
- zernio-sdk-0.0.674.gem
|
|
4989
4989
|
- zernio-sdk.gemspec
|
|
4990
4990
|
homepage: https://openapi-generator.tech
|
|
4991
4991
|
licenses:
|
data/zernio-sdk-0.0.673.gem
DELETED
|
Binary file
|