late-sdk 0.0.911 → 0.0.912
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/GetInboxPostComments200ResponseCommentsInner.md +1 -1
- data/docs/LikeInboxComment200Response.md +4 -0
- data/docs/LikePost200Response.md +5 -1
- data/lib/zernio-sdk/models/get_inbox_post_comments200_response_comments_inner.rb +1 -1
- data/lib/zernio-sdk/models/like_inbox_comment200_response.rb +21 -1
- data/lib/zernio-sdk/models/like_post200_response.rb +24 -4
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +9 -1
- data/spec/models/like_inbox_comment200_response_spec.rb +12 -0
- data/spec/models/like_post200_response_spec.rb +12 -0
- data/zernio-sdk-0.0.912.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.911.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: 65646410c1f9d86e5027bdc7148dcf2298cc8ea4ee9f20d7672581ee74f897b3
|
|
4
|
+
data.tar.gz: 54217672f8f2f751bf7c39c98630e06125127ecb038d6f1dc84cbf25c7087dd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e47f2c88476391e6e7bbef95e6a399231a5e940c96728a8c4fe8fbe89a04d31ef4a3b89669fb17fd34b65a37e6f5cb27cc5e35e811e0a9a87d2023e981bde68
|
|
7
|
+
data.tar.gz: 4ff1403b30bd9b4017661cb56365bb3e5225d2d71fd6dae443e471bcd1c6af5e78b372006af365767eee8561d2f0114703bbc6a9827935ee060566a55b644bdb
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
| **can_reply** | **Boolean** | | [optional] |
|
|
18
18
|
| **can_delete** | **Boolean** | | [optional] |
|
|
19
19
|
| **can_hide** | **Boolean** | Whether this comment can be hidden (Facebook, Instagram, Threads) | [optional] |
|
|
20
|
-
| **can_like** | **Boolean** | Whether this comment can be liked (Facebook, X, Bluesky, Reddit) | [optional] |
|
|
20
|
+
| **can_like** | **Boolean** | Whether this comment can be liked (Facebook, X, Bluesky, Reddit, LinkedIn) | [optional] |
|
|
21
21
|
| **is_hidden** | **Boolean** | Whether the comment is currently hidden | [optional] |
|
|
22
22
|
| **is_liked** | **Boolean** | Whether the current user has liked this comment | [optional] |
|
|
23
23
|
| **like_uri** | **String** | Bluesky like URI for unliking | [optional] |
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
| **comment_id** | **String** | | [optional] |
|
|
9
9
|
| **liked** | **Boolean** | | [optional] |
|
|
10
10
|
| **like_uri** | **String** | (Bluesky only) URI to use for unliking | [optional] |
|
|
11
|
+
| **already_reacted** | **Boolean** | LinkedIn only: the account already had this exact reaction, so nothing was created | [optional] |
|
|
12
|
+
| **reaction_type** | **String** | LinkedIn only: the reaction type now in effect | [optional] |
|
|
11
13
|
| **platform** | **String** | | [optional] |
|
|
12
14
|
|
|
13
15
|
## Example
|
|
@@ -20,6 +22,8 @@ instance = Zernio::LikeInboxComment200Response.new(
|
|
|
20
22
|
comment_id: null,
|
|
21
23
|
liked: null,
|
|
22
24
|
like_uri: null,
|
|
25
|
+
already_reacted: null,
|
|
26
|
+
reaction_type: null,
|
|
23
27
|
platform: null
|
|
24
28
|
)
|
|
25
29
|
```
|
data/docs/LikePost200Response.md
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
| **platform** | **String** | | [optional] |
|
|
10
10
|
| **liked** | **Boolean** | | [optional] |
|
|
11
11
|
| **like_uri** | **String** | (Bluesky only) URI to use for unliking | [optional] |
|
|
12
|
+
| **already_reacted** | **Boolean** | LinkedIn only: the account already had this exact reaction, so nothing was created | [optional] |
|
|
13
|
+
| **reaction_type** | **String** | LinkedIn only: the reaction type now in effect | [optional] |
|
|
12
14
|
|
|
13
15
|
## Example
|
|
14
16
|
|
|
@@ -20,7 +22,9 @@ instance = Zernio::LikePost200Response.new(
|
|
|
20
22
|
post_id: null,
|
|
21
23
|
platform: null,
|
|
22
24
|
liked: null,
|
|
23
|
-
like_uri: null
|
|
25
|
+
like_uri: null,
|
|
26
|
+
already_reacted: null,
|
|
27
|
+
reaction_type: null
|
|
24
28
|
)
|
|
25
29
|
```
|
|
26
30
|
|
|
@@ -46,7 +46,7 @@ module Zernio
|
|
|
46
46
|
# Whether this comment can be hidden (Facebook, Instagram, Threads)
|
|
47
47
|
attr_accessor :can_hide
|
|
48
48
|
|
|
49
|
-
# Whether this comment can be liked (Facebook, X, Bluesky, Reddit)
|
|
49
|
+
# Whether this comment can be liked (Facebook, X, Bluesky, Reddit, LinkedIn)
|
|
50
50
|
attr_accessor :can_like
|
|
51
51
|
|
|
52
52
|
# Whether the comment is currently hidden
|
|
@@ -24,6 +24,12 @@ module Zernio
|
|
|
24
24
|
# (Bluesky only) URI to use for unliking
|
|
25
25
|
attr_accessor :like_uri
|
|
26
26
|
|
|
27
|
+
# LinkedIn only: the account already had this exact reaction, so nothing was created
|
|
28
|
+
attr_accessor :already_reacted
|
|
29
|
+
|
|
30
|
+
# LinkedIn only: the reaction type now in effect
|
|
31
|
+
attr_accessor :reaction_type
|
|
32
|
+
|
|
27
33
|
attr_accessor :platform
|
|
28
34
|
|
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -33,6 +39,8 @@ module Zernio
|
|
|
33
39
|
:'comment_id' => :'commentId',
|
|
34
40
|
:'liked' => :'liked',
|
|
35
41
|
:'like_uri' => :'likeUri',
|
|
42
|
+
:'already_reacted' => :'alreadyReacted',
|
|
43
|
+
:'reaction_type' => :'reactionType',
|
|
36
44
|
:'platform' => :'platform'
|
|
37
45
|
}
|
|
38
46
|
end
|
|
@@ -54,6 +62,8 @@ module Zernio
|
|
|
54
62
|
:'comment_id' => :'String',
|
|
55
63
|
:'liked' => :'Boolean',
|
|
56
64
|
:'like_uri' => :'String',
|
|
65
|
+
:'already_reacted' => :'Boolean',
|
|
66
|
+
:'reaction_type' => :'String',
|
|
57
67
|
:'platform' => :'String'
|
|
58
68
|
}
|
|
59
69
|
end
|
|
@@ -96,6 +106,14 @@ module Zernio
|
|
|
96
106
|
self.like_uri = attributes[:'like_uri']
|
|
97
107
|
end
|
|
98
108
|
|
|
109
|
+
if attributes.key?(:'already_reacted')
|
|
110
|
+
self.already_reacted = attributes[:'already_reacted']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'reaction_type')
|
|
114
|
+
self.reaction_type = attributes[:'reaction_type']
|
|
115
|
+
end
|
|
116
|
+
|
|
99
117
|
if attributes.key?(:'platform')
|
|
100
118
|
self.platform = attributes[:'platform']
|
|
101
119
|
end
|
|
@@ -125,6 +143,8 @@ module Zernio
|
|
|
125
143
|
comment_id == o.comment_id &&
|
|
126
144
|
liked == o.liked &&
|
|
127
145
|
like_uri == o.like_uri &&
|
|
146
|
+
already_reacted == o.already_reacted &&
|
|
147
|
+
reaction_type == o.reaction_type &&
|
|
128
148
|
platform == o.platform
|
|
129
149
|
end
|
|
130
150
|
|
|
@@ -137,7 +157,7 @@ module Zernio
|
|
|
137
157
|
# Calculates hash code according to all attributes.
|
|
138
158
|
# @return [Integer] Hash code
|
|
139
159
|
def hash
|
|
140
|
-
[status, comment_id, liked, like_uri, platform].hash
|
|
160
|
+
[status, comment_id, liked, like_uri, already_reacted, reaction_type, platform].hash
|
|
141
161
|
end
|
|
142
162
|
|
|
143
163
|
# Builds the object from hash
|
|
@@ -27,6 +27,12 @@ module Zernio
|
|
|
27
27
|
# (Bluesky only) URI to use for unliking
|
|
28
28
|
attr_accessor :like_uri
|
|
29
29
|
|
|
30
|
+
# LinkedIn only: the account already had this exact reaction, so nothing was created
|
|
31
|
+
attr_accessor :already_reacted
|
|
32
|
+
|
|
33
|
+
# LinkedIn only: the reaction type now in effect
|
|
34
|
+
attr_accessor :reaction_type
|
|
35
|
+
|
|
30
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
37
|
def self.attribute_map
|
|
32
38
|
{
|
|
@@ -34,7 +40,9 @@ module Zernio
|
|
|
34
40
|
:'post_id' => :'postId',
|
|
35
41
|
:'platform' => :'platform',
|
|
36
42
|
:'liked' => :'liked',
|
|
37
|
-
:'like_uri' => :'likeUri'
|
|
43
|
+
:'like_uri' => :'likeUri',
|
|
44
|
+
:'already_reacted' => :'alreadyReacted',
|
|
45
|
+
:'reaction_type' => :'reactionType'
|
|
38
46
|
}
|
|
39
47
|
end
|
|
40
48
|
|
|
@@ -55,7 +63,9 @@ module Zernio
|
|
|
55
63
|
:'post_id' => :'String',
|
|
56
64
|
:'platform' => :'String',
|
|
57
65
|
:'liked' => :'Boolean',
|
|
58
|
-
:'like_uri' => :'String'
|
|
66
|
+
:'like_uri' => :'String',
|
|
67
|
+
:'already_reacted' => :'Boolean',
|
|
68
|
+
:'reaction_type' => :'String'
|
|
59
69
|
}
|
|
60
70
|
end
|
|
61
71
|
|
|
@@ -100,6 +110,14 @@ module Zernio
|
|
|
100
110
|
if attributes.key?(:'like_uri')
|
|
101
111
|
self.like_uri = attributes[:'like_uri']
|
|
102
112
|
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'already_reacted')
|
|
115
|
+
self.already_reacted = attributes[:'already_reacted']
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'reaction_type')
|
|
119
|
+
self.reaction_type = attributes[:'reaction_type']
|
|
120
|
+
end
|
|
103
121
|
end
|
|
104
122
|
|
|
105
123
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -126,7 +144,9 @@ module Zernio
|
|
|
126
144
|
post_id == o.post_id &&
|
|
127
145
|
platform == o.platform &&
|
|
128
146
|
liked == o.liked &&
|
|
129
|
-
like_uri == o.like_uri
|
|
147
|
+
like_uri == o.like_uri &&
|
|
148
|
+
already_reacted == o.already_reacted &&
|
|
149
|
+
reaction_type == o.reaction_type
|
|
130
150
|
end
|
|
131
151
|
|
|
132
152
|
# @see the `==` method
|
|
@@ -138,7 +158,7 @@ module Zernio
|
|
|
138
158
|
# Calculates hash code according to all attributes.
|
|
139
159
|
# @return [Integer] Hash code
|
|
140
160
|
def hash
|
|
141
|
-
[status, post_id, platform, liked, like_uri].hash
|
|
161
|
+
[status, post_id, platform, liked, like_uri, already_reacted, reaction_type].hash
|
|
142
162
|
end
|
|
143
163
|
|
|
144
164
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -31087,7 +31087,7 @@ paths:
|
|
|
31087
31087
|
canReply: { type: boolean }
|
|
31088
31088
|
canDelete: { type: boolean }
|
|
31089
31089
|
canHide: { type: boolean, description: "Whether this comment can be hidden (Facebook, Instagram, Threads)" }
|
|
31090
|
-
canLike: { type: boolean, description: "Whether this comment can be liked (Facebook, X, Bluesky, Reddit)" }
|
|
31090
|
+
canLike: { type: boolean, description: "Whether this comment can be liked (Facebook, X, Bluesky, Reddit, LinkedIn)" }
|
|
31091
31091
|
isHidden: { type: boolean, description: Whether the comment is currently hidden }
|
|
31092
31092
|
isLiked: { type: boolean, description: Whether the current user has liked this comment }
|
|
31093
31093
|
likeUri: { type: [string, "null"], description: Bluesky like URI for unliking }
|
|
@@ -31556,12 +31556,16 @@ paths:
|
|
|
31556
31556
|
commentId: { type: string }
|
|
31557
31557
|
liked: { type: boolean }
|
|
31558
31558
|
likeUri: { type: string, description: (Bluesky only) URI to use for unliking }
|
|
31559
|
+
alreadyReacted: { type: boolean, description: 'LinkedIn only: the account already had this exact reaction, so nothing was created' }
|
|
31560
|
+
reactionType: { type: string, description: 'LinkedIn only: the reaction type now in effect' }
|
|
31559
31561
|
platform: { type: string }
|
|
31560
31562
|
'400':
|
|
31561
31563
|
description: Platform does not support liking comments
|
|
31562
31564
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
31563
31565
|
'403':
|
|
31564
31566
|
description: Inbox addon required, or the account is missing the platform permission
|
|
31567
|
+
'409':
|
|
31568
|
+
description: 'LinkedIn only: the account already holds a different reaction on this target (code invalid_resource_state); remove it before creating another.'
|
|
31565
31569
|
delete:
|
|
31566
31570
|
x-resource-group: "engagement"
|
|
31567
31571
|
operationId: unlikeInboxComment
|
|
@@ -31682,12 +31686,16 @@ paths:
|
|
|
31682
31686
|
platform: { type: string }
|
|
31683
31687
|
liked: { type: boolean }
|
|
31684
31688
|
likeUri: { type: string, description: (Bluesky only) URI to use for unliking }
|
|
31689
|
+
alreadyReacted: { type: boolean, description: 'LinkedIn only: the account already had this exact reaction, so nothing was created' }
|
|
31690
|
+
reactionType: { type: string, description: 'LinkedIn only: the reaction type now in effect' }
|
|
31685
31691
|
'400': { $ref: '#/components/responses/BadRequest' }
|
|
31686
31692
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
31687
31693
|
'403':
|
|
31688
31694
|
description: Inbox addon required, or the account is missing the platform scope
|
|
31689
31695
|
'404':
|
|
31690
31696
|
description: Account or post not found
|
|
31697
|
+
'409':
|
|
31698
|
+
description: 'LinkedIn only: the account already holds a different reaction on this target (code invalid_resource_state); remove it before creating another.'
|
|
31691
31699
|
delete:
|
|
31692
31700
|
operationId: unlikePost
|
|
31693
31701
|
summary: Unlike post
|
|
@@ -51,6 +51,18 @@ describe Zernio::LikeInboxComment200Response do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "already_reacted"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "reaction_type"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
54
66
|
describe 'test attribute "platform"' do
|
|
55
67
|
it 'should work' do
|
|
56
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -57,4 +57,16 @@ describe Zernio::LikePost200Response do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
describe 'test attribute "already_reacted"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "reaction_type"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
60
72
|
end
|
|
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.912
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -6331,7 +6331,7 @@ files:
|
|
|
6331
6331
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
6332
6332
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
6333
6333
|
- spec/spec_helper.rb
|
|
6334
|
-
- zernio-sdk-0.0.
|
|
6334
|
+
- zernio-sdk-0.0.912.gem
|
|
6335
6335
|
- zernio-sdk.gemspec
|
|
6336
6336
|
homepage: https://openapi-generator.tech
|
|
6337
6337
|
licenses:
|
data/zernio-sdk-0.0.911.gem
DELETED
|
Binary file
|