@zernio/node 0.2.674 → 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.
@@ -12191,6 +12193,9 @@ type ListPostsError = (ErrorResponse | {
12191
12193
  });
12192
12194
  type CreatePostData = {
12193
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
+ */
12194
12199
  title?: string;
12195
12200
  /**
12196
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.
@@ -12225,6 +12230,9 @@ type CreatePostData = {
12225
12230
  * Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
12226
12231
  */
12227
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
+ */
12228
12236
  hashtags?: Array<(string)>;
12229
12237
  /**
12230
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.
@@ -12344,6 +12352,9 @@ type GetPostError = (ErrorResponse | {
12344
12352
  });
12345
12353
  type UpdatePostData = {
12346
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
+ */
12347
12358
  title?: string;
12348
12359
  content?: string;
12349
12360
  mediaItems?: Array<MediaItem>;
@@ -12378,6 +12389,9 @@ type UpdatePostData = {
12378
12389
  timezone?: string;
12379
12390
  visibility?: 'public' | 'private' | 'unlisted';
12380
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
+ */
12381
12395
  hashtags?: Array<(string)>;
12382
12396
  mentions?: Array<(string)>;
12383
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.
@@ -12191,6 +12193,9 @@ type ListPostsError = (ErrorResponse | {
12191
12193
  });
12192
12194
  type CreatePostData = {
12193
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
+ */
12194
12199
  title?: string;
12195
12200
  /**
12196
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.
@@ -12225,6 +12230,9 @@ type CreatePostData = {
12225
12230
  * Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
12226
12231
  */
12227
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
+ */
12228
12236
  hashtags?: Array<(string)>;
12229
12237
  /**
12230
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.
@@ -12344,6 +12352,9 @@ type GetPostError = (ErrorResponse | {
12344
12352
  });
12345
12353
  type UpdatePostData = {
12346
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
+ */
12347
12358
  title?: string;
12348
12359
  content?: string;
12349
12360
  mediaItems?: Array<MediaItem>;
@@ -12378,6 +12389,9 @@ type UpdatePostData = {
12378
12389
  timezone?: string;
12379
12390
  visibility?: 'public' | 'private' | 'unlisted';
12380
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
+ */
12381
12395
  hashtags?: Array<(string)>;
12382
12396
  mentions?: Array<(string)>;
12383
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.674",
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.674",
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.674",
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.
@@ -11346,6 +11348,9 @@ export type ListPostsError = (ErrorResponse | {
11346
11348
 
11347
11349
  export type CreatePostData = {
11348
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
+ */
11349
11354
  title?: string;
11350
11355
  /**
11351
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.
@@ -11380,6 +11385,9 @@ export type CreatePostData = {
11380
11385
  * Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
11381
11386
  */
11382
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
+ */
11383
11391
  hashtags?: Array<(string)>;
11384
11392
  /**
11385
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.
@@ -11508,6 +11516,9 @@ export type GetPostError = (ErrorResponse | {
11508
11516
 
11509
11517
  export type UpdatePostData = {
11510
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
+ */
11511
11522
  title?: string;
11512
11523
  content?: string;
11513
11524
  mediaItems?: Array<MediaItem>;
@@ -11542,6 +11553,9 @@ export type UpdatePostData = {
11542
11553
  timezone?: string;
11543
11554
  visibility?: 'public' | 'private' | 'unlisted';
11544
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
+ */
11545
11559
  hashtags?: Array<(string)>;
11546
11560
  mentions?: Array<(string)>;
11547
11561
  crosspostingEnabled?: boolean;