late-sdk 0.0.638 → 0.0.639

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: 7b716df70c2087a2f56a23b1a70d0903359f06ec0c38f3b1e9a289ddd5824d65
4
- data.tar.gz: d1be1b101ea8b606a6c7fd206d2f37b17df995a1a5733c2c425cd7046ef36485
3
+ metadata.gz: 8a1e52f2fc494ac1d77f85382297c83612bcd8e957b9dc2186d9d35a2cc2ad92
4
+ data.tar.gz: dd09be0c5c864e3fa64571f2386a49c0c373c0446f25507823ed09612606d17b
5
5
  SHA512:
6
- metadata.gz: e44281be73d3f6aa4a1507bedfde2ae9111320b1fe7af0440ed4d81190551393421bc3e604d232285f7916970797075dcc5c4428ad556486b04358406087e0e7
7
- data.tar.gz: 3d0dba3b2f96b6655bb545b530b5d0ca5d9e4febced3a18bd8c376dff22d92675fb5fb2469686e6337b7dadcc33f810d628bc23753ad605804912d452130f282
6
+ metadata.gz: 7d127baaef1e5725924e3e0b3b185c9c0461c02c43029ea224cfb3b615e0b064ef0aede0588bafd82638e695b65002a105baf755ec78591037413e8fdf59192d
7
+ data.tar.gz: 75c1561d78e50d3d7c64b9240e3601cc90206509180771f5f01efdd8ebc2b62e15187f5130c1b31e499ba72f9048a265a8ba0e41687aaffac809a760ab55cd33
@@ -15,6 +15,7 @@
15
15
  | **follows** | **Integer** | Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms. | [optional] |
16
16
  | **ig_reels_avg_watch_time** | **Integer** | Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms. | [optional] |
17
17
  | **ig_reels_video_view_total_time** | **Integer** | Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms. | [optional] |
18
+ | **video_duration_seconds** | **Integer** | Video length in seconds. Currently Instagram Reels only; combine with igReelsAvgWatchTime (ms) to estimate retention. Null when unknown (other platforms, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio). | [optional] |
18
19
  | **engagement_rate** | **Float** | | [optional] |
19
20
  | **last_updated** | **Time** | | [optional] |
20
21
 
@@ -35,6 +36,7 @@ instance = Zernio::PostAnalytics.new(
35
36
  follows: 0,
36
37
  ig_reels_avg_watch_time: 0,
37
38
  ig_reels_video_view_total_time: 0,
39
+ video_duration_seconds: 30,
38
40
  engagement_rate: 0,
39
41
  last_updated: null
40
42
  )
@@ -41,6 +41,9 @@ module Zernio
41
41
  # Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.
42
42
  attr_accessor :ig_reels_video_view_total_time
43
43
 
44
+ # Video length in seconds. Currently Instagram Reels only; combine with igReelsAvgWatchTime (ms) to estimate retention. Null when unknown (other platforms, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio).
45
+ attr_accessor :video_duration_seconds
46
+
44
47
  attr_accessor :engagement_rate
45
48
 
46
49
  attr_accessor :last_updated
@@ -59,6 +62,7 @@ module Zernio
59
62
  :'follows' => :'follows',
60
63
  :'ig_reels_avg_watch_time' => :'igReelsAvgWatchTime',
61
64
  :'ig_reels_video_view_total_time' => :'igReelsVideoViewTotalTime',
65
+ :'video_duration_seconds' => :'videoDurationSeconds',
62
66
  :'engagement_rate' => :'engagementRate',
63
67
  :'last_updated' => :'lastUpdated'
64
68
  }
@@ -88,6 +92,7 @@ module Zernio
88
92
  :'follows' => :'Integer',
89
93
  :'ig_reels_avg_watch_time' => :'Integer',
90
94
  :'ig_reels_video_view_total_time' => :'Integer',
95
+ :'video_duration_seconds' => :'Integer',
91
96
  :'engagement_rate' => :'Float',
92
97
  :'last_updated' => :'Time'
93
98
  }
@@ -96,6 +101,7 @@ module Zernio
96
101
  # List of attributes with nullable: true
97
102
  def self.openapi_nullable
98
103
  Set.new([
104
+ :'video_duration_seconds',
99
105
  ])
100
106
  end
101
107
 
@@ -159,6 +165,10 @@ module Zernio
159
165
  self.ig_reels_video_view_total_time = attributes[:'ig_reels_video_view_total_time']
160
166
  end
161
167
 
168
+ if attributes.key?(:'video_duration_seconds')
169
+ self.video_duration_seconds = attributes[:'video_duration_seconds']
170
+ end
171
+
162
172
  if attributes.key?(:'engagement_rate')
163
173
  self.engagement_rate = attributes[:'engagement_rate']
164
174
  end
@@ -199,6 +209,7 @@ module Zernio
199
209
  follows == o.follows &&
200
210
  ig_reels_avg_watch_time == o.ig_reels_avg_watch_time &&
201
211
  ig_reels_video_view_total_time == o.ig_reels_video_view_total_time &&
212
+ video_duration_seconds == o.video_duration_seconds &&
202
213
  engagement_rate == o.engagement_rate &&
203
214
  last_updated == o.last_updated
204
215
  end
@@ -212,7 +223,7 @@ module Zernio
212
223
  # Calculates hash code according to all attributes.
213
224
  # @return [Integer] Hash code
214
225
  def hash
215
- [impressions, reach, likes, comments, shares, saves, clicks, views, follows, ig_reels_avg_watch_time, ig_reels_video_view_total_time, engagement_rate, last_updated].hash
226
+ [impressions, reach, likes, comments, shares, saves, clicks, views, follows, ig_reels_avg_watch_time, ig_reels_video_view_total_time, video_duration_seconds, engagement_rate, last_updated].hash
216
227
  end
217
228
 
218
229
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.638'
14
+ VERSION = '0.0.639'
15
15
  end
data/openapi.yaml CHANGED
@@ -6093,6 +6093,7 @@ components:
6093
6093
  follows: { type: integer, example: 0, description: 'Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms.' }
6094
6094
  igReelsAvgWatchTime: { type: integer, example: 0, description: 'Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.' }
6095
6095
  igReelsVideoViewTotalTime: { type: integer, example: 0, description: 'Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.' }
6096
+ videoDurationSeconds: { type: [integer, "null"], example: 30, description: 'Video length in seconds. Currently Instagram Reels only; combine with igReelsAvgWatchTime (ms) to estimate retention. Null when unknown (other platforms, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio).' }
6096
6097
  engagementRate: { type: number, example: 0 }
6097
6098
  lastUpdated: { type: string, format: date-time }
6098
6099
  PlatformAnalytics:
@@ -93,6 +93,12 @@ describe Zernio::PostAnalytics do
93
93
  end
94
94
  end
95
95
 
96
+ describe 'test attribute "video_duration_seconds"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
96
102
  describe 'test attribute "engagement_rate"' do
97
103
  it 'should work' do
98
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
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.638
4
+ version: 0.0.639
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-08-01 00:00:00.000000000 Z
11
+ date: 2026-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -4919,7 +4919,7 @@ files:
4919
4919
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4920
4920
  - spec/models/you_tube_video_retention_response_spec.rb
4921
4921
  - spec/spec_helper.rb
4922
- - zernio-sdk-0.0.638.gem
4922
+ - zernio-sdk-0.0.639.gem
4923
4923
  - zernio-sdk.gemspec
4924
4924
  homepage: https://openapi-generator.tech
4925
4925
  licenses:
Binary file