@zernio/node 0.2.853 → 0.2.854

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
@@ -25393,9 +25393,14 @@ type GetTweetData = {
25393
25393
  */
25394
25394
  accountId: string;
25395
25395
  /**
25396
- * Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...)
25396
+ * Alias of tweetId, kept for existing callers
25397
+ * @deprecated
25397
25398
  */
25398
- id: string;
25399
+ id?: string;
25400
+ /**
25401
+ * Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...). The same name the other /v1/twitter operations use (retweet, bookmark).
25402
+ */
25403
+ tweetId: string;
25399
25404
  };
25400
25405
  };
25401
25406
  type GetTweetResponse = ({
@@ -25424,9 +25429,9 @@ type GetTweetResponse = ({
25424
25429
  platform?: string;
25425
25430
  };
25426
25431
  });
25427
- type GetTweetError = (ErrorResponse | {
25432
+ type GetTweetError = (unknown | {
25428
25433
  error?: string;
25429
- } | unknown);
25434
+ });
25430
25435
  type ListInboxMentionsData = {
25431
25436
  query?: {
25432
25437
  /**
package/dist/index.d.ts CHANGED
@@ -25393,9 +25393,14 @@ type GetTweetData = {
25393
25393
  */
25394
25394
  accountId: string;
25395
25395
  /**
25396
- * Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...)
25396
+ * Alias of tweetId, kept for existing callers
25397
+ * @deprecated
25397
25398
  */
25398
- id: string;
25399
+ id?: string;
25400
+ /**
25401
+ * Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...). The same name the other /v1/twitter operations use (retweet, bookmark).
25402
+ */
25403
+ tweetId: string;
25399
25404
  };
25400
25405
  };
25401
25406
  type GetTweetResponse = ({
@@ -25424,9 +25429,9 @@ type GetTweetResponse = ({
25424
25429
  platform?: string;
25425
25430
  };
25426
25431
  });
25427
- type GetTweetError = (ErrorResponse | {
25432
+ type GetTweetError = (unknown | {
25428
25433
  error?: string;
25429
- } | unknown);
25434
+ });
25430
25435
  type ListInboxMentionsData = {
25431
25436
  query?: {
25432
25437
  /**
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.853",
39
+ version: "0.2.854",
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.853",
8
+ version: "0.2.854",
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.853",
3
+ "version": "0.2.854",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -24985,9 +24985,14 @@ export type GetTweetData = {
24985
24985
  */
24986
24986
  accountId: string;
24987
24987
  /**
24988
- * Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...)
24988
+ * Alias of tweetId, kept for existing callers
24989
+ * @deprecated
24989
24990
  */
24990
- id: string;
24991
+ id?: string;
24992
+ /**
24993
+ * Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...). The same name the other /v1/twitter operations use (retweet, bookmark).
24994
+ */
24995
+ tweetId: string;
24991
24996
  };
24992
24997
  };
24993
24998
 
@@ -25018,9 +25023,9 @@ export type GetTweetResponse = ({
25018
25023
  };
25019
25024
  });
25020
25025
 
25021
- export type GetTweetError = (ErrorResponse | {
25026
+ export type GetTweetError = (unknown | {
25022
25027
  error?: string;
25023
- } | unknown);
25028
+ });
25024
25029
 
25025
25030
  export type ListInboxMentionsData = {
25026
25031
  query?: {