@getlatedev/node 0.2.228 → 0.2.230

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
@@ -3303,6 +3303,22 @@ type RedditPlatformData = {
3303
3303
  * Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
3304
3304
  */
3305
3305
  flairId?: string;
3306
+ /**
3307
+ * Custom flair text, for subreddits that allow free-text flair. Ignored when flairId is provided (flairId wins).
3308
+ */
3309
+ flairText?: string;
3310
+ /**
3311
+ * Mark the post as NSFW (Not Safe For Work / over 18).
3312
+ */
3313
+ nsfw?: boolean;
3314
+ /**
3315
+ * Mark the post as a spoiler. The subreddit must have spoiler tagging enabled for this to take effect.
3316
+ */
3317
+ spoiler?: boolean;
3318
+ /**
3319
+ * Whether to receive inbox replies for comments on this post. Set to false to opt out.
3320
+ */
3321
+ sendreplies?: boolean;
3306
3322
  /**
3307
3323
  * Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
3308
3324
  *
@@ -3905,6 +3921,31 @@ type TwitterPlatformData = {
3905
3921
  */
3906
3922
  longVideo?: boolean;
3907
3923
  geoRestriction?: GeoRestriction;
3924
+ /**
3925
+ * When true, the post is labeled by X as a paid partnership / paid promotion. For threads, applies to the root tweet only. Field availability may depend on your X API access tier.
3926
+ */
3927
+ paidPartnership?: boolean;
3928
+ /**
3929
+ * When true, the post is labeled by X as containing AI-generated media. Per X, this label is for AI-generated media, not AI-written text. For threads, applies to the root tweet only.
3930
+ */
3931
+ madeWithAi?: boolean;
3932
+ /**
3933
+ * Marks attached media with a sensitive-content warning. Applied to every media item in the post (requires media; ignored for text-only tweets). At least one flag must be true for the warning to be sent.
3934
+ */
3935
+ sensitiveMedia?: {
3936
+ /**
3937
+ * Content contains adult material.
3938
+ */
3939
+ adultContent?: boolean;
3940
+ /**
3941
+ * Content depicts graphic violence.
3942
+ */
3943
+ graphicViolence?: boolean;
3944
+ /**
3945
+ * Content has other sensitive characteristics.
3946
+ */
3947
+ other?: boolean;
3948
+ };
3908
3949
  };
3909
3950
  /**
3910
3951
  * Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
@@ -7939,6 +7980,11 @@ type ListAccountsData = {
7939
7980
  * Filter accounts by profile ID
7940
7981
  */
7941
7982
  profileId?: string;
7983
+ /**
7984
+ * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
7985
+ *
7986
+ */
7987
+ status?: 'connected' | 'disconnected';
7942
7988
  };
7943
7989
  };
7944
7990
  type ListAccountsResponse = ({
package/dist/index.d.ts CHANGED
@@ -3303,6 +3303,22 @@ type RedditPlatformData = {
3303
3303
  * Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
3304
3304
  */
3305
3305
  flairId?: string;
3306
+ /**
3307
+ * Custom flair text, for subreddits that allow free-text flair. Ignored when flairId is provided (flairId wins).
3308
+ */
3309
+ flairText?: string;
3310
+ /**
3311
+ * Mark the post as NSFW (Not Safe For Work / over 18).
3312
+ */
3313
+ nsfw?: boolean;
3314
+ /**
3315
+ * Mark the post as a spoiler. The subreddit must have spoiler tagging enabled for this to take effect.
3316
+ */
3317
+ spoiler?: boolean;
3318
+ /**
3319
+ * Whether to receive inbox replies for comments on this post. Set to false to opt out.
3320
+ */
3321
+ sendreplies?: boolean;
3306
3322
  /**
3307
3323
  * Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
3308
3324
  *
@@ -3905,6 +3921,31 @@ type TwitterPlatformData = {
3905
3921
  */
3906
3922
  longVideo?: boolean;
3907
3923
  geoRestriction?: GeoRestriction;
3924
+ /**
3925
+ * When true, the post is labeled by X as a paid partnership / paid promotion. For threads, applies to the root tweet only. Field availability may depend on your X API access tier.
3926
+ */
3927
+ paidPartnership?: boolean;
3928
+ /**
3929
+ * When true, the post is labeled by X as containing AI-generated media. Per X, this label is for AI-generated media, not AI-written text. For threads, applies to the root tweet only.
3930
+ */
3931
+ madeWithAi?: boolean;
3932
+ /**
3933
+ * Marks attached media with a sensitive-content warning. Applied to every media item in the post (requires media; ignored for text-only tweets). At least one flag must be true for the warning to be sent.
3934
+ */
3935
+ sensitiveMedia?: {
3936
+ /**
3937
+ * Content contains adult material.
3938
+ */
3939
+ adultContent?: boolean;
3940
+ /**
3941
+ * Content depicts graphic violence.
3942
+ */
3943
+ graphicViolence?: boolean;
3944
+ /**
3945
+ * Content has other sensitive characteristics.
3946
+ */
3947
+ other?: boolean;
3948
+ };
3908
3949
  };
3909
3950
  /**
3910
3951
  * Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
@@ -7939,6 +7980,11 @@ type ListAccountsData = {
7939
7980
  * Filter accounts by profile ID
7940
7981
  */
7941
7982
  profileId?: string;
7983
+ /**
7984
+ * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
7985
+ *
7986
+ */
7987
+ status?: 'connected' | 'disconnected';
7942
7988
  };
7943
7989
  };
7944
7990
  type ListAccountsResponse = ({
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.228",
39
+ version: "0.2.230",
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.228",
8
+ version: "0.2.230",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.228",
3
+ "version": "0.2.230",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2674,6 +2674,22 @@ export type RedditPlatformData = {
2674
2674
  * Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
2675
2675
  */
2676
2676
  flairId?: string;
2677
+ /**
2678
+ * Custom flair text, for subreddits that allow free-text flair. Ignored when flairId is provided (flairId wins).
2679
+ */
2680
+ flairText?: string;
2681
+ /**
2682
+ * Mark the post as NSFW (Not Safe For Work / over 18).
2683
+ */
2684
+ nsfw?: boolean;
2685
+ /**
2686
+ * Mark the post as a spoiler. The subreddit must have spoiler tagging enabled for this to take effect.
2687
+ */
2688
+ spoiler?: boolean;
2689
+ /**
2690
+ * Whether to receive inbox replies for comments on this post. Set to false to opt out.
2691
+ */
2692
+ sendreplies?: boolean;
2677
2693
  /**
2678
2694
  * Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
2679
2695
  *
@@ -3297,6 +3313,31 @@ export type TwitterPlatformData = {
3297
3313
  */
3298
3314
  longVideo?: boolean;
3299
3315
  geoRestriction?: GeoRestriction;
3316
+ /**
3317
+ * When true, the post is labeled by X as a paid partnership / paid promotion. For threads, applies to the root tweet only. Field availability may depend on your X API access tier.
3318
+ */
3319
+ paidPartnership?: boolean;
3320
+ /**
3321
+ * When true, the post is labeled by X as containing AI-generated media. Per X, this label is for AI-generated media, not AI-written text. For threads, applies to the root tweet only.
3322
+ */
3323
+ madeWithAi?: boolean;
3324
+ /**
3325
+ * Marks attached media with a sensitive-content warning. Applied to every media item in the post (requires media; ignored for text-only tweets). At least one flag must be true for the warning to be sent.
3326
+ */
3327
+ sensitiveMedia?: {
3328
+ /**
3329
+ * Content contains adult material.
3330
+ */
3331
+ adultContent?: boolean;
3332
+ /**
3333
+ * Content depicts graphic violence.
3334
+ */
3335
+ graphicViolence?: boolean;
3336
+ /**
3337
+ * Content has other sensitive characteristics.
3338
+ */
3339
+ other?: boolean;
3340
+ };
3300
3341
  };
3301
3342
 
3302
3343
  /**
@@ -7589,6 +7630,11 @@ export type ListAccountsData = {
7589
7630
  * Filter accounts by profile ID
7590
7631
  */
7591
7632
  profileId?: string;
7633
+ /**
7634
+ * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
7635
+ *
7636
+ */
7637
+ status?: 'connected' | 'disconnected';
7592
7638
  };
7593
7639
  };
7594
7640