late-sdk 0.0.702 → 0.0.703
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/README.md +5 -0
- data/docs/CommentsApi.md +150 -2
- data/docs/LikeInboxCommentRequest.md +2 -0
- data/docs/LikePost200Response.md +26 -0
- data/docs/LikePostRequest.md +22 -0
- data/docs/UnlikePost200Response.md +24 -0
- data/lib/zernio-sdk/api/comments_api.rb +151 -4
- data/lib/zernio-sdk/models/like_inbox_comment_request.rb +45 -1
- data/lib/zernio-sdk/models/like_post200_response.rb +185 -0
- data/lib/zernio-sdk/models/like_post_request.rb +219 -0
- data/lib/zernio-sdk/models/unlike_post200_response.rb +175 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +3 -0
- data/openapi.yaml +118 -4
- data/spec/api/comments_api_spec.rb +29 -2
- data/spec/models/like_inbox_comment_request_spec.rb +10 -0
- data/spec/models/like_post200_response_spec.rb +60 -0
- data/spec/models/like_post_request_spec.rb +52 -0
- data/spec/models/unlike_post200_response_spec.rb +54 -0
- data/zernio-sdk-0.0.703.gem +0 -0
- metadata +14 -2
- data/zernio-sdk-0.0.702.gem +0 -0
data/openapi.yaml
CHANGED
|
@@ -26309,8 +26309,12 @@ paths:
|
|
|
26309
26309
|
operationId: likeInboxComment
|
|
26310
26310
|
summary: Like comment
|
|
26311
26311
|
description: |
|
|
26312
|
-
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X,
|
|
26313
|
-
For Bluesky, the cid (content identifier) is required
|
|
26312
|
+
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X,
|
|
26313
|
+
Bluesky, Reddit, LinkedIn. For Bluesky, the cid (content identifier) is required
|
|
26314
|
+
in the request body. For LinkedIn, pass the composite comment URN returned by the
|
|
26315
|
+
comments endpoints as commentId; an optional reactionType picks the reaction
|
|
26316
|
+
(defaults to LIKE), and accounts connected before the social-feed scopes were
|
|
26317
|
+
requested get a 403 with code `linkedin_reconnect_required`.
|
|
26314
26318
|
tags: [Comments]
|
|
26315
26319
|
security: [{ bearerAuth: [] }]
|
|
26316
26320
|
parameters:
|
|
@@ -26331,6 +26335,10 @@ paths:
|
|
|
26331
26335
|
required: [accountId]
|
|
26332
26336
|
properties:
|
|
26333
26337
|
accountId: { type: string, description: The social account ID }
|
|
26338
|
+
reactionType:
|
|
26339
|
+
type: string
|
|
26340
|
+
enum: [LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, ENTERTAINMENT]
|
|
26341
|
+
description: '(LinkedIn only) Reaction to create. Defaults to LIKE; ignored on other platforms.'
|
|
26334
26342
|
cid: { type: string, description: (Bluesky only) Content identifier for the comment }
|
|
26335
26343
|
responses:
|
|
26336
26344
|
'200':
|
|
@@ -26355,8 +26363,8 @@ paths:
|
|
|
26355
26363
|
operationId: unlikeInboxComment
|
|
26356
26364
|
summary: Unlike comment
|
|
26357
26365
|
description: |
|
|
26358
|
-
Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky,
|
|
26359
|
-
For Bluesky, the likeUri query parameter is required.
|
|
26366
|
+
Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky,
|
|
26367
|
+
Reddit, LinkedIn. For Bluesky, the likeUri query parameter is required.
|
|
26360
26368
|
tags: [Comments]
|
|
26361
26369
|
security: [{ bearerAuth: [] }]
|
|
26362
26370
|
parameters:
|
|
@@ -26394,6 +26402,112 @@ paths:
|
|
|
26394
26402
|
'403':
|
|
26395
26403
|
description: Inbox addon required
|
|
26396
26404
|
|
|
26405
|
+
/v1/inbox/posts/{postId}/like:
|
|
26406
|
+
post:
|
|
26407
|
+
operationId: likePost
|
|
26408
|
+
summary: Like post
|
|
26409
|
+
description: |
|
|
26410
|
+
Like (or react to) a post as a connected account. Supported platforms: LinkedIn,
|
|
26411
|
+
Twitter/X, Facebook, YouTube, Bluesky. Instagram, Threads, TikTok and Pinterest
|
|
26412
|
+
expose no like endpoint in their APIs and return 400. Reddit returns 400 too,
|
|
26413
|
+
pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote,
|
|
26414
|
+
downvote and clear on both posts and comments.
|
|
26415
|
+
|
|
26416
|
+
The account does not have to be the one that published the post, which is what
|
|
26417
|
+
makes executive engagement possible: pass an exec's `accountId` and the brand
|
|
26418
|
+
post's ID. `postId` accepts either a Zernio post ID or the platform's native post
|
|
26419
|
+
ID. A Zernio post ID resolves to the entry for `accountId`, falling back to the
|
|
26420
|
+
post's single entry on the same platform (two entries on that platform is a 400,
|
|
26421
|
+
so pass the native ID).
|
|
26422
|
+
|
|
26423
|
+
LinkedIn requires the `w_member_social_feed` / `w_organization_social_feed`
|
|
26424
|
+
scopes, which are not retroactive: accounts connected before those were requested
|
|
26425
|
+
get a 403 with code `linkedin_reconnect_required` until the user reconnects the
|
|
26426
|
+
account. YouTube spends 50 quota units per call.
|
|
26427
|
+
tags: [Comments]
|
|
26428
|
+
security: [{ bearerAuth: [] }]
|
|
26429
|
+
parameters:
|
|
26430
|
+
- name: postId
|
|
26431
|
+
in: path
|
|
26432
|
+
required: true
|
|
26433
|
+
schema: { type: string }
|
|
26434
|
+
description: Zernio post ID or the platform's native post ID
|
|
26435
|
+
requestBody:
|
|
26436
|
+
required: true
|
|
26437
|
+
content:
|
|
26438
|
+
application/json:
|
|
26439
|
+
schema:
|
|
26440
|
+
type: object
|
|
26441
|
+
required: [accountId]
|
|
26442
|
+
properties:
|
|
26443
|
+
accountId: { type: string, description: The social account acting as the liker }
|
|
26444
|
+
reactionType:
|
|
26445
|
+
type: string
|
|
26446
|
+
enum: [LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, ENTERTAINMENT]
|
|
26447
|
+
description: '(LinkedIn only) Reaction to create. Defaults to LIKE; ignored on other platforms.'
|
|
26448
|
+
cid: { type: string, description: (Bluesky only) Content identifier of the post }
|
|
26449
|
+
responses:
|
|
26450
|
+
'200':
|
|
26451
|
+
description: Post liked
|
|
26452
|
+
content:
|
|
26453
|
+
application/json:
|
|
26454
|
+
schema:
|
|
26455
|
+
type: object
|
|
26456
|
+
properties:
|
|
26457
|
+
status: { type: string }
|
|
26458
|
+
postId: { type: string, description: The resolved native post ID }
|
|
26459
|
+
platform: { type: string }
|
|
26460
|
+
liked: { type: boolean }
|
|
26461
|
+
likeUri: { type: string, description: (Bluesky only) URI to use for unliking }
|
|
26462
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
26463
|
+
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
26464
|
+
'403':
|
|
26465
|
+
description: Inbox addon required, or the account is missing the platform scope
|
|
26466
|
+
'404':
|
|
26467
|
+
description: Account or post not found
|
|
26468
|
+
delete:
|
|
26469
|
+
operationId: unlikePost
|
|
26470
|
+
summary: Unlike post
|
|
26471
|
+
description: |
|
|
26472
|
+
Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X,
|
|
26473
|
+
Facebook, YouTube, Bluesky. On YouTube this clears the rating. For Bluesky,
|
|
26474
|
+
`likeUri` (returned when the post was liked) is required. Reddit uses
|
|
26475
|
+
`POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
26476
|
+
tags: [Comments]
|
|
26477
|
+
security: [{ bearerAuth: [] }]
|
|
26478
|
+
parameters:
|
|
26479
|
+
- name: postId
|
|
26480
|
+
in: path
|
|
26481
|
+
required: true
|
|
26482
|
+
schema: { type: string }
|
|
26483
|
+
description: Zernio post ID or the platform's native post ID
|
|
26484
|
+
- name: accountId
|
|
26485
|
+
in: query
|
|
26486
|
+
required: true
|
|
26487
|
+
schema: { type: string }
|
|
26488
|
+
- name: likeUri
|
|
26489
|
+
in: query
|
|
26490
|
+
schema: { type: string }
|
|
26491
|
+
description: (Bluesky only) The like URI returned when liking
|
|
26492
|
+
responses:
|
|
26493
|
+
'200':
|
|
26494
|
+
description: Post unliked
|
|
26495
|
+
content:
|
|
26496
|
+
application/json:
|
|
26497
|
+
schema:
|
|
26498
|
+
type: object
|
|
26499
|
+
properties:
|
|
26500
|
+
status: { type: string }
|
|
26501
|
+
postId: { type: string, description: The resolved native post ID }
|
|
26502
|
+
platform: { type: string }
|
|
26503
|
+
liked: { type: boolean }
|
|
26504
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
26505
|
+
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
26506
|
+
'403':
|
|
26507
|
+
description: Inbox addon required, or the account is missing the platform scope
|
|
26508
|
+
'404':
|
|
26509
|
+
description: Account or post not found
|
|
26510
|
+
|
|
26397
26511
|
/v1/inbox/comments/{postId}/{commentId}/private-reply:
|
|
26398
26512
|
post:
|
|
26399
26513
|
x-resource-group: "messages"
|
|
@@ -93,7 +93,7 @@ describe 'CommentsApi' do
|
|
|
93
93
|
|
|
94
94
|
# unit tests for like_inbox_comment
|
|
95
95
|
# Like comment
|
|
96
|
-
# Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit. For Bluesky, the cid (content identifier) is required in the request body.
|
|
96
|
+
# Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`.
|
|
97
97
|
# @param post_id
|
|
98
98
|
# @param comment_id
|
|
99
99
|
# @param like_inbox_comment_request
|
|
@@ -105,6 +105,19 @@ describe 'CommentsApi' do
|
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
# unit tests for like_post
|
|
109
|
+
# Like post
|
|
110
|
+
# Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky. Instagram, Threads, TikTok and Pinterest expose no like endpoint in their APIs and return 400. Reddit returns 400 too, pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote, downvote and clear on both posts and comments. The account does not have to be the one that published the post, which is what makes executive engagement possible: pass an exec's `accountId` and the brand post's ID. `postId` accepts either a Zernio post ID or the platform's native post ID. A Zernio post ID resolves to the entry for `accountId`, falling back to the post's single entry on the same platform (two entries on that platform is a 400, so pass the native ID). LinkedIn requires the `w_member_social_feed` / `w_organization_social_feed` scopes, which are not retroactive: accounts connected before those were requested get a 403 with code `linkedin_reconnect_required` until the user reconnects the account. YouTube spends 50 quota units per call.
|
|
111
|
+
# @param post_id Zernio post ID or the platform's native post ID
|
|
112
|
+
# @param like_post_request
|
|
113
|
+
# @param [Hash] opts the optional parameters
|
|
114
|
+
# @return [LikePost200Response]
|
|
115
|
+
describe 'like_post test' do
|
|
116
|
+
it 'should work' do
|
|
117
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
108
121
|
# unit tests for list_inbox_comments
|
|
109
122
|
# List commented posts
|
|
110
123
|
# Returns posts with comment counts from all connected accounts. Aggregates data across multiple accounts. For users with the Ads add-on (Metronome plans always qualify), the user's Meta ads (boosted/dark posts) are included too. There's one row per (ad, placement-with-comments): an ad that runs on both Facebook feed and Instagram feed produces up to two rows (the Page dark post and the IG media have separate comment threads), each flagged `isAd: true` with `adId` and `placement` (`id` is `{adId}:{placement}`). Use `?platform=metaads` to return *only* ad rows; passing `facebook`/`instagram` returns *organic* posts only (no ads); omitting `platform` returns both. Fetch a row's thread from GET /v1/ads/{adId}/comments?placement={placement}. Ad comment counts are read with the Marketing API token (Facebook side) or the connected Instagram account's token (Instagram side); a row whose count can't be read is omitted. Pagination walks each account's platform listing. Following `nextCursor` reaches past the first page on Facebook and Instagram only, since they are the platforms that support a server-side date window; on the others the listing stops at its first page.
|
|
@@ -182,7 +195,7 @@ describe 'CommentsApi' do
|
|
|
182
195
|
|
|
183
196
|
# unit tests for unlike_inbox_comment
|
|
184
197
|
# Unlike comment
|
|
185
|
-
# Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit. For Bluesky, the likeUri query parameter is required.
|
|
198
|
+
# Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the likeUri query parameter is required.
|
|
186
199
|
# @param post_id
|
|
187
200
|
# @param comment_id
|
|
188
201
|
# @param account_id
|
|
@@ -195,4 +208,18 @@ describe 'CommentsApi' do
|
|
|
195
208
|
end
|
|
196
209
|
end
|
|
197
210
|
|
|
211
|
+
# unit tests for unlike_post
|
|
212
|
+
# Unlike post
|
|
213
|
+
# Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky. On YouTube this clears the rating. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
214
|
+
# @param post_id Zernio post ID or the platform's native post ID
|
|
215
|
+
# @param account_id
|
|
216
|
+
# @param [Hash] opts the optional parameters
|
|
217
|
+
# @option opts [String] :like_uri (Bluesky only) The like URI returned when liking
|
|
218
|
+
# @return [UnlikePost200Response]
|
|
219
|
+
describe 'unlike_post test' do
|
|
220
|
+
it 'should work' do
|
|
221
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
198
225
|
end
|
|
@@ -33,6 +33,16 @@ describe Zernio::LikeInboxCommentRequest do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "reaction_type"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["LIKE", "PRAISE", "EMPATHY", "INTEREST", "APPRECIATION", "ENTERTAINMENT"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.reaction_type = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
36
46
|
describe 'test attribute "cid"' do
|
|
37
47
|
it 'should work' do
|
|
38
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::LikePost200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::LikePost200Response do
|
|
21
|
+
#let(:instance) { Zernio::LikePost200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LikePost200Response' do
|
|
24
|
+
it 'should create an instance of LikePost200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::LikePost200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "status"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "post_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "platform"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "liked"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "like_uri"' 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
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::LikePostRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::LikePostRequest do
|
|
21
|
+
#let(:instance) { Zernio::LikePostRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LikePostRequest' do
|
|
24
|
+
it 'should create an instance of LikePostRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::LikePostRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "account_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "reaction_type"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["LIKE", "PRAISE", "EMPATHY", "INTEREST", "APPRECIATION", "ENTERTAINMENT"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.reaction_type = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "cid"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::UnlikePost200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::UnlikePost200Response do
|
|
21
|
+
#let(:instance) { Zernio::UnlikePost200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UnlikePost200Response' do
|
|
24
|
+
it 'should create an instance of UnlikePost200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::UnlikePost200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "status"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "post_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "platform"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "liked"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
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.703
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -870,6 +870,8 @@ files:
|
|
|
870
870
|
- docs/LeadGenApi.md
|
|
871
871
|
- docs/LikeInboxComment200Response.md
|
|
872
872
|
- docs/LikeInboxCommentRequest.md
|
|
873
|
+
- docs/LikePost200Response.md
|
|
874
|
+
- docs/LikePostRequest.md
|
|
873
875
|
- docs/LinkedInAdsPlatformData.md
|
|
874
876
|
- docs/LinkedInAdsPlatformDataCarousel.md
|
|
875
877
|
- docs/LinkedInAdsPlatformDataCarouselCardsInner.md
|
|
@@ -1400,6 +1402,7 @@ files:
|
|
|
1400
1402
|
- docs/UndoRetweet200Response.md
|
|
1401
1403
|
- docs/UnfollowUser200Response.md
|
|
1402
1404
|
- docs/UnlikeInboxComment200Response.md
|
|
1405
|
+
- docs/UnlikePost200Response.md
|
|
1403
1406
|
- docs/UnpinDiscordMessage200Response.md
|
|
1404
1407
|
- docs/UnpublishPost200Response.md
|
|
1405
1408
|
- docs/UnpublishPostRequest.md
|
|
@@ -2567,6 +2570,8 @@ files:
|
|
|
2567
2570
|
- lib/zernio-sdk/models/instagram_platform_data_user_tags_inner.rb
|
|
2568
2571
|
- lib/zernio-sdk/models/like_inbox_comment200_response.rb
|
|
2569
2572
|
- lib/zernio-sdk/models/like_inbox_comment_request.rb
|
|
2573
|
+
- lib/zernio-sdk/models/like_post200_response.rb
|
|
2574
|
+
- lib/zernio-sdk/models/like_post_request.rb
|
|
2570
2575
|
- lib/zernio-sdk/models/linked_in_ads_platform_data.rb
|
|
2571
2576
|
- lib/zernio-sdk/models/linked_in_ads_platform_data_carousel.rb
|
|
2572
2577
|
- lib/zernio-sdk/models/linked_in_ads_platform_data_carousel_cards_inner.rb
|
|
@@ -3079,6 +3084,7 @@ files:
|
|
|
3079
3084
|
- lib/zernio-sdk/models/undo_retweet200_response.rb
|
|
3080
3085
|
- lib/zernio-sdk/models/unfollow_user200_response.rb
|
|
3081
3086
|
- lib/zernio-sdk/models/unlike_inbox_comment200_response.rb
|
|
3087
|
+
- lib/zernio-sdk/models/unlike_post200_response.rb
|
|
3082
3088
|
- lib/zernio-sdk/models/unpin_discord_message200_response.rb
|
|
3083
3089
|
- lib/zernio-sdk/models/unpublish_post200_response.rb
|
|
3084
3090
|
- lib/zernio-sdk/models/unpublish_post_request.rb
|
|
@@ -4226,6 +4232,8 @@ files:
|
|
|
4226
4232
|
- spec/models/instagram_platform_data_user_tags_inner_spec.rb
|
|
4227
4233
|
- spec/models/like_inbox_comment200_response_spec.rb
|
|
4228
4234
|
- spec/models/like_inbox_comment_request_spec.rb
|
|
4235
|
+
- spec/models/like_post200_response_spec.rb
|
|
4236
|
+
- spec/models/like_post_request_spec.rb
|
|
4229
4237
|
- spec/models/linked_in_ads_platform_data_carousel_cards_inner_spec.rb
|
|
4230
4238
|
- spec/models/linked_in_ads_platform_data_carousel_spec.rb
|
|
4231
4239
|
- spec/models/linked_in_ads_platform_data_conversation_messages_inner_buttons_inner_spec.rb
|
|
@@ -4738,6 +4746,7 @@ files:
|
|
|
4738
4746
|
- spec/models/undo_retweet200_response_spec.rb
|
|
4739
4747
|
- spec/models/unfollow_user200_response_spec.rb
|
|
4740
4748
|
- spec/models/unlike_inbox_comment200_response_spec.rb
|
|
4749
|
+
- spec/models/unlike_post200_response_spec.rb
|
|
4741
4750
|
- spec/models/unpin_discord_message200_response_spec.rb
|
|
4742
4751
|
- spec/models/unpublish_post200_response_spec.rb
|
|
4743
4752
|
- spec/models/unpublish_post_request_spec.rb
|
|
@@ -5045,7 +5054,7 @@ files:
|
|
|
5045
5054
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5046
5055
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5047
5056
|
- spec/spec_helper.rb
|
|
5048
|
-
- zernio-sdk-0.0.
|
|
5057
|
+
- zernio-sdk-0.0.703.gem
|
|
5049
5058
|
- zernio-sdk.gemspec
|
|
5050
5059
|
homepage: https://openapi-generator.tech
|
|
5051
5060
|
licenses:
|
|
@@ -5331,6 +5340,7 @@ test_files:
|
|
|
5331
5340
|
- spec/models/uploaded_or_derived_audience_companies_inner_spec.rb
|
|
5332
5341
|
- spec/models/list_workflow_versions200_response_versions_inner_spec.rb
|
|
5333
5342
|
- spec/models/conversion_event_items_inner_spec.rb
|
|
5343
|
+
- spec/models/like_post200_response_spec.rb
|
|
5334
5344
|
- spec/models/edit_inbox_message_request_spec.rb
|
|
5335
5345
|
- spec/models/follower_stats_response_stats_value_inner_spec.rb
|
|
5336
5346
|
- spec/models/add_users_to_ad_audience_request_users_inner_spec.rb
|
|
@@ -6541,6 +6551,7 @@ test_files:
|
|
|
6541
6551
|
- spec/models/linked_in_lead_form_platform_data_questions_inner_one_of1_choices_inner_spec.rb
|
|
6542
6552
|
- spec/models/create_discord_thread_request_spec.rb
|
|
6543
6553
|
- spec/models/create_whats_app_flow_request_spec.rb
|
|
6554
|
+
- spec/models/like_post_request_spec.rb
|
|
6544
6555
|
- spec/models/dial_voice_web_call200_response_spec.rb
|
|
6545
6556
|
- spec/models/list_whats_app_group_chats200_response_groups_inner_spec.rb
|
|
6546
6557
|
- spec/models/connect_bluesky_credentials_request_spec.rb
|
|
@@ -6702,6 +6713,7 @@ test_files:
|
|
|
6702
6713
|
- spec/models/webhook_payload_comment_comment_attachment_spec.rb
|
|
6703
6714
|
- spec/models/create_ad_insights_report_request_time_increment_spec.rb
|
|
6704
6715
|
- spec/models/create_standalone_ad_request_video_spec.rb
|
|
6716
|
+
- spec/models/unlike_post200_response_spec.rb
|
|
6705
6717
|
- spec/models/instagram_account_insights_response_date_range_spec.rb
|
|
6706
6718
|
- spec/models/billing_snapshot_balance_spec.rb
|
|
6707
6719
|
- spec/models/send_discord_direct_message_request_spec.rb
|
data/zernio-sdk-0.0.702.gem
DELETED
|
Binary file
|