late-sdk 0.0.53 → 0.0.55
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/CommentsApi.md +1 -1
- data/docs/CreatePostRequest.md +1 -1
- data/docs/TwitterEngagementApi.md +3 -3
- data/lib/late-sdk/api/comments_api.rb +2 -2
- data/lib/late-sdk/api/twitter_engagement_api.rb +6 -6
- data/lib/late-sdk/models/create_post_request.rb +1 -0
- data/lib/late-sdk/version.rb +1 -1
- data/openapi.yaml +8 -6
- data/spec/api/comments_api_spec.rb +1 -1
- data/spec/api/twitter_engagement_api_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 265613b81ca220feb183d23f993c34495433c1b9932b3823c09031a0fb69168f
|
|
4
|
+
data.tar.gz: 2898e793cf8453ee10bcae0a17c4695950138b1127b9e9c58b6588bc6e12b177
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc6ca8242a2110d7f4243325208d3ef947cace31597d5ce121e72809ffed5d6b126237bdd7a06a18f4a10d17e6381032ac3ea824c6591f23e680f95e163c4320
|
|
7
|
+
data.tar.gz: dd88e38e48e0184f7fd215415b5399cd320148396e263c77700faebdf6e29f86f9eb92c363db330f58bdf5810e4024cdd3a1391fe5fe2da68fca933a4bdbc562
|
data/docs/CommentsApi.md
CHANGED
|
@@ -175,7 +175,7 @@ end
|
|
|
175
175
|
|
|
176
176
|
Hide comment
|
|
177
177
|
|
|
178
|
-
Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
178
|
+
Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
179
179
|
|
|
180
180
|
### Examples
|
|
181
181
|
|
data/docs/CreatePostRequest.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **platforms** | [**Array<CreatePostRequestPlatformsInner>**](CreatePostRequestPlatformsInner.md) | | [optional] |
|
|
11
11
|
| **scheduled_for** | **Time** | | [optional] |
|
|
12
12
|
| **publish_now** | **Boolean** | | [optional][default to false] |
|
|
13
|
-
| **is_draft** | **Boolean** |
|
|
13
|
+
| **is_draft** | **Boolean** | When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically. | [optional][default to false] |
|
|
14
14
|
| **timezone** | **String** | | [optional][default to 'UTC'] |
|
|
15
15
|
| **tags** | **Array<String>** | Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed. | [optional] |
|
|
16
16
|
| **hashtags** | **Array<String>** | | [optional] |
|
|
@@ -18,7 +18,7 @@ All URIs are relative to *https://getlate.dev/api*
|
|
|
18
18
|
|
|
19
19
|
Bookmark a tweet
|
|
20
20
|
|
|
21
|
-
Bookmark a tweet by ID. Requires
|
|
21
|
+
Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
22
22
|
|
|
23
23
|
### Examples
|
|
24
24
|
|
|
@@ -87,7 +87,7 @@ end
|
|
|
87
87
|
|
|
88
88
|
Follow a user
|
|
89
89
|
|
|
90
|
-
Follow a user on X/Twitter. Requires
|
|
90
|
+
Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
91
91
|
|
|
92
92
|
### Examples
|
|
93
93
|
|
|
@@ -227,7 +227,7 @@ end
|
|
|
227
227
|
|
|
228
228
|
Retweet a post
|
|
229
229
|
|
|
230
|
-
Retweet (repost) a tweet by ID.
|
|
230
|
+
Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
231
231
|
|
|
232
232
|
### Examples
|
|
233
233
|
|
|
@@ -187,7 +187,7 @@ module Late
|
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
# Hide comment
|
|
190
|
-
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
190
|
+
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
191
191
|
# @param post_id [String]
|
|
192
192
|
# @param comment_id [String]
|
|
193
193
|
# @param hide_inbox_comment_request [HideInboxCommentRequest]
|
|
@@ -199,7 +199,7 @@ module Late
|
|
|
199
199
|
end
|
|
200
200
|
|
|
201
201
|
# Hide comment
|
|
202
|
-
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
202
|
+
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
203
203
|
# @param post_id [String]
|
|
204
204
|
# @param comment_id [String]
|
|
205
205
|
# @param hide_inbox_comment_request [HideInboxCommentRequest]
|
|
@@ -20,7 +20,7 @@ module Late
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Bookmark a tweet
|
|
23
|
-
# Bookmark a tweet by ID. Requires
|
|
23
|
+
# Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
24
24
|
# @param bookmark_post_request [BookmarkPostRequest]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [BookmarkPost200Response]
|
|
@@ -30,7 +30,7 @@ module Late
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Bookmark a tweet
|
|
33
|
-
# Bookmark a tweet by ID. Requires
|
|
33
|
+
# Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
34
34
|
# @param bookmark_post_request [BookmarkPostRequest]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(BookmarkPost200Response, Integer, Hash)>] BookmarkPost200Response data, response status code and response headers
|
|
@@ -88,7 +88,7 @@ module Late
|
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
# Follow a user
|
|
91
|
-
# Follow a user on X/Twitter. Requires
|
|
91
|
+
# Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
92
92
|
# @param follow_user_request [FollowUserRequest]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [FollowUser200Response]
|
|
@@ -98,7 +98,7 @@ module Late
|
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
# Follow a user
|
|
101
|
-
# Follow a user on X/Twitter. Requires
|
|
101
|
+
# Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
102
102
|
# @param follow_user_request [FollowUserRequest]
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
104
|
# @return [Array<(FollowUser200Response, Integer, Hash)>] FollowUser200Response data, response status code and response headers
|
|
@@ -227,7 +227,7 @@ module Late
|
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
# Retweet a post
|
|
230
|
-
# Retweet (repost) a tweet by ID.
|
|
230
|
+
# Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
231
231
|
# @param retweet_post_request [RetweetPostRequest]
|
|
232
232
|
# @param [Hash] opts the optional parameters
|
|
233
233
|
# @return [RetweetPost200Response]
|
|
@@ -237,7 +237,7 @@ module Late
|
|
|
237
237
|
end
|
|
238
238
|
|
|
239
239
|
# Retweet a post
|
|
240
|
-
# Retweet (repost) a tweet by ID.
|
|
240
|
+
# Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
241
241
|
# @param retweet_post_request [RetweetPostRequest]
|
|
242
242
|
# @param [Hash] opts the optional parameters
|
|
243
243
|
# @return [Array<(RetweetPost200Response, Integer, Hash)>] RetweetPost200Response data, response status code and response headers
|
|
@@ -28,6 +28,7 @@ module Late
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :publish_now
|
|
30
30
|
|
|
31
|
+
# When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
|
|
31
32
|
attr_accessor :is_draft
|
|
32
33
|
|
|
33
34
|
attr_accessor :timezone
|
data/lib/late-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -198,7 +198,6 @@ tags:
|
|
|
198
198
|
- name: Twitter Engagement
|
|
199
199
|
description: |
|
|
200
200
|
X/Twitter-specific engagement endpoints for retweeting, bookmarking, and following.
|
|
201
|
-
All endpoints require an X API Basic tier ($200/mo) or higher. Users must reconnect their X account after upgrading to grant the required OAuth scopes.
|
|
202
201
|
Rate limits: 50 requests per 15-min window per user. Retweets share the 300/3hr creation limit with tweet creation.
|
|
203
202
|
- name: Tools
|
|
204
203
|
description: |
|
|
@@ -4255,7 +4254,10 @@ paths:
|
|
|
4255
4254
|
- $ref: '#/components/schemas/BlueskyPlatformData'
|
|
4256
4255
|
scheduledFor: { type: string, format: date-time }
|
|
4257
4256
|
publishNow: { type: boolean, default: false }
|
|
4258
|
-
isDraft:
|
|
4257
|
+
isDraft:
|
|
4258
|
+
type: boolean
|
|
4259
|
+
default: false
|
|
4260
|
+
description: When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
|
|
4259
4261
|
timezone: { type: string, default: UTC }
|
|
4260
4262
|
tags:
|
|
4261
4263
|
type: array
|
|
@@ -11157,7 +11159,7 @@ paths:
|
|
|
11157
11159
|
description: |
|
|
11158
11160
|
Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter.
|
|
11159
11161
|
Hidden comments are only visible to the commenter and page admin.
|
|
11160
|
-
For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
11162
|
+
For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
11161
11163
|
tags: [Comments]
|
|
11162
11164
|
security: [{ bearerAuth: [] }]
|
|
11163
11165
|
parameters:
|
|
@@ -11419,7 +11421,7 @@ paths:
|
|
|
11419
11421
|
operationId: retweetPost
|
|
11420
11422
|
summary: Retweet a post
|
|
11421
11423
|
description: |
|
|
11422
|
-
Retweet (repost) a tweet by ID.
|
|
11424
|
+
Retweet (repost) a tweet by ID.
|
|
11423
11425
|
Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
11424
11426
|
tags: [Twitter Engagement]
|
|
11425
11427
|
security: [{ bearerAuth: [] }]
|
|
@@ -11486,7 +11488,7 @@ paths:
|
|
|
11486
11488
|
operationId: bookmarkPost
|
|
11487
11489
|
summary: Bookmark a tweet
|
|
11488
11490
|
description: |
|
|
11489
|
-
Bookmark a tweet by ID.
|
|
11491
|
+
Bookmark a tweet by ID.
|
|
11490
11492
|
Requires the bookmark.write OAuth scope.
|
|
11491
11493
|
Rate limit: 50 requests per 15-min window.
|
|
11492
11494
|
tags: [Twitter Engagement]
|
|
@@ -11554,7 +11556,7 @@ paths:
|
|
|
11554
11556
|
operationId: followUser
|
|
11555
11557
|
summary: Follow a user
|
|
11556
11558
|
description: |
|
|
11557
|
-
Follow a user on X/Twitter.
|
|
11559
|
+
Follow a user on X/Twitter.
|
|
11558
11560
|
Requires the follows.write OAuth scope.
|
|
11559
11561
|
For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
11560
11562
|
tags: [Twitter Engagement]
|
|
@@ -65,7 +65,7 @@ describe 'CommentsApi' do
|
|
|
65
65
|
|
|
66
66
|
# unit tests for hide_inbox_comment
|
|
67
67
|
# Hide comment
|
|
68
|
-
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
68
|
+
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
69
69
|
# @param post_id
|
|
70
70
|
# @param comment_id
|
|
71
71
|
# @param hide_inbox_comment_request
|
|
@@ -34,7 +34,7 @@ describe 'TwitterEngagementApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for bookmark_post
|
|
36
36
|
# Bookmark a tweet
|
|
37
|
-
# Bookmark a tweet by ID. Requires
|
|
37
|
+
# Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
38
38
|
# @param bookmark_post_request
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [BookmarkPost200Response]
|
|
@@ -46,7 +46,7 @@ describe 'TwitterEngagementApi' do
|
|
|
46
46
|
|
|
47
47
|
# unit tests for follow_user
|
|
48
48
|
# Follow a user
|
|
49
|
-
# Follow a user on X/Twitter. Requires
|
|
49
|
+
# Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
50
50
|
# @param follow_user_request
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [FollowUser200Response]
|
|
@@ -71,7 +71,7 @@ describe 'TwitterEngagementApi' do
|
|
|
71
71
|
|
|
72
72
|
# unit tests for retweet_post
|
|
73
73
|
# Retweet a post
|
|
74
|
-
# Retweet (repost) a tweet by ID.
|
|
74
|
+
# Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
75
75
|
# @param retweet_post_request
|
|
76
76
|
# @param [Hash] opts the optional parameters
|
|
77
77
|
# @return [RetweetPost200Response]
|
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.55
|
|
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-03-
|
|
11
|
+
date: 2026-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|