late-sdk 0.0.702 → 0.0.704
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/GetMediaPresignedUrl200Response.md +2 -2
- data/docs/GetMediaPresignedUrlRequest.md +3 -1
- data/docs/LikeInboxCommentRequest.md +2 -0
- data/docs/LikePost200Response.md +26 -0
- data/docs/LikePostRequest.md +22 -0
- data/docs/MediaApi.md +1 -1
- data/docs/UnlikePost200Response.md +24 -0
- data/lib/zernio-sdk/api/comments_api.rb +151 -4
- data/lib/zernio-sdk/api/media_api.rb +2 -2
- data/lib/zernio-sdk/models/get_media_presigned_url200_response.rb +2 -2
- data/lib/zernio-sdk/models/get_media_presigned_url_request.rb +16 -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 +134 -7
- data/spec/api/comments_api_spec.rb +29 -2
- data/spec/api/media_api_spec.rb +1 -1
- data/spec/models/get_media_presigned_url_request_spec.rb +6 -0
- 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.704.gem +0 -0
- metadata +15 -3
- data/zernio-sdk-0.0.702.gem +0 -0
data/openapi.yaml
CHANGED
|
@@ -12317,7 +12317,15 @@ paths:
|
|
|
12317
12317
|
operationId: getMediaPresignedUrl
|
|
12318
12318
|
tags: [Media]
|
|
12319
12319
|
summary: Get upload URL
|
|
12320
|
-
description:
|
|
12320
|
+
description: |
|
|
12321
|
+
Get a presigned URL to upload files directly to cloud storage (up to 5GB). Returns an
|
|
12322
|
+
uploadUrl and publicUrl. PUT your file to the uploadUrl, then use the publicUrl in your posts.
|
|
12323
|
+
|
|
12324
|
+
By default the file is written to temporary storage and auto-deletes 7 days after upload,
|
|
12325
|
+
so the publicUrl stops resolving once that window passes. Send `permanent: true` to write
|
|
12326
|
+
straight to permanent storage, which has no expiry: use it for anything that must stay
|
|
12327
|
+
reachable for longer, in particular cover and thumbnail images on posts scheduled more
|
|
12328
|
+
than a week out.
|
|
12321
12329
|
requestBody:
|
|
12322
12330
|
required: true
|
|
12323
12331
|
content:
|
|
@@ -12359,6 +12367,11 @@ paths:
|
|
|
12359
12367
|
type: integer
|
|
12360
12368
|
description: Optional file size in bytes for pre-validation (max 5GB)
|
|
12361
12369
|
example: 15234567
|
|
12370
|
+
permanent:
|
|
12371
|
+
type: boolean
|
|
12372
|
+
default: false
|
|
12373
|
+
description: 'Write the file to permanent storage instead of temporary storage. Temporary files auto-delete 7 days after upload; permanent files never expire.'
|
|
12374
|
+
example: true
|
|
12362
12375
|
responses:
|
|
12363
12376
|
'200':
|
|
12364
12377
|
description: Presigned URL generated successfully
|
|
@@ -12374,10 +12387,10 @@ paths:
|
|
|
12374
12387
|
publicUrl:
|
|
12375
12388
|
type: string
|
|
12376
12389
|
format: uri
|
|
12377
|
-
description: Public URL where the file will be accessible after upload
|
|
12390
|
+
description: 'Public URL where the file will be accessible after upload. Served from the temp/ prefix by default (expires 7 days after upload) or from media/ when permanent is true.'
|
|
12378
12391
|
key:
|
|
12379
12392
|
type: string
|
|
12380
|
-
description: Storage key/path of the file
|
|
12393
|
+
description: 'Storage key/path of the file. Prefixed temp/ by default, media/ when permanent is true.'
|
|
12381
12394
|
expiresIn:
|
|
12382
12395
|
type: integer
|
|
12383
12396
|
description: Seconds until the presigned uploadUrl expires (always 3600)
|
|
@@ -26309,8 +26322,12 @@ paths:
|
|
|
26309
26322
|
operationId: likeInboxComment
|
|
26310
26323
|
summary: Like comment
|
|
26311
26324
|
description: |
|
|
26312
|
-
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X,
|
|
26313
|
-
For Bluesky, the cid (content identifier) is required
|
|
26325
|
+
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X,
|
|
26326
|
+
Bluesky, Reddit, LinkedIn. For Bluesky, the cid (content identifier) is required
|
|
26327
|
+
in the request body. For LinkedIn, pass the composite comment URN returned by the
|
|
26328
|
+
comments endpoints as commentId; an optional reactionType picks the reaction
|
|
26329
|
+
(defaults to LIKE), and accounts connected before the social-feed scopes were
|
|
26330
|
+
requested get a 403 with code `linkedin_reconnect_required`.
|
|
26314
26331
|
tags: [Comments]
|
|
26315
26332
|
security: [{ bearerAuth: [] }]
|
|
26316
26333
|
parameters:
|
|
@@ -26331,6 +26348,10 @@ paths:
|
|
|
26331
26348
|
required: [accountId]
|
|
26332
26349
|
properties:
|
|
26333
26350
|
accountId: { type: string, description: The social account ID }
|
|
26351
|
+
reactionType:
|
|
26352
|
+
type: string
|
|
26353
|
+
enum: [LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, ENTERTAINMENT]
|
|
26354
|
+
description: '(LinkedIn only) Reaction to create. Defaults to LIKE; ignored on other platforms.'
|
|
26334
26355
|
cid: { type: string, description: (Bluesky only) Content identifier for the comment }
|
|
26335
26356
|
responses:
|
|
26336
26357
|
'200':
|
|
@@ -26355,8 +26376,8 @@ paths:
|
|
|
26355
26376
|
operationId: unlikeInboxComment
|
|
26356
26377
|
summary: Unlike comment
|
|
26357
26378
|
description: |
|
|
26358
|
-
Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky,
|
|
26359
|
-
For Bluesky, the likeUri query parameter is required.
|
|
26379
|
+
Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky,
|
|
26380
|
+
Reddit, LinkedIn. For Bluesky, the likeUri query parameter is required.
|
|
26360
26381
|
tags: [Comments]
|
|
26361
26382
|
security: [{ bearerAuth: [] }]
|
|
26362
26383
|
parameters:
|
|
@@ -26394,6 +26415,112 @@ paths:
|
|
|
26394
26415
|
'403':
|
|
26395
26416
|
description: Inbox addon required
|
|
26396
26417
|
|
|
26418
|
+
/v1/inbox/posts/{postId}/like:
|
|
26419
|
+
post:
|
|
26420
|
+
operationId: likePost
|
|
26421
|
+
summary: Like post
|
|
26422
|
+
description: |
|
|
26423
|
+
Like (or react to) a post as a connected account. Supported platforms: LinkedIn,
|
|
26424
|
+
Twitter/X, Facebook, YouTube, Bluesky. Instagram, Threads, TikTok and Pinterest
|
|
26425
|
+
expose no like endpoint in their APIs and return 400. Reddit returns 400 too,
|
|
26426
|
+
pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote,
|
|
26427
|
+
downvote and clear on both posts and comments.
|
|
26428
|
+
|
|
26429
|
+
The account does not have to be the one that published the post, which is what
|
|
26430
|
+
makes executive engagement possible: pass an exec's `accountId` and the brand
|
|
26431
|
+
post's ID. `postId` accepts either a Zernio post ID or the platform's native post
|
|
26432
|
+
ID. A Zernio post ID resolves to the entry for `accountId`, falling back to the
|
|
26433
|
+
post's single entry on the same platform (two entries on that platform is a 400,
|
|
26434
|
+
so pass the native ID).
|
|
26435
|
+
|
|
26436
|
+
LinkedIn requires the `w_member_social_feed` / `w_organization_social_feed`
|
|
26437
|
+
scopes, which are not retroactive: accounts connected before those were requested
|
|
26438
|
+
get a 403 with code `linkedin_reconnect_required` until the user reconnects the
|
|
26439
|
+
account. YouTube spends 50 quota units per call.
|
|
26440
|
+
tags: [Comments]
|
|
26441
|
+
security: [{ bearerAuth: [] }]
|
|
26442
|
+
parameters:
|
|
26443
|
+
- name: postId
|
|
26444
|
+
in: path
|
|
26445
|
+
required: true
|
|
26446
|
+
schema: { type: string }
|
|
26447
|
+
description: Zernio post ID or the platform's native post ID
|
|
26448
|
+
requestBody:
|
|
26449
|
+
required: true
|
|
26450
|
+
content:
|
|
26451
|
+
application/json:
|
|
26452
|
+
schema:
|
|
26453
|
+
type: object
|
|
26454
|
+
required: [accountId]
|
|
26455
|
+
properties:
|
|
26456
|
+
accountId: { type: string, description: The social account acting as the liker }
|
|
26457
|
+
reactionType:
|
|
26458
|
+
type: string
|
|
26459
|
+
enum: [LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, ENTERTAINMENT]
|
|
26460
|
+
description: '(LinkedIn only) Reaction to create. Defaults to LIKE; ignored on other platforms.'
|
|
26461
|
+
cid: { type: string, description: (Bluesky only) Content identifier of the post }
|
|
26462
|
+
responses:
|
|
26463
|
+
'200':
|
|
26464
|
+
description: Post liked
|
|
26465
|
+
content:
|
|
26466
|
+
application/json:
|
|
26467
|
+
schema:
|
|
26468
|
+
type: object
|
|
26469
|
+
properties:
|
|
26470
|
+
status: { type: string }
|
|
26471
|
+
postId: { type: string, description: The resolved native post ID }
|
|
26472
|
+
platform: { type: string }
|
|
26473
|
+
liked: { type: boolean }
|
|
26474
|
+
likeUri: { type: string, description: (Bluesky only) URI to use for unliking }
|
|
26475
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
26476
|
+
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
26477
|
+
'403':
|
|
26478
|
+
description: Inbox addon required, or the account is missing the platform scope
|
|
26479
|
+
'404':
|
|
26480
|
+
description: Account or post not found
|
|
26481
|
+
delete:
|
|
26482
|
+
operationId: unlikePost
|
|
26483
|
+
summary: Unlike post
|
|
26484
|
+
description: |
|
|
26485
|
+
Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X,
|
|
26486
|
+
Facebook, YouTube, Bluesky. On YouTube this clears the rating. For Bluesky,
|
|
26487
|
+
`likeUri` (returned when the post was liked) is required. Reddit uses
|
|
26488
|
+
`POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
26489
|
+
tags: [Comments]
|
|
26490
|
+
security: [{ bearerAuth: [] }]
|
|
26491
|
+
parameters:
|
|
26492
|
+
- name: postId
|
|
26493
|
+
in: path
|
|
26494
|
+
required: true
|
|
26495
|
+
schema: { type: string }
|
|
26496
|
+
description: Zernio post ID or the platform's native post ID
|
|
26497
|
+
- name: accountId
|
|
26498
|
+
in: query
|
|
26499
|
+
required: true
|
|
26500
|
+
schema: { type: string }
|
|
26501
|
+
- name: likeUri
|
|
26502
|
+
in: query
|
|
26503
|
+
schema: { type: string }
|
|
26504
|
+
description: (Bluesky only) The like URI returned when liking
|
|
26505
|
+
responses:
|
|
26506
|
+
'200':
|
|
26507
|
+
description: Post unliked
|
|
26508
|
+
content:
|
|
26509
|
+
application/json:
|
|
26510
|
+
schema:
|
|
26511
|
+
type: object
|
|
26512
|
+
properties:
|
|
26513
|
+
status: { type: string }
|
|
26514
|
+
postId: { type: string, description: The resolved native post ID }
|
|
26515
|
+
platform: { type: string }
|
|
26516
|
+
liked: { type: boolean }
|
|
26517
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
26518
|
+
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
26519
|
+
'403':
|
|
26520
|
+
description: Inbox addon required, or the account is missing the platform scope
|
|
26521
|
+
'404':
|
|
26522
|
+
description: Account or post not found
|
|
26523
|
+
|
|
26397
26524
|
/v1/inbox/comments/{postId}/{commentId}/private-reply:
|
|
26398
26525
|
post:
|
|
26399
26526
|
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
|
data/spec/api/media_api_spec.rb
CHANGED
|
@@ -34,7 +34,7 @@ describe 'MediaApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for get_media_presigned_url
|
|
36
36
|
# Get upload URL
|
|
37
|
-
# Get a presigned URL to upload files directly to cloud storage (up to 5GB). Returns an uploadUrl and publicUrl. PUT your file to the uploadUrl, then use the publicUrl in your posts.
|
|
37
|
+
# Get a presigned URL to upload files directly to cloud storage (up to 5GB). Returns an uploadUrl and publicUrl. PUT your file to the uploadUrl, then use the publicUrl in your posts. By default the file is written to temporary storage and auto-deletes 7 days after upload, so the publicUrl stops resolving once that window passes. Send `permanent: true` to write straight to permanent storage, which has no expiry: use it for anything that must stay reachable for longer, in particular cover and thumbnail images on posts scheduled more than a week out.
|
|
38
38
|
# @param get_media_presigned_url_request
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [GetMediaPresignedUrl200Response]
|
|
@@ -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,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.
|
|
4
|
+
version: 0.0.704
|
|
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-08-
|
|
11
|
+
date: 2026-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -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.704.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
|