late-sdk 0.0.911 → 0.0.913

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: edac1fba99aced729cfa76dca03e53ad7397ed7c9d28f345e576a3268e12af16
4
- data.tar.gz: 36a92f68f4ed4d22c21ae1e37d2889239a538e5d8ca973910294c29af6ef371f
3
+ metadata.gz: 3cb5673e0ef60c9f478327d0e50a911d605a8d963570e5b3e7bf8d3700035dbf
4
+ data.tar.gz: ec0f6511d0bd0b7d83a02282b34e10baee4c5f906801b961a84316ee882c706a
5
5
  SHA512:
6
- metadata.gz: 5a42683510b5d49ea01431072fc6777c2ba42eee6d4f5fd4ad6721cf474024882dabe672be2b6333a2b00eca9a19848971459a9016ba17ad035ccbd5bd458afa
7
- data.tar.gz: b553108f68578830344d3b4386ea3168b9bf1ff92855f6089a5b50e96903897cb6b8339b2490f30174e6b1ae89dcd5e225a37fe7bdd6fa50196f4b1ec330afb8
6
+ metadata.gz: 53a62eb938e5f83429294916f34d73f1bc4a61467b8c03028dbd9fc7176ccf40ee747f186b4c44831c9f742b144f6554699be234676676a531a2d706de5c7e93
7
+ data.tar.gz: 13d7a8929cc6565294a831256da504ffc3550208c504d15d1ce3aad6f11984274bb2ee4ba16e2a5aeb09a99ebf9d9f0cc434abcd252fa47c0bef05db0732501b
@@ -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
  ```
@@ -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
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.911'
14
+ VERSION = '0.0.913'
15
15
  end
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.911
4
+ version: 0.0.913
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.911.gem
6334
+ - zernio-sdk-0.0.913.gem
6335
6335
  - zernio-sdk.gemspec
6336
6336
  homepage: https://openapi-generator.tech
6337
6337
  licenses:
Binary file