late-sdk 0.0.761 → 0.0.762
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/InstagramPlatformData.md +2 -0
- data/lib/zernio-sdk/models/instagram_platform_data.rb +13 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +5 -0
- data/spec/models/instagram_platform_data_spec.rb +6 -0
- data/zernio-sdk-0.0.762.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.761.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: b3e05e669d5e5c32903f8fd9c88d885a69e47f765012c3725cd6527d9db80fad
|
|
4
|
+
data.tar.gz: 8cdba91f2df5f527071e78d9bfecc1d3c6f40a67bba6e6c38b9d23a451411f86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 771a3b1db9b2804f2b3b505f187db065a44e4268f1d72a20a1ee3df6d840d81bb37340c35eb34b7070b982783f55cdaaf480f15deded8440b996097b2d81637f
|
|
7
|
+
data.tar.gz: 7a325fe2fcc4705bd0a8d528e5b141c10819d23cb7880ee7aaac6b4ab2fe5ceb798909c1678a4701cf0b6e451168b7396feecdd7285e58b4f2f7d1eee2136d68
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
| **user_tags** | [**Array<InstagramPlatformDataUserTagsInner>**](InstagramPlatformDataUserTagsInner.md) | Tag Instagram users by username. The tag shape depends on the media: photos require x/y coordinates, Reels and videos take username only (coordinates are ignored), stories accept optional coordinates. For carousels, use mediaIndex to target specific slides (defaults to 0); video slides take username-only tags. Photo tags without valid coordinates are skipped. | [optional] |
|
|
13
13
|
| **audio_name** | **String** | Custom name for original audio in Reels. Replaces the default \"Original Audio\" label. Can only be set once. Unrelated to audioConfiguration, which attaches a catalog track. | [optional] |
|
|
14
14
|
| **audio_configuration** | [**InstagramPlatformDataAudioConfiguration**](InstagramPlatformDataAudioConfiguration.md) | | [optional] |
|
|
15
|
+
| **mute_audio** | **Boolean** | Publish the video without sound. Applies to Reels, Stories, and video carousel slides; ignored for images. Instagram has no mute parameter, so we strip the audio track from the file before handing it to Instagram: the published video is permanently silent and the original audio cannot be restored from Instagram. If the audio cannot be stripped the post fails rather than publishing with sound; videos above 200MB cannot be muted at all, so mute them before uploading. Unrelated to audioConfiguration.videoVolume, which only lowers the original sound when a catalog track is attached. | [optional][default to false] |
|
|
15
16
|
| **thumb_offset** | **Integer** | Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0. | [optional] |
|
|
16
17
|
| **instagram_thumbnail** | **String** | Custom cover image URL for Instagram Reels (JPG or PNG, publicly accessible). Overrides thumbOffset when provided. Also accepted as reelCover (alias). | [optional] |
|
|
17
18
|
| **reel_cover** | **String** | Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority. | [optional] |
|
|
@@ -31,6 +32,7 @@ instance = Zernio::InstagramPlatformData.new(
|
|
|
31
32
|
user_tags: null,
|
|
32
33
|
audio_name: My Podcast Intro,
|
|
33
34
|
audio_configuration: null,
|
|
35
|
+
mute_audio: true,
|
|
34
36
|
thumb_offset: 5000,
|
|
35
37
|
instagram_thumbnail: null,
|
|
36
38
|
reel_cover: null,
|
|
@@ -38,6 +38,9 @@ module Zernio
|
|
|
38
38
|
|
|
39
39
|
attr_accessor :audio_configuration
|
|
40
40
|
|
|
41
|
+
# Publish the video without sound. Applies to Reels, Stories, and video carousel slides; ignored for images. Instagram has no mute parameter, so we strip the audio track from the file before handing it to Instagram: the published video is permanently silent and the original audio cannot be restored from Instagram. If the audio cannot be stripped the post fails rather than publishing with sound; videos above 200MB cannot be muted at all, so mute them before uploading. Unrelated to audioConfiguration.videoVolume, which only lowers the original sound when a catalog track is attached.
|
|
42
|
+
attr_accessor :mute_audio
|
|
43
|
+
|
|
41
44
|
# Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0.
|
|
42
45
|
attr_accessor :thumb_offset
|
|
43
46
|
|
|
@@ -83,6 +86,7 @@ module Zernio
|
|
|
83
86
|
:'user_tags' => :'userTags',
|
|
84
87
|
:'audio_name' => :'audioName',
|
|
85
88
|
:'audio_configuration' => :'audioConfiguration',
|
|
89
|
+
:'mute_audio' => :'muteAudio',
|
|
86
90
|
:'thumb_offset' => :'thumbOffset',
|
|
87
91
|
:'instagram_thumbnail' => :'instagramThumbnail',
|
|
88
92
|
:'reel_cover' => :'reelCover',
|
|
@@ -111,6 +115,7 @@ module Zernio
|
|
|
111
115
|
:'user_tags' => :'Array<InstagramPlatformDataUserTagsInner>',
|
|
112
116
|
:'audio_name' => :'String',
|
|
113
117
|
:'audio_configuration' => :'InstagramPlatformDataAudioConfiguration',
|
|
118
|
+
:'mute_audio' => :'Boolean',
|
|
114
119
|
:'thumb_offset' => :'Integer',
|
|
115
120
|
:'instagram_thumbnail' => :'String',
|
|
116
121
|
:'reel_cover' => :'String',
|
|
@@ -178,6 +183,12 @@ module Zernio
|
|
|
178
183
|
self.audio_configuration = attributes[:'audio_configuration']
|
|
179
184
|
end
|
|
180
185
|
|
|
186
|
+
if attributes.key?(:'mute_audio')
|
|
187
|
+
self.mute_audio = attributes[:'mute_audio']
|
|
188
|
+
else
|
|
189
|
+
self.mute_audio = false
|
|
190
|
+
end
|
|
191
|
+
|
|
181
192
|
if attributes.key?(:'thumb_offset')
|
|
182
193
|
self.thumb_offset = attributes[:'thumb_offset']
|
|
183
194
|
end
|
|
@@ -256,6 +267,7 @@ module Zernio
|
|
|
256
267
|
user_tags == o.user_tags &&
|
|
257
268
|
audio_name == o.audio_name &&
|
|
258
269
|
audio_configuration == o.audio_configuration &&
|
|
270
|
+
mute_audio == o.mute_audio &&
|
|
259
271
|
thumb_offset == o.thumb_offset &&
|
|
260
272
|
instagram_thumbnail == o.instagram_thumbnail &&
|
|
261
273
|
reel_cover == o.reel_cover &&
|
|
@@ -271,7 +283,7 @@ module Zernio
|
|
|
271
283
|
# Calculates hash code according to all attributes.
|
|
272
284
|
# @return [Integer] Hash code
|
|
273
285
|
def hash
|
|
274
|
-
[content_type, share_to_feed, collaborators, first_comment, trial_params, user_tags, audio_name, audio_configuration, thumb_offset, instagram_thumbnail, reel_cover, is_ai_generated].hash
|
|
286
|
+
[content_type, share_to_feed, collaborators, first_comment, trial_params, user_tags, audio_name, audio_configuration, mute_audio, thumb_offset, instagram_thumbnail, reel_cover, is_ai_generated].hash
|
|
275
287
|
end
|
|
276
288
|
|
|
277
289
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -5522,6 +5522,11 @@ components:
|
|
|
5522
5522
|
maximum: 100
|
|
5523
5523
|
description: 'Volume of the video''s own sound, 0-100. Defaults to 100. Set 0 to mute the original video audio.'
|
|
5524
5524
|
example: 100
|
|
5525
|
+
muteAudio:
|
|
5526
|
+
type: boolean
|
|
5527
|
+
default: false
|
|
5528
|
+
description: 'Publish the video without sound. Applies to Reels, Stories, and video carousel slides; ignored for images. Instagram has no mute parameter, so we strip the audio track from the file before handing it to Instagram: the published video is permanently silent and the original audio cannot be restored from Instagram. If the audio cannot be stripped the post fails rather than publishing with sound; videos above 200MB cannot be muted at all, so mute them before uploading. Unrelated to audioConfiguration.videoVolume, which only lowers the original sound when a catalog track is attached.'
|
|
5529
|
+
example: true
|
|
5525
5530
|
thumbOffset:
|
|
5526
5531
|
type: integer
|
|
5527
5532
|
minimum: 0
|
|
@@ -79,6 +79,12 @@ describe Zernio::InstagramPlatformData do
|
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
+
describe 'test attribute "mute_audio"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
82
88
|
describe 'test attribute "thumb_offset"' do
|
|
83
89
|
it 'should work' do
|
|
84
90
|
# 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.762
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -5434,7 +5434,7 @@ files:
|
|
|
5434
5434
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5435
5435
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5436
5436
|
- spec/spec_helper.rb
|
|
5437
|
-
- zernio-sdk-0.0.
|
|
5437
|
+
- zernio-sdk-0.0.762.gem
|
|
5438
5438
|
- zernio-sdk.gemspec
|
|
5439
5439
|
homepage: https://openapi-generator.tech
|
|
5440
5440
|
licenses:
|
data/zernio-sdk-0.0.761.gem
DELETED
|
Binary file
|