@getlatedev/node 0.2.1432 → 0.2.1433
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 +15 -7
- package/dist/index.d.ts +15 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +15 -7
package/dist/index.d.mts
CHANGED
|
@@ -6743,22 +6743,30 @@ type CampaignSubmissionFlag = {
|
|
|
6743
6743
|
};
|
|
6744
6744
|
type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
6745
6745
|
/**
|
|
6746
|
-
*
|
|
6747
|
-
*
|
|
6748
|
-
*
|
|
6746
|
+
* The media on a comment or reply, one per comment (the first item when the platform returns several).
|
|
6747
|
+
* `type` is the platform's own media kind:
|
|
6748
|
+
*
|
|
6749
|
+
* - Facebook: sticker, animated_image_share, photo, image_share, share or video_inline.
|
|
6750
|
+
* - TikTok: image.
|
|
6751
|
+
* - X: photo, video or animated_gif. A video `url` is an mp4 and `imageUrl` its preview.
|
|
6752
|
+
* - Threads: IMAGE, VIDEO or GIF. Album replies carry no attachment.
|
|
6753
|
+
* - Bluesky: image, video or external (link cards, GIFs arrive this way). A video `url` is an HLS playlist (.m3u8).
|
|
6754
|
+
*
|
|
6755
|
+
* Facebook and Threads URLs are expiring Meta CDN links, so fetch promptly.
|
|
6756
|
+
* Instagram, YouTube, LinkedIn and Reddit comments carry no media.
|
|
6749
6757
|
*
|
|
6750
6758
|
*/
|
|
6751
6759
|
type CommentAttachment = {
|
|
6752
6760
|
/**
|
|
6753
|
-
*
|
|
6761
|
+
* The platform's own media kind, see the schema description for each platform's values.
|
|
6754
6762
|
*/
|
|
6755
6763
|
type: string;
|
|
6756
6764
|
/**
|
|
6757
|
-
* Rendered image
|
|
6765
|
+
* Rendered image or preview URL.
|
|
6758
6766
|
*/
|
|
6759
6767
|
imageUrl?: string;
|
|
6760
6768
|
/**
|
|
6761
|
-
* Source
|
|
6769
|
+
* Source or playable URL. Facebook GIFs carry an l.facebook.com redirect, X videos an mp4, Bluesky videos an HLS playlist.
|
|
6762
6770
|
*/
|
|
6763
6771
|
url?: string;
|
|
6764
6772
|
};
|
|
@@ -39262,7 +39270,7 @@ type GetInboxPostCommentsResponse = ({
|
|
|
39262
39270
|
*/
|
|
39263
39271
|
isLiked?: boolean;
|
|
39264
39272
|
/**
|
|
39265
|
-
*
|
|
39273
|
+
* The comment's media, whenever the platform returns one (replies included). Supported on Facebook, TikTok, X, Threads and Bluesky; absent when the comment has no media and on every other platform. See CommentAttachment for each platform's `type` values.
|
|
39266
39274
|
*/
|
|
39267
39275
|
attachment?: (CommentAttachment);
|
|
39268
39276
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -6743,22 +6743,30 @@ type CampaignSubmissionFlag = {
|
|
|
6743
6743
|
};
|
|
6744
6744
|
type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
6745
6745
|
/**
|
|
6746
|
-
*
|
|
6747
|
-
*
|
|
6748
|
-
*
|
|
6746
|
+
* The media on a comment or reply, one per comment (the first item when the platform returns several).
|
|
6747
|
+
* `type` is the platform's own media kind:
|
|
6748
|
+
*
|
|
6749
|
+
* - Facebook: sticker, animated_image_share, photo, image_share, share or video_inline.
|
|
6750
|
+
* - TikTok: image.
|
|
6751
|
+
* - X: photo, video or animated_gif. A video `url` is an mp4 and `imageUrl` its preview.
|
|
6752
|
+
* - Threads: IMAGE, VIDEO or GIF. Album replies carry no attachment.
|
|
6753
|
+
* - Bluesky: image, video or external (link cards, GIFs arrive this way). A video `url` is an HLS playlist (.m3u8).
|
|
6754
|
+
*
|
|
6755
|
+
* Facebook and Threads URLs are expiring Meta CDN links, so fetch promptly.
|
|
6756
|
+
* Instagram, YouTube, LinkedIn and Reddit comments carry no media.
|
|
6749
6757
|
*
|
|
6750
6758
|
*/
|
|
6751
6759
|
type CommentAttachment = {
|
|
6752
6760
|
/**
|
|
6753
|
-
*
|
|
6761
|
+
* The platform's own media kind, see the schema description for each platform's values.
|
|
6754
6762
|
*/
|
|
6755
6763
|
type: string;
|
|
6756
6764
|
/**
|
|
6757
|
-
* Rendered image
|
|
6765
|
+
* Rendered image or preview URL.
|
|
6758
6766
|
*/
|
|
6759
6767
|
imageUrl?: string;
|
|
6760
6768
|
/**
|
|
6761
|
-
* Source
|
|
6769
|
+
* Source or playable URL. Facebook GIFs carry an l.facebook.com redirect, X videos an mp4, Bluesky videos an HLS playlist.
|
|
6762
6770
|
*/
|
|
6763
6771
|
url?: string;
|
|
6764
6772
|
};
|
|
@@ -39262,7 +39270,7 @@ type GetInboxPostCommentsResponse = ({
|
|
|
39262
39270
|
*/
|
|
39263
39271
|
isLiked?: boolean;
|
|
39264
39272
|
/**
|
|
39265
|
-
*
|
|
39273
|
+
* The comment's media, whenever the platform returns one (replies included). Supported on Facebook, TikTok, X, Threads and Bluesky; absent when the comment has no media and on every other platform. See CommentAttachment for each platform's `type` values.
|
|
39266
39274
|
*/
|
|
39267
39275
|
attachment?: (CommentAttachment);
|
|
39268
39276
|
/**
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1433",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1433",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -4669,22 +4669,30 @@ export type CampaignSubmissionFlag = {
|
|
|
4669
4669
|
export type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
4670
4670
|
|
|
4671
4671
|
/**
|
|
4672
|
-
*
|
|
4673
|
-
*
|
|
4674
|
-
*
|
|
4672
|
+
* The media on a comment or reply, one per comment (the first item when the platform returns several).
|
|
4673
|
+
* `type` is the platform's own media kind:
|
|
4674
|
+
*
|
|
4675
|
+
* - Facebook: sticker, animated_image_share, photo, image_share, share or video_inline.
|
|
4676
|
+
* - TikTok: image.
|
|
4677
|
+
* - X: photo, video or animated_gif. A video `url` is an mp4 and `imageUrl` its preview.
|
|
4678
|
+
* - Threads: IMAGE, VIDEO or GIF. Album replies carry no attachment.
|
|
4679
|
+
* - Bluesky: image, video or external (link cards, GIFs arrive this way). A video `url` is an HLS playlist (.m3u8).
|
|
4680
|
+
*
|
|
4681
|
+
* Facebook and Threads URLs are expiring Meta CDN links, so fetch promptly.
|
|
4682
|
+
* Instagram, YouTube, LinkedIn and Reddit comments carry no media.
|
|
4675
4683
|
*
|
|
4676
4684
|
*/
|
|
4677
4685
|
export type CommentAttachment = {
|
|
4678
4686
|
/**
|
|
4679
|
-
*
|
|
4687
|
+
* The platform's own media kind, see the schema description for each platform's values.
|
|
4680
4688
|
*/
|
|
4681
4689
|
type: string;
|
|
4682
4690
|
/**
|
|
4683
|
-
* Rendered image
|
|
4691
|
+
* Rendered image or preview URL.
|
|
4684
4692
|
*/
|
|
4685
4693
|
imageUrl?: string;
|
|
4686
4694
|
/**
|
|
4687
|
-
* Source
|
|
4695
|
+
* Source or playable URL. Facebook GIFs carry an l.facebook.com redirect, X videos an mp4, Bluesky videos an HLS playlist.
|
|
4688
4696
|
*/
|
|
4689
4697
|
url?: string;
|
|
4690
4698
|
};
|
|
@@ -39038,7 +39046,7 @@ export type GetInboxPostCommentsResponse = ({
|
|
|
39038
39046
|
*/
|
|
39039
39047
|
isLiked?: boolean;
|
|
39040
39048
|
/**
|
|
39041
|
-
*
|
|
39049
|
+
* The comment's media, whenever the platform returns one (replies included). Supported on Facebook, TikTok, X, Threads and Bluesky; absent when the comment has no media and on every other platform. See CommentAttachment for each platform's `type` values.
|
|
39042
39050
|
*/
|
|
39043
39051
|
attachment?: (CommentAttachment);
|
|
39044
39052
|
/**
|