@getlatedev/node 0.1.8 → 0.1.10

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.
package/README.md CHANGED
@@ -314,6 +314,35 @@ try {
314
314
  | `reddit.getRedditFeed()` | Fetch subreddit feed via a connected account |
315
315
  | `reddit.searchReddit()` | Search Reddit posts via a connected account |
316
316
 
317
+ ### Comments (Inbox)
318
+ | Method | Description |
319
+ |--------|-------------|
320
+ | `comments.listInboxComments()` | List posts with comments across all accounts |
321
+ | `comments.getInboxPostComments()` | Get comments for a post |
322
+ | `comments.deleteInboxComment()` | Delete a comment |
323
+ | `comments.hideInboxComment()` | Hide a comment |
324
+ | `comments.likeInboxComment()` | Like a comment |
325
+ | `comments.replyToInboxPost()` | Reply to a post or comment |
326
+ | `comments.sendPrivateReplyToComment()` | Send private reply to comment author |
327
+ | `comments.unhideInboxComment()` | Unhide a comment |
328
+ | `comments.unlikeInboxComment()` | Unlike a comment |
329
+
330
+ ### Messages (Inbox)
331
+ | Method | Description |
332
+ |--------|-------------|
333
+ | `messages.listInboxConversations()` | List conversations across all accounts |
334
+ | `messages.getInboxConversation()` | Get conversation details |
335
+ | `messages.getInboxConversationMessages()` | Get messages in a conversation |
336
+ | `messages.updateInboxConversation()` | Update conversation status |
337
+ | `messages.sendInboxMessage()` | Send a message |
338
+
339
+ ### Reviews (Inbox)
340
+ | Method | Description |
341
+ |--------|-------------|
342
+ | `reviews.listInboxReviews()` | List reviews across all accounts |
343
+ | `reviews.deleteInboxReviewReply()` | Delete a review reply |
344
+ | `reviews.replyToInboxReview()` | Reply to a review |
345
+
317
346
  ### Invites
318
347
  | Method | Description |
319
348
  |--------|-------------|
package/dist/index.d.mts CHANGED
@@ -4494,7 +4494,7 @@ type ListInboxConversationsData = {
4494
4494
  /**
4495
4495
  * Filter by platform
4496
4496
  */
4497
- platform?: 'facebook' | 'instagram' | 'bluesky' | 'reddit' | 'telegram';
4497
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram';
4498
4498
  /**
4499
4499
  * Filter by profile ID
4500
4500
  */
@@ -4731,7 +4731,7 @@ type ListInboxCommentsData = {
4731
4731
  /**
4732
4732
  * Filter by platform
4733
4733
  */
4734
- platform?: 'facebook' | 'instagram' | 'youtube' | 'linkedin' | 'reddit' | 'bluesky' | 'tiktok';
4734
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit' | 'tiktok';
4735
4735
  /**
4736
4736
  * Filter by profile ID
4737
4737
  */
package/dist/index.d.ts CHANGED
@@ -4494,7 +4494,7 @@ type ListInboxConversationsData = {
4494
4494
  /**
4495
4495
  * Filter by platform
4496
4496
  */
4497
- platform?: 'facebook' | 'instagram' | 'bluesky' | 'reddit' | 'telegram';
4497
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram';
4498
4498
  /**
4499
4499
  * Filter by profile ID
4500
4500
  */
@@ -4731,7 +4731,7 @@ type ListInboxCommentsData = {
4731
4731
  /**
4732
4732
  * Filter by platform
4733
4733
  */
4734
- platform?: 'facebook' | 'instagram' | 'youtube' | 'linkedin' | 'reddit' | 'bluesky' | 'tiktok';
4734
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit' | 'tiktok';
4735
4735
  /**
4736
4736
  * Filter by profile ID
4737
4737
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1484,7 +1484,7 @@ export const getPostLogs = <ThrowOnError extends boolean = false>(options: Optio
1484
1484
  * Fetch conversations (DMs) from all connected messaging accounts in a single API call.
1485
1485
  * Supports filtering by profile and platform. Results are aggregated and deduplicated.
1486
1486
  *
1487
- * **Supported platforms:** Facebook, Instagram, Bluesky, Reddit, Telegram
1487
+ * **Supported platforms:** Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram
1488
1488
  *
1489
1489
  */
1490
1490
  export const listInboxConversations = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListInboxConversationsData, ThrowOnError>) => {
@@ -1552,7 +1552,7 @@ export const sendInboxMessage = <ThrowOnError extends boolean = false>(options:
1552
1552
  * Fetch posts with their comment counts from all connected accounts.
1553
1553
  * Aggregates data from multiple accounts in a single API call.
1554
1554
  *
1555
- * **Supported platforms:** Facebook, Instagram, Bluesky, YouTube, LinkedIn, Reddit, TikTok (write-only)
1555
+ * **Supported platforms:** Facebook, Instagram, Twitter/X, Bluesky, Threads, YouTube, LinkedIn, Reddit, TikTok (write-only)
1556
1556
  *
1557
1557
  */
1558
1558
  export const listInboxComments = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListInboxCommentsData, ThrowOnError>) => {
@@ -1626,7 +1626,7 @@ export const unhideInboxComment = <ThrowOnError extends boolean = false>(options
1626
1626
  * Like a comment
1627
1627
  * Like or upvote a comment on a post.
1628
1628
  *
1629
- * **Supported platforms:** Facebook, Bluesky, Reddit
1629
+ * **Supported platforms:** Facebook, Twitter/X, Bluesky, Reddit
1630
1630
  *
1631
1631
  * For Bluesky, the `cid` (content identifier) is required in the request body.
1632
1632
  *
@@ -1642,7 +1642,7 @@ export const likeInboxComment = <ThrowOnError extends boolean = false>(options:
1642
1642
  * Unlike a comment
1643
1643
  * Remove a like from a comment.
1644
1644
  *
1645
- * **Supported platforms:** Facebook, Bluesky, Reddit
1645
+ * **Supported platforms:** Facebook, Twitter/X, Bluesky, Reddit
1646
1646
  *
1647
1647
  * For Bluesky, the `likeUri` query parameter is required.
1648
1648
  *
@@ -4523,7 +4523,7 @@ export type ListInboxConversationsData = {
4523
4523
  /**
4524
4524
  * Filter by platform
4525
4525
  */
4526
- platform?: 'facebook' | 'instagram' | 'bluesky' | 'reddit' | 'telegram';
4526
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram';
4527
4527
  /**
4528
4528
  * Filter by profile ID
4529
4529
  */
@@ -4775,7 +4775,7 @@ export type ListInboxCommentsData = {
4775
4775
  /**
4776
4776
  * Filter by platform
4777
4777
  */
4778
- platform?: 'facebook' | 'instagram' | 'youtube' | 'linkedin' | 'reddit' | 'bluesky' | 'tiktok';
4778
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit' | 'tiktok';
4779
4779
  /**
4780
4780
  * Filter by profile ID
4781
4781
  */