@zernio/node 0.2.673 → 0.2.675

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
@@ -5901,8 +5901,7 @@ type Post = {
5901
5901
  _id?: string;
5902
5902
  userId?: (string | User);
5903
5903
  /**
5904
- * YouTube: title must be ≤ 100 characters.
5905
- *
5904
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
5906
5905
  */
5907
5906
  title?: string;
5908
5907
  content?: string;
@@ -5915,6 +5914,9 @@ type Post = {
5915
5914
  * YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed.
5916
5915
  */
5917
5916
  tags?: Array<(string)>;
5917
+ /**
5918
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
5919
+ */
5918
5920
  hashtags?: Array<(string)>;
5919
5921
  /**
5920
5922
  * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
@@ -6500,7 +6502,8 @@ type SocialAccount = {
6500
6502
  /**
6501
6503
  * Whether the user explicitly activated this account. false means the account was
6502
6504
  * 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.
6505
+ * ads first). Such accounts are hidden from this list, cannot be posted to
6506
+ * (`ACCOUNT_NOT_ENABLED_FOR_POSTING`), and are not billed as connected accounts.
6504
6507
  *
6505
6508
  */
6506
6509
  enabled?: boolean;
@@ -12190,6 +12193,9 @@ type ListPostsError = (ErrorResponse | {
12190
12193
  });
12191
12194
  type CreatePostData = {
12192
12195
  body: {
12196
+ /**
12197
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
12198
+ */
12193
12199
  title?: string;
12194
12200
  /**
12195
12201
  * 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.
@@ -12224,6 +12230,9 @@ type CreatePostData = {
12224
12230
  * Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
12225
12231
  */
12226
12232
  tags?: Array<(string)>;
12233
+ /**
12234
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
12235
+ */
12227
12236
  hashtags?: Array<(string)>;
12228
12237
  /**
12229
12238
  * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
@@ -12270,7 +12279,7 @@ type CreatePostError = ({
12270
12279
  /**
12271
12280
  * Stable machine-readable cause. Absent for ownership failures.
12272
12281
  */
12273
- code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
12282
+ code?: 'ACCOUNT_DISCONNECTED' | 'ACCOUNT_NOT_ENABLED_FOR_POSTING' | 'PROFILE_OVER_LIMIT';
12274
12283
  } | {
12275
12284
  error?: string;
12276
12285
  details?: {
@@ -12343,6 +12352,9 @@ type GetPostError = (ErrorResponse | {
12343
12352
  });
12344
12353
  type UpdatePostData = {
12345
12354
  body: {
12355
+ /**
12356
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
12357
+ */
12346
12358
  title?: string;
12347
12359
  content?: string;
12348
12360
  mediaItems?: Array<MediaItem>;
@@ -12377,6 +12389,9 @@ type UpdatePostData = {
12377
12389
  timezone?: string;
12378
12390
  visibility?: 'public' | 'private' | 'unlisted';
12379
12391
  tags?: Array<(string)>;
12392
+ /**
12393
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
12394
+ */
12380
12395
  hashtags?: Array<(string)>;
12381
12396
  mentions?: Array<(string)>;
12382
12397
  crosspostingEnabled?: boolean;
package/dist/index.d.ts CHANGED
@@ -5901,8 +5901,7 @@ type Post = {
5901
5901
  _id?: string;
5902
5902
  userId?: (string | User);
5903
5903
  /**
5904
- * YouTube: title must be ≤ 100 characters.
5905
- *
5904
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
5906
5905
  */
5907
5906
  title?: string;
5908
5907
  content?: string;
@@ -5915,6 +5914,9 @@ type Post = {
5915
5914
  * YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed.
5916
5915
  */
5917
5916
  tags?: Array<(string)>;
5917
+ /**
5918
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
5919
+ */
5918
5920
  hashtags?: Array<(string)>;
5919
5921
  /**
5920
5922
  * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
@@ -6500,7 +6502,8 @@ type SocialAccount = {
6500
6502
  /**
6501
6503
  * Whether the user explicitly activated this account. false means the account was
6502
6504
  * 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.
6505
+ * ads first). Such accounts are hidden from this list, cannot be posted to
6506
+ * (`ACCOUNT_NOT_ENABLED_FOR_POSTING`), and are not billed as connected accounts.
6504
6507
  *
6505
6508
  */
6506
6509
  enabled?: boolean;
@@ -12190,6 +12193,9 @@ type ListPostsError = (ErrorResponse | {
12190
12193
  });
12191
12194
  type CreatePostData = {
12192
12195
  body: {
12196
+ /**
12197
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
12198
+ */
12193
12199
  title?: string;
12194
12200
  /**
12195
12201
  * 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.
@@ -12224,6 +12230,9 @@ type CreatePostData = {
12224
12230
  * Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
12225
12231
  */
12226
12232
  tags?: Array<(string)>;
12233
+ /**
12234
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
12235
+ */
12227
12236
  hashtags?: Array<(string)>;
12228
12237
  /**
12229
12238
  * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
@@ -12270,7 +12279,7 @@ type CreatePostError = ({
12270
12279
  /**
12271
12280
  * Stable machine-readable cause. Absent for ownership failures.
12272
12281
  */
12273
- code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
12282
+ code?: 'ACCOUNT_DISCONNECTED' | 'ACCOUNT_NOT_ENABLED_FOR_POSTING' | 'PROFILE_OVER_LIMIT';
12274
12283
  } | {
12275
12284
  error?: string;
12276
12285
  details?: {
@@ -12343,6 +12352,9 @@ type GetPostError = (ErrorResponse | {
12343
12352
  });
12344
12353
  type UpdatePostData = {
12345
12354
  body: {
12355
+ /**
12356
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
12357
+ */
12346
12358
  title?: string;
12347
12359
  content?: string;
12348
12360
  mediaItems?: Array<MediaItem>;
@@ -12377,6 +12389,9 @@ type UpdatePostData = {
12377
12389
  timezone?: string;
12378
12390
  visibility?: 'public' | 'private' | 'unlisted';
12379
12391
  tags?: Array<(string)>;
12392
+ /**
12393
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
12394
+ */
12380
12395
  hashtags?: Array<(string)>;
12381
12396
  mentions?: Array<(string)>;
12382
12397
  crosspostingEnabled?: boolean;
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.675",
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.675",
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.675",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4729,8 +4729,7 @@ export type Post = {
4729
4729
  _id?: string;
4730
4730
  userId?: (string | User);
4731
4731
  /**
4732
- * YouTube: title must be ≤ 100 characters.
4733
- *
4732
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
4734
4733
  */
4735
4734
  title?: string;
4736
4735
  content?: string;
@@ -4743,6 +4742,9 @@ export type Post = {
4743
4742
  * YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed.
4744
4743
  */
4745
4744
  tags?: Array<(string)>;
4745
+ /**
4746
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
4747
+ */
4746
4748
  hashtags?: Array<(string)>;
4747
4749
  /**
4748
4750
  * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
@@ -5363,7 +5365,8 @@ export type SocialAccount = {
5363
5365
  /**
5364
5366
  * Whether the user explicitly activated this account. false means the account was
5365
5367
  * 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.
5368
+ * ads first). Such accounts are hidden from this list, cannot be posted to
5369
+ * (`ACCOUNT_NOT_ENABLED_FOR_POSTING`), and are not billed as connected accounts.
5367
5370
  *
5368
5371
  */
5369
5372
  enabled?: boolean;
@@ -11345,6 +11348,9 @@ export type ListPostsError = (ErrorResponse | {
11345
11348
 
11346
11349
  export type CreatePostData = {
11347
11350
  body: {
11351
+ /**
11352
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
11353
+ */
11348
11354
  title?: string;
11349
11355
  /**
11350
11356
  * 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.
@@ -11379,6 +11385,9 @@ export type CreatePostData = {
11379
11385
  * Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
11380
11386
  */
11381
11387
  tags?: Array<(string)>;
11388
+ /**
11389
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
11390
+ */
11382
11391
  hashtags?: Array<(string)>;
11383
11392
  /**
11384
11393
  * Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
@@ -11427,7 +11436,7 @@ export type CreatePostError = ({
11427
11436
  /**
11428
11437
  * Stable machine-readable cause. Absent for ownership failures.
11429
11438
  */
11430
- code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
11439
+ code?: 'ACCOUNT_DISCONNECTED' | 'ACCOUNT_NOT_ENABLED_FOR_POSTING' | 'PROFILE_OVER_LIMIT';
11431
11440
  } | {
11432
11441
  error?: string;
11433
11442
  details?: {
@@ -11507,6 +11516,9 @@ export type GetPostError = (ErrorResponse | {
11507
11516
 
11508
11517
  export type UpdatePostData = {
11509
11518
  body: {
11519
+ /**
11520
+ * Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
11521
+ */
11510
11522
  title?: string;
11511
11523
  content?: string;
11512
11524
  mediaItems?: Array<MediaItem>;
@@ -11541,6 +11553,9 @@ export type UpdatePostData = {
11541
11553
  timezone?: string;
11542
11554
  visibility?: 'public' | 'private' | 'unlisted';
11543
11555
  tags?: Array<(string)>;
11556
+ /**
11557
+ * Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
11558
+ */
11544
11559
  hashtags?: Array<(string)>;
11545
11560
  mentions?: Array<(string)>;
11546
11561
  crosspostingEnabled?: boolean;