@zernio/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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +4 -0
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
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
|
@@ -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
|
};
|