@getlatedev/node 0.1.28 → 0.1.29
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 +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
- package/src/generated/types.gen.ts +8 -0
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
|
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
|
package/package.json
CHANGED
|
@@ -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
|