@getlatedev/node 0.1.28 → 0.1.30

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/dist/index.d.mts CHANGED
@@ -930,6 +930,10 @@ type aggregation3 = 'TOTAL';
930
930
  * Up to 20 images, no multi-video. Single PDF supported (max 100MB). Link previews auto-generated when no media attached. Use organizationUrn for multi-org posting.
931
931
  */
932
932
  type LinkedInPlatformData = {
933
+ /**
934
+ * Title displayed on LinkedIn document (PDF/carousel) posts. Required by LinkedIn for document posts. If omitted, falls back to the media item title, then the filename.
935
+ */
936
+ documentTitle?: string;
933
937
  /**
934
938
  * Target LinkedIn Organization URN (e.g. "urn:li:organization:123456789"). If omitted, uses the default org. Use GET /v1/accounts/{id}/linkedin-organizations to list orgs.
935
939
  */
@@ -949,6 +953,10 @@ type LinkedInPlatformData = {
949
953
  type MediaItem = {
950
954
  type?: 'image' | 'video' | 'gif' | 'document';
951
955
  url?: string;
956
+ /**
957
+ * Optional title for the media item. Used as the document title for LinkedIn PDF/carousel posts. If omitted, falls back to the post title, then the filename.
958
+ */
959
+ title?: string;
952
960
  filename?: string;
953
961
  /**
954
962
  * Optional file size in bytes
@@ -5476,7 +5484,7 @@ type ListInboxCommentsData = {
5476
5484
  /**
5477
5485
  * Filter by platform
5478
5486
  */
5479
- platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit' | 'tiktok';
5487
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit';
5480
5488
  /**
5481
5489
  * Filter by profile ID
5482
5490
  */
package/dist/index.d.ts CHANGED
@@ -930,6 +930,10 @@ type aggregation3 = 'TOTAL';
930
930
  * Up to 20 images, no multi-video. Single PDF supported (max 100MB). Link previews auto-generated when no media attached. Use organizationUrn for multi-org posting.
931
931
  */
932
932
  type LinkedInPlatformData = {
933
+ /**
934
+ * Title displayed on LinkedIn document (PDF/carousel) posts. Required by LinkedIn for document posts. If omitted, falls back to the media item title, then the filename.
935
+ */
936
+ documentTitle?: string;
933
937
  /**
934
938
  * Target LinkedIn Organization URN (e.g. "urn:li:organization:123456789"). If omitted, uses the default org. Use GET /v1/accounts/{id}/linkedin-organizations to list orgs.
935
939
  */
@@ -949,6 +953,10 @@ type LinkedInPlatformData = {
949
953
  type MediaItem = {
950
954
  type?: 'image' | 'video' | 'gif' | 'document';
951
955
  url?: string;
956
+ /**
957
+ * Optional title for the media item. Used as the document title for LinkedIn PDF/carousel posts. If omitted, falls back to the post title, then the filename.
958
+ */
959
+ title?: string;
952
960
  filename?: string;
953
961
  /**
954
962
  * Optional file size in bytes
@@ -5476,7 +5484,7 @@ type ListInboxCommentsData = {
5476
5484
  /**
5477
5485
  * Filter by platform
5478
5486
  */
5479
- platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit' | 'tiktok';
5487
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit';
5480
5488
  /**
5481
5489
  * Filter by profile ID
5482
5490
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1428,7 +1428,7 @@ export const replyToInboxPost = <ThrowOnError extends boolean = false>(options:
1428
1428
 
1429
1429
  /**
1430
1430
  * Delete comment
1431
- * Delete a comment on a post. Supported by Facebook, Instagram, Bluesky, Reddit, YouTube, LinkedIn, and TikTok.
1431
+ * Delete a comment on a post. Supported by Facebook, Instagram, Bluesky, Reddit, YouTube, and LinkedIn.
1432
1432
  * Requires accountId and commentId query parameters.
1433
1433
  *
1434
1434
  */
@@ -574,6 +574,10 @@ export type aggregation3 = 'TOTAL';
574
574
  * Up to 20 images, no multi-video. Single PDF supported (max 100MB). Link previews auto-generated when no media attached. Use organizationUrn for multi-org posting.
575
575
  */
576
576
  export type LinkedInPlatformData = {
577
+ /**
578
+ * Title displayed on LinkedIn document (PDF/carousel) posts. Required by LinkedIn for document posts. If omitted, falls back to the media item title, then the filename.
579
+ */
580
+ documentTitle?: string;
577
581
  /**
578
582
  * Target LinkedIn Organization URN (e.g. "urn:li:organization:123456789"). If omitted, uses the default org. Use GET /v1/accounts/{id}/linkedin-organizations to list orgs.
579
583
  */
@@ -594,6 +598,10 @@ export type LinkedInPlatformData = {
594
598
  export type MediaItem = {
595
599
  type?: 'image' | 'video' | 'gif' | 'document';
596
600
  url?: string;
601
+ /**
602
+ * Optional title for the media item. Used as the document title for LinkedIn PDF/carousel posts. If omitted, falls back to the post title, then the filename.
603
+ */
604
+ title?: string;
597
605
  filename?: string;
598
606
  /**
599
607
  * Optional file size in bytes
@@ -5550,7 +5558,7 @@ export type ListInboxCommentsData = {
5550
5558
  /**
5551
5559
  * Filter by platform
5552
5560
  */
5553
- platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit' | 'tiktok';
5561
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'threads' | 'youtube' | 'linkedin' | 'reddit';
5554
5562
  /**
5555
5563
  * Filter by profile ID
5556
5564
  */