@getlatedev/node 0.2.1474 → 0.2.1476

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
@@ -15239,7 +15239,7 @@ type Post = {
15239
15239
  */
15240
15240
  hashtags?: Array<(string)>;
15241
15241
  /**
15242
- * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, write them in the post content, for example @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme].
15242
+ * Stored for reference only. Publishing does not create mentions from this field.
15243
15243
  */
15244
15244
  mentions?: Array<(string)>;
15245
15245
  visibility?: 'public' | 'private' | 'unlisted';
@@ -27929,7 +27929,7 @@ type CreatePostData = {
27929
27929
  */
27930
27930
  title?: string;
27931
27931
  /**
27932
- * Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts. LinkedIn @mentions: write @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme] in the text, see [LinkedIn mentions](/platforms/linkedin#mentions).
27932
+ * Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
27933
27933
  */
27934
27934
  content?: string;
27935
27935
  /**
@@ -28015,7 +28015,7 @@ type CreatePostData = {
28015
28015
  */
28016
28016
  hashtags?: Array<(string)>;
28017
28017
  /**
28018
- * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, write them in the post content, for example @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme].
28018
+ * Stored for reference only. Publishing does not create mentions from this field.
28019
28019
  */
28020
28020
  mentions?: Array<(string)>;
28021
28021
  /**
@@ -28715,6 +28715,10 @@ type ListAccountsData = {
28715
28715
  * Filter accounts by platform (e.g. "instagram", "twitter").
28716
28716
  */
28717
28717
  platform?: string;
28718
+ /**
28719
+ * Comma-separated platforms (up to 50) to list together, the several-platform form of `platform`. Applied before pagination.
28720
+ */
28721
+ platforms?: string;
28718
28722
  /**
28719
28723
  * Filter accounts by profile ID. Must be a valid ObjectId.
28720
28724
  */
package/dist/index.d.ts CHANGED
@@ -15239,7 +15239,7 @@ type Post = {
15239
15239
  */
15240
15240
  hashtags?: Array<(string)>;
15241
15241
  /**
15242
- * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, write them in the post content, for example @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme].
15242
+ * Stored for reference only. Publishing does not create mentions from this field.
15243
15243
  */
15244
15244
  mentions?: Array<(string)>;
15245
15245
  visibility?: 'public' | 'private' | 'unlisted';
@@ -27929,7 +27929,7 @@ type CreatePostData = {
27929
27929
  */
27930
27930
  title?: string;
27931
27931
  /**
27932
- * Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts. LinkedIn @mentions: write @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme] in the text, see [LinkedIn mentions](/platforms/linkedin#mentions).
27932
+ * Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
27933
27933
  */
27934
27934
  content?: string;
27935
27935
  /**
@@ -28015,7 +28015,7 @@ type CreatePostData = {
28015
28015
  */
28016
28016
  hashtags?: Array<(string)>;
28017
28017
  /**
28018
- * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, write them in the post content, for example @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme].
28018
+ * Stored for reference only. Publishing does not create mentions from this field.
28019
28019
  */
28020
28020
  mentions?: Array<(string)>;
28021
28021
  /**
@@ -28715,6 +28715,10 @@ type ListAccountsData = {
28715
28715
  * Filter accounts by platform (e.g. "instagram", "twitter").
28716
28716
  */
28717
28717
  platform?: string;
28718
+ /**
28719
+ * Comma-separated platforms (up to 50) to list together, the several-platform form of `platform`. Applied before pagination.
28720
+ */
28721
+ platforms?: string;
28718
28722
  /**
28719
28723
  * Filter accounts by profile ID. Must be a valid ObjectId.
28720
28724
  */
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.1474",
39
+ version: "0.2.1476",
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.1474",
8
+ version: "0.2.1476",
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.1474",
3
+ "version": "0.2.1476",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1709,6 +1709,8 @@ export const listPosts = <ThrowOnError extends boolean = false>(options?: Option
1709
1709
  * Create post
1710
1710
  * Create a post, and optionally publish it in the same request. A post published immediately (`publishNow: true`) comes back with `platformPostUrl` in the response.
1711
1711
  *
1712
+ * ## Optional content
1713
+ *
1712
1714
  * `content` is optional in four cases:
1713
1715
  *
1714
1716
  * - media is attached
@@ -13532,7 +13532,7 @@ export type Post = {
13532
13532
  */
13533
13533
  hashtags?: Array<(string)>;
13534
13534
  /**
13535
- * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, write them in the post content, for example @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme].
13535
+ * Stored for reference only. Publishing does not create mentions from this field.
13536
13536
  */
13537
13537
  mentions?: Array<(string)>;
13538
13538
  visibility?: 'public' | 'private' | 'unlisted';
@@ -26883,7 +26883,7 @@ export type CreatePostData = {
26883
26883
  */
26884
26884
  title?: string;
26885
26885
  /**
26886
- * Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts. LinkedIn @mentions: write @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme] in the text, see [LinkedIn mentions](/platforms/linkedin#mentions).
26886
+ * Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
26887
26887
  */
26888
26888
  content?: string;
26889
26889
  /**
@@ -26969,7 +26969,7 @@ export type CreatePostData = {
26969
26969
  */
26970
26970
  hashtags?: Array<(string)>;
26971
26971
  /**
26972
- * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, write them in the post content, for example @[https://www.linkedin.com/in/jane-doe] or @[https://www.linkedin.com/company/acme].
26972
+ * Stored for reference only. Publishing does not create mentions from this field.
26973
26973
  */
26974
26974
  mentions?: Array<(string)>;
26975
26975
  /**
@@ -27728,6 +27728,10 @@ export type ListAccountsData = {
27728
27728
  * Filter accounts by platform (e.g. "instagram", "twitter").
27729
27729
  */
27730
27730
  platform?: string;
27731
+ /**
27732
+ * Comma-separated platforms (up to 50) to list together, the several-platform form of `platform`. Applied before pagination.
27733
+ */
27734
+ platforms?: string;
27731
27735
  /**
27732
27736
  * Filter accounts by profile ID. Must be a valid ObjectId.
27733
27737
  */