late-sdk 0.0.604 → 0.0.605
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 +1 -1
- data/docs/InstagramPlatformDataUserTagsInner.md +3 -3
- data/lib/zernio-sdk/models/instagram_platform_data.rb +1 -1
- data/lib/zernio-sdk/models/instagram_platform_data_user_tags_inner.rb +11 -25
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +5 -5
- data/zernio-sdk-0.0.605.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.604.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: 16f9195c372fe5237ef52cf0226f10f823a7dc0b9ef2dcbeb45ff7acd8f82297
|
|
4
|
+
data.tar.gz: 5ca62ebb38a157ccac564f9eed092c4264cf5a3006be26e8ff08c8251349751e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54e40535e76e05c061392b5584d44b8ffad3fffde7866324b0004f8031a1c75784613d478fbebf5cf366ac1c9ef00aee6c450b8e710f7393341faac11087785a
|
|
7
|
+
data.tar.gz: 58c82df5fa4794973fba3a5924c80600d62834b79beffad827afbf773cf1a757ad2ba3354ed8732ec45367e1e3c0f037687107c6cf9831035ed07a5382fbe8ea
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| **collaborators** | **Array<String>** | Up to 3 Instagram usernames to invite as collaborators (feed/Reels only) | [optional] |
|
|
10
10
|
| **first_comment** | **String** | Optional first comment to add after the post is created (not applied to Stories) | [optional] |
|
|
11
11
|
| **trial_params** | [**InstagramPlatformDataTrialParams**](InstagramPlatformDataTrialParams.md) | | [optional] |
|
|
12
|
-
| **user_tags** | [**Array<InstagramPlatformDataUserTagsInner>**](InstagramPlatformDataUserTagsInner.md) | Tag Instagram users
|
|
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. | [optional] |
|
|
14
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
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] |
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **username** | **String** | Instagram username (@ symbol is optional and will be removed automatically) | |
|
|
8
|
-
| **x** | **Float** | X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right) |
|
|
9
|
-
| **y** | **Float** | Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom) |
|
|
10
|
-
| **media_index** | **Integer** | Zero-based index of the carousel item to tag. Defaults to 0. Tags on
|
|
8
|
+
| **x** | **Float** | X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right). Required for photos, ignored for Reels/videos, optional for stories. | [optional] |
|
|
9
|
+
| **y** | **Float** | Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom). Required for photos, ignored for Reels/videos, optional for stories. | [optional] |
|
|
10
|
+
| **media_index** | **Integer** | Zero-based index of the carousel item to tag. Defaults to 0. Tags on out-of-range indices are ignored. | [optional] |
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -30,7 +30,7 @@ module Zernio
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :trial_params
|
|
32
32
|
|
|
33
|
-
# Tag Instagram users
|
|
33
|
+
# 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.
|
|
34
34
|
attr_accessor :user_tags
|
|
35
35
|
|
|
36
36
|
# Custom name for original audio in Reels. Replaces the default \"Original Audio\" label. Can only be set once.
|
|
@@ -18,13 +18,13 @@ module Zernio
|
|
|
18
18
|
# Instagram username (@ symbol is optional and will be removed automatically)
|
|
19
19
|
attr_accessor :username
|
|
20
20
|
|
|
21
|
-
# X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right)
|
|
21
|
+
# X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right). Required for photos, ignored for Reels/videos, optional for stories.
|
|
22
22
|
attr_accessor :x
|
|
23
23
|
|
|
24
|
-
# Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom)
|
|
24
|
+
# Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom). Required for photos, ignored for Reels/videos, optional for stories.
|
|
25
25
|
attr_accessor :y
|
|
26
26
|
|
|
27
|
-
# Zero-based index of the carousel item to tag. Defaults to 0. Tags on
|
|
27
|
+
# Zero-based index of the carousel item to tag. Defaults to 0. Tags on out-of-range indices are ignored.
|
|
28
28
|
attr_accessor :media_index
|
|
29
29
|
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -87,14 +87,10 @@ module Zernio
|
|
|
87
87
|
|
|
88
88
|
if attributes.key?(:'x')
|
|
89
89
|
self.x = attributes[:'x']
|
|
90
|
-
else
|
|
91
|
-
self.x = nil
|
|
92
90
|
end
|
|
93
91
|
|
|
94
92
|
if attributes.key?(:'y')
|
|
95
93
|
self.y = attributes[:'y']
|
|
96
|
-
else
|
|
97
|
-
self.y = nil
|
|
98
94
|
end
|
|
99
95
|
|
|
100
96
|
if attributes.key?(:'media_index')
|
|
@@ -111,27 +107,19 @@ module Zernio
|
|
|
111
107
|
invalid_properties.push('invalid value for "username", username cannot be nil.')
|
|
112
108
|
end
|
|
113
109
|
|
|
114
|
-
if
|
|
115
|
-
invalid_properties.push('invalid value for "x", x cannot be nil.')
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
if @x > 1
|
|
110
|
+
if !@x.nil? && @x > 1
|
|
119
111
|
invalid_properties.push('invalid value for "x", must be smaller than or equal to 1.')
|
|
120
112
|
end
|
|
121
113
|
|
|
122
|
-
if @x < 0
|
|
114
|
+
if !@x.nil? && @x < 0
|
|
123
115
|
invalid_properties.push('invalid value for "x", must be greater than or equal to 0.')
|
|
124
116
|
end
|
|
125
117
|
|
|
126
|
-
if
|
|
127
|
-
invalid_properties.push('invalid value for "y", y cannot be nil.')
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
if @y > 1
|
|
118
|
+
if !@y.nil? && @y > 1
|
|
131
119
|
invalid_properties.push('invalid value for "y", must be smaller than or equal to 1.')
|
|
132
120
|
end
|
|
133
121
|
|
|
134
|
-
if @y < 0
|
|
122
|
+
if !@y.nil? && @y < 0
|
|
135
123
|
invalid_properties.push('invalid value for "y", must be greater than or equal to 0.')
|
|
136
124
|
end
|
|
137
125
|
|
|
@@ -147,12 +135,10 @@ module Zernio
|
|
|
147
135
|
def valid?
|
|
148
136
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
149
137
|
return false if @username.nil?
|
|
150
|
-
return false if
|
|
151
|
-
return false if @x
|
|
152
|
-
return false if @
|
|
153
|
-
return false if
|
|
154
|
-
return false if @y > 1
|
|
155
|
-
return false if @y < 0
|
|
138
|
+
return false if !@x.nil? && @x > 1
|
|
139
|
+
return false if !@x.nil? && @x < 0
|
|
140
|
+
return false if !@y.nil? && @y > 1
|
|
141
|
+
return false if !@y.nil? && @y < 0
|
|
156
142
|
return false if !@media_index.nil? && @media_index < 0
|
|
157
143
|
true
|
|
158
144
|
end
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -4428,10 +4428,10 @@ components:
|
|
|
4428
4428
|
description: "MANUAL (graduate from Instagram app) or SS_PERFORMANCE (auto-graduate if performs well with non-followers)"
|
|
4429
4429
|
userTags:
|
|
4430
4430
|
type: array
|
|
4431
|
-
description: Tag Instagram users
|
|
4431
|
+
description: '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.'
|
|
4432
4432
|
items:
|
|
4433
4433
|
type: object
|
|
4434
|
-
required: [username
|
|
4434
|
+
required: [username]
|
|
4435
4435
|
properties:
|
|
4436
4436
|
username:
|
|
4437
4437
|
type: string
|
|
@@ -4441,18 +4441,18 @@ components:
|
|
|
4441
4441
|
type: number
|
|
4442
4442
|
minimum: 0
|
|
4443
4443
|
maximum: 1
|
|
4444
|
-
description: X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right)
|
|
4444
|
+
description: 'X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right). Required for photos, ignored for Reels/videos, optional for stories.'
|
|
4445
4445
|
example: 0.5
|
|
4446
4446
|
y:
|
|
4447
4447
|
type: number
|
|
4448
4448
|
minimum: 0
|
|
4449
4449
|
maximum: 1
|
|
4450
|
-
description: Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom)
|
|
4450
|
+
description: 'Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom). Required for photos, ignored for Reels/videos, optional for stories.'
|
|
4451
4451
|
example: 0.5
|
|
4452
4452
|
mediaIndex:
|
|
4453
4453
|
type: integer
|
|
4454
4454
|
minimum: 0
|
|
4455
|
-
description: Zero-based index of the carousel item to tag. Defaults to 0. Tags on
|
|
4455
|
+
description: Zero-based index of the carousel item to tag. Defaults to 0. Tags on out-of-range indices are ignored.
|
|
4456
4456
|
example: 0
|
|
4457
4457
|
audioName:
|
|
4458
4458
|
type: string
|
|
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.605
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4862,7 +4862,7 @@ files:
|
|
|
4862
4862
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4863
4863
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4864
4864
|
- spec/spec_helper.rb
|
|
4865
|
-
- zernio-sdk-0.0.
|
|
4865
|
+
- zernio-sdk-0.0.605.gem
|
|
4866
4866
|
- zernio-sdk.gemspec
|
|
4867
4867
|
homepage: https://openapi-generator.tech
|
|
4868
4868
|
licenses:
|
data/zernio-sdk-0.0.604.gem
DELETED
|
Binary file
|