@zernio/node 0.2.673 → 0.2.674

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
@@ -6500,7 +6500,8 @@ type SocialAccount = {
6500
6500
  /**
6501
6501
  * Whether the user explicitly activated this account. false means the account was
6502
6502
  * created as a side effect (e.g., posting account auto-created when user connected
6503
- * ads first). Posting UI and scheduler ignore accounts with enabled: false.
6503
+ * ads first). Such accounts are hidden from this list, cannot be posted to
6504
+ * (`ACCOUNT_NOT_ENABLED_FOR_POSTING`), and are not billed as connected accounts.
6504
6505
  *
6505
6506
  */
6506
6507
  enabled?: boolean;
@@ -12270,7 +12271,7 @@ type CreatePostError = ({
12270
12271
  /**
12271
12272
  * Stable machine-readable cause. Absent for ownership failures.
12272
12273
  */
12273
- code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
12274
+ code?: 'ACCOUNT_DISCONNECTED' | 'ACCOUNT_NOT_ENABLED_FOR_POSTING' | 'PROFILE_OVER_LIMIT';
12274
12275
  } | {
12275
12276
  error?: string;
12276
12277
  details?: {
package/dist/index.d.ts CHANGED
@@ -6500,7 +6500,8 @@ type SocialAccount = {
6500
6500
  /**
6501
6501
  * Whether the user explicitly activated this account. false means the account was
6502
6502
  * created as a side effect (e.g., posting account auto-created when user connected
6503
- * ads first). Posting UI and scheduler ignore accounts with enabled: false.
6503
+ * ads first). Such accounts are hidden from this list, cannot be posted to
6504
+ * (`ACCOUNT_NOT_ENABLED_FOR_POSTING`), and are not billed as connected accounts.
6504
6505
  *
6505
6506
  */
6506
6507
  enabled?: boolean;
@@ -12270,7 +12271,7 @@ type CreatePostError = ({
12270
12271
  /**
12271
12272
  * Stable machine-readable cause. Absent for ownership failures.
12272
12273
  */
12273
- code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
12274
+ code?: 'ACCOUNT_DISCONNECTED' | 'ACCOUNT_NOT_ENABLED_FOR_POSTING' | 'PROFILE_OVER_LIMIT';
12274
12275
  } | {
12275
12276
  error?: string;
12276
12277
  details?: {
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.673",
39
+ version: "0.2.674",
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.673",
8
+ version: "0.2.674",
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": "@zernio/node",
3
- "version": "0.2.673",
3
+ "version": "0.2.674",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5363,7 +5363,8 @@ export type SocialAccount = {
5363
5363
  /**
5364
5364
  * Whether the user explicitly activated this account. false means the account was
5365
5365
  * created as a side effect (e.g., posting account auto-created when user connected
5366
- * ads first). Posting UI and scheduler ignore accounts with enabled: false.
5366
+ * ads first). Such accounts are hidden from this list, cannot be posted to
5367
+ * (`ACCOUNT_NOT_ENABLED_FOR_POSTING`), and are not billed as connected accounts.
5367
5368
  *
5368
5369
  */
5369
5370
  enabled?: boolean;
@@ -11427,7 +11428,7 @@ export type CreatePostError = ({
11427
11428
  /**
11428
11429
  * Stable machine-readable cause. Absent for ownership failures.
11429
11430
  */
11430
- code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
11431
+ code?: 'ACCOUNT_DISCONNECTED' | 'ACCOUNT_NOT_ENABLED_FOR_POSTING' | 'PROFILE_OVER_LIMIT';
11431
11432
  } | {
11432
11433
  error?: string;
11433
11434
  details?: {