@getlatedev/node 0.2.289 → 0.2.290

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
@@ -7830,6 +7830,10 @@ type ListPostsData = {
7830
7830
  * Sort order for results.
7831
7831
  */
7832
7832
  sortBy?: 'scheduled-desc' | 'scheduled-asc' | 'created-desc' | 'created-asc' | 'status' | 'platform';
7833
+ /**
7834
+ * Which collection to read. `zernio` (default) returns posts authored through Zernio. `external` returns posts synced from the platform (existing/historical posts that were published outside Zernio). Combine with `accountId` and paginate via `page`/`limit` to walk the full synced history (we keep up to the last ~12 months per account).
7835
+ */
7836
+ source?: 'zernio' | 'external';
7833
7837
  status?: 'draft' | 'scheduled' | 'published' | 'failed';
7834
7838
  };
7835
7839
  };
package/dist/index.d.ts CHANGED
@@ -7830,6 +7830,10 @@ type ListPostsData = {
7830
7830
  * Sort order for results.
7831
7831
  */
7832
7832
  sortBy?: 'scheduled-desc' | 'scheduled-asc' | 'created-desc' | 'created-asc' | 'status' | 'platform';
7833
+ /**
7834
+ * Which collection to read. `zernio` (default) returns posts authored through Zernio. `external` returns posts synced from the platform (existing/historical posts that were published outside Zernio). Combine with `accountId` and paginate via `page`/`limit` to walk the full synced history (we keep up to the last ~12 months per account).
7835
+ */
7836
+ source?: 'zernio' | 'external';
7833
7837
  status?: 'draft' | 'scheduled' | 'published' | 'failed';
7834
7838
  };
7835
7839
  };
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.289",
39
+ version: "0.2.290",
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.289",
8
+ version: "0.2.290",
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.289",
3
+ "version": "0.2.290",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7425,6 +7425,10 @@ export type ListPostsData = {
7425
7425
  * Sort order for results.
7426
7426
  */
7427
7427
  sortBy?: 'scheduled-desc' | 'scheduled-asc' | 'created-desc' | 'created-asc' | 'status' | 'platform';
7428
+ /**
7429
+ * Which collection to read. `zernio` (default) returns posts authored through Zernio. `external` returns posts synced from the platform (existing/historical posts that were published outside Zernio). Combine with `accountId` and paginate via `page`/`limit` to walk the full synced history (we keep up to the last ~12 months per account).
7430
+ */
7431
+ source?: 'zernio' | 'external';
7428
7432
  status?: 'draft' | 'scheduled' | 'published' | 'failed';
7429
7433
  };
7430
7434
  };