late-sdk 0.0.89 → 0.0.91

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: 2a72535f922ba538988ba3f5d433e6f7d49b1d08ca9c6c822bbd3a501a21a607
4
- data.tar.gz: 8bd4413027987bf598068ae5e56a9083b814c9ea51dc5f0abfa6ea50e72e3c44
3
+ metadata.gz: 5ac8d0f6e9e926995c9d1ecf31a983d1f077edf268e2507a586ce158e44a475a
4
+ data.tar.gz: 800a3466660407621cb76fa99a95d270900cda2df2ce8a2c77f8b44742f73a6f
5
5
  SHA512:
6
- metadata.gz: 2a5efe6c5bd4262da2be7c4409acfc058bda3dc38d3e8eb0f5019c4bed651d5af4b1d74a47b6ae3c00455577b2a729095dbf1bda60e253e7ce1b5a9b5fcd03a2
7
- data.tar.gz: 74554cee6f201b9e70ee8b1dc07ad0fee008b68a5d98cbca2c34830c8bfc13cf90891ba5d2b4cfafa2a8600493951e9502e4c072b6683d3327aed2454c2a7956
6
+ metadata.gz: 1a3a8d7853fccfb41b909d838b6c4e0013582eaea01790b0b02222b4a387359abe4c9cad5c2b173e4a6b57432e61226ca557c05dd3cddaeba72770d7d7c6e455
7
+ data.tar.gz: ef83363d81852540387db2e39d5a2fe9e6885fd2f72b1bc104112e09dae66396fca845564f6007df7fb35357bc14dc8b8245d651ea917c203da705d1bd5e263d
@@ -11,7 +11,9 @@
11
11
  | **trial_params** | [**InstagramPlatformDataTrialParams**](InstagramPlatformDataTrialParams.md) | | [optional] |
12
12
  | **user_tags** | [**Array<InstagramPlatformDataUserTagsInner>**](InstagramPlatformDataUserTagsInner.md) | Tag Instagram users in photos by username and position. Not supported for stories or videos. For carousels, use mediaIndex to target specific slides (defaults to 0). Tags on video items are silently 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. | [optional] |
14
- | **thumb_offset** | **Integer** | Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL is provided. Defaults to 0. | [optional] |
14
+ | **thumb_offset** | **Integer** | Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0. | [optional] |
15
+ | **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] |
16
+ | **reel_cover** | **String** | Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority. | [optional] |
15
17
 
16
18
  ## Example
17
19
 
@@ -26,7 +28,9 @@ instance = Late::InstagramPlatformData.new(
26
28
  trial_params: null,
27
29
  user_tags: null,
28
30
  audio_name: My Podcast Intro,
29
- thumb_offset: 5000
31
+ thumb_offset: 5000,
32
+ instagram_thumbnail: null,
33
+ reel_cover: null
30
34
  )
31
35
  ```
32
36
 
data/docs/MediaItem.md CHANGED
@@ -11,7 +11,7 @@
11
11
  | **size** | **Integer** | Optional file size in bytes | [optional] |
12
12
  | **mime_type** | **String** | Optional MIME type (e.g. image/jpeg, video/mp4) | [optional] |
13
13
  | **thumbnail** | **String** | Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, and regular video uploads. Max 10MB, JPG/PNG recommended. | [optional] |
14
- | **instagram_thumbnail** | **String** | Optional custom cover image URL for Instagram Reels | [optional] |
14
+ | **instagram_thumbnail** | **String** | Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy). | [optional] |
15
15
  | **tiktok_processed** | **Boolean** | Internal flag indicating the image was resized for TikTok | [optional] |
16
16
 
17
17
  ## Example
@@ -36,9 +36,15 @@ module Late
36
36
  # Custom name for original audio in Reels. Replaces the default \"Original Audio\" label. Can only be set once.
37
37
  attr_accessor :audio_name
38
38
 
39
- # Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL is provided. Defaults to 0.
39
+ # Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0.
40
40
  attr_accessor :thumb_offset
41
41
 
42
+ # Custom cover image URL for Instagram Reels (JPG or PNG, publicly accessible). Overrides thumbOffset when provided. Also accepted as reelCover (alias).
43
+ attr_accessor :instagram_thumbnail
44
+
45
+ # Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
46
+ attr_accessor :reel_cover
47
+
42
48
  class EnumAttributeValidator
43
49
  attr_reader :datatype
44
50
  attr_reader :allowable_values
@@ -71,7 +77,9 @@ module Late
71
77
  :'trial_params' => :'trialParams',
72
78
  :'user_tags' => :'userTags',
73
79
  :'audio_name' => :'audioName',
74
- :'thumb_offset' => :'thumbOffset'
80
+ :'thumb_offset' => :'thumbOffset',
81
+ :'instagram_thumbnail' => :'instagramThumbnail',
82
+ :'reel_cover' => :'reelCover'
75
83
  }
76
84
  end
77
85
 
@@ -95,7 +103,9 @@ module Late
95
103
  :'trial_params' => :'InstagramPlatformDataTrialParams',
96
104
  :'user_tags' => :'Array<InstagramPlatformDataUserTagsInner>',
97
105
  :'audio_name' => :'String',
98
- :'thumb_offset' => :'Integer'
106
+ :'thumb_offset' => :'Integer',
107
+ :'instagram_thumbnail' => :'String',
108
+ :'reel_cover' => :'String'
99
109
  }
100
110
  end
101
111
 
@@ -158,6 +168,14 @@ module Late
158
168
  if attributes.key?(:'thumb_offset')
159
169
  self.thumb_offset = attributes[:'thumb_offset']
160
170
  end
171
+
172
+ if attributes.key?(:'instagram_thumbnail')
173
+ self.instagram_thumbnail = attributes[:'instagram_thumbnail']
174
+ end
175
+
176
+ if attributes.key?(:'reel_cover')
177
+ self.reel_cover = attributes[:'reel_cover']
178
+ end
161
179
  end
162
180
 
163
181
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -218,7 +236,9 @@ module Late
218
236
  trial_params == o.trial_params &&
219
237
  user_tags == o.user_tags &&
220
238
  audio_name == o.audio_name &&
221
- thumb_offset == o.thumb_offset
239
+ thumb_offset == o.thumb_offset &&
240
+ instagram_thumbnail == o.instagram_thumbnail &&
241
+ reel_cover == o.reel_cover
222
242
  end
223
243
 
224
244
  # @see the `==` method
@@ -230,7 +250,7 @@ module Late
230
250
  # Calculates hash code according to all attributes.
231
251
  # @return [Integer] Hash code
232
252
  def hash
233
- [content_type, share_to_feed, collaborators, first_comment, trial_params, user_tags, audio_name, thumb_offset].hash
253
+ [content_type, share_to_feed, collaborators, first_comment, trial_params, user_tags, audio_name, thumb_offset, instagram_thumbnail, reel_cover].hash
234
254
  end
235
255
 
236
256
  # Builds the object from hash
@@ -34,7 +34,7 @@ module Late
34
34
  # Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, and regular video uploads. Max 10MB, JPG/PNG recommended.
35
35
  attr_accessor :thumbnail
36
36
 
37
- # Optional custom cover image URL for Instagram Reels
37
+ # Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy).
38
38
  attr_accessor :instagram_thumbnail
39
39
 
40
40
  # Internal flag indicating the image was resized for TikTok
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.89'
14
+ VERSION = '0.0.91'
15
15
  end
data/openapi.yaml CHANGED
@@ -1201,7 +1201,7 @@ components:
1201
1201
  instagramThumbnail:
1202
1202
  type: string
1203
1203
  format: uri
1204
- description: Optional custom cover image URL for Instagram Reels
1204
+ description: "Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy)."
1205
1205
  tiktokProcessed:
1206
1206
  type: boolean
1207
1207
  description: Internal flag indicating the image was resized for TikTok
@@ -1550,8 +1550,16 @@ components:
1550
1550
  thumbOffset:
1551
1551
  type: integer
1552
1552
  minimum: 0
1553
- description: Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL is provided. Defaults to 0.
1553
+ description: Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0.
1554
1554
  example: 5000
1555
+ instagramThumbnail:
1556
+ type: string
1557
+ format: uri
1558
+ description: Custom cover image URL for Instagram Reels (JPG or PNG, publicly accessible). Overrides thumbOffset when provided. Also accepted as reelCover (alias).
1559
+ reelCover:
1560
+ type: string
1561
+ format: uri
1562
+ description: Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
1555
1563
  description: Feed aspect ratio 0.8-1.91, carousels up to 10 items, stories require media (no captions). User tag coordinates 0.0-1.0 from top-left. Images over 8 MB and videos over platform limits are auto-compressed.
1556
1564
 
1557
1565
  LinkedInPlatformData:
@@ -79,4 +79,16 @@ describe Late::InstagramPlatformData do
79
79
  end
80
80
  end
81
81
 
82
+ describe 'test attribute "instagram_thumbnail"' 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
+
88
+ describe 'test attribute "reel_cover"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
91
+ end
92
+ end
93
+
82
94
  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.89
4
+ version: 0.0.91
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-03-29 00:00:00.000000000 Z
11
+ date: 2026-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2214,7 +2214,7 @@ files:
2214
2214
  - spec/models/you_tube_scope_missing_response_scope_status_spec.rb
2215
2215
  - spec/models/you_tube_scope_missing_response_spec.rb
2216
2216
  - spec/spec_helper.rb
2217
- - zernio-sdk-0.0.89.gem
2217
+ - zernio-sdk-0.0.91.gem
2218
2218
  homepage: https://openapi-generator.tech
2219
2219
  licenses:
2220
2220
  - Unlicense
Binary file