@zernio/node 0.2.598 → 0.2.599

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
@@ -2425,9 +2425,9 @@ type AnalyticsSinglePostResponse = {
2425
2425
  */
2426
2426
  altText?: string;
2427
2427
  /**
2428
- * Present only when the media file could not be retrieved. Absent means the file is available at url.
2428
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
2429
2429
  */
2430
- mediaStatus?: 'unavailable';
2430
+ mediaStatus?: 'available' | 'unavailable';
2431
2431
  /**
2432
2432
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
2433
2433
  */
@@ -3985,9 +3985,9 @@ type ExternalPostMediaItem = {
3985
3985
  */
3986
3986
  thumbnail?: string;
3987
3987
  /**
3988
- * 'Present only when the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). Absent means the file is available at url.'
3988
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
3989
3989
  */
3990
- mediaStatus?: 'unavailable';
3990
+ mediaStatus?: 'available' | 'unavailable';
3991
3991
  /**
3992
3992
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
3993
3993
  */
@@ -3995,9 +3995,9 @@ type ExternalPostMediaItem = {
3995
3995
  };
3996
3996
  type type5 = 'image' | 'video';
3997
3997
  /**
3998
- * 'Present only when the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). Absent means the file is available at url.'
3998
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
3999
3999
  */
4000
- type mediaStatus = 'unavailable';
4000
+ type mediaStatus = 'available' | 'unavailable';
4001
4001
  /**
4002
4002
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
4003
4003
  */
package/dist/index.d.ts CHANGED
@@ -2425,9 +2425,9 @@ type AnalyticsSinglePostResponse = {
2425
2425
  */
2426
2426
  altText?: string;
2427
2427
  /**
2428
- * Present only when the media file could not be retrieved. Absent means the file is available at url.
2428
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
2429
2429
  */
2430
- mediaStatus?: 'unavailable';
2430
+ mediaStatus?: 'available' | 'unavailable';
2431
2431
  /**
2432
2432
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
2433
2433
  */
@@ -3985,9 +3985,9 @@ type ExternalPostMediaItem = {
3985
3985
  */
3986
3986
  thumbnail?: string;
3987
3987
  /**
3988
- * 'Present only when the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). Absent means the file is available at url.'
3988
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
3989
3989
  */
3990
- mediaStatus?: 'unavailable';
3990
+ mediaStatus?: 'available' | 'unavailable';
3991
3991
  /**
3992
3992
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
3993
3993
  */
@@ -3995,9 +3995,9 @@ type ExternalPostMediaItem = {
3995
3995
  };
3996
3996
  type type5 = 'image' | 'video';
3997
3997
  /**
3998
- * 'Present only when the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). Absent means the file is available at url.'
3998
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
3999
3999
  */
4000
- type mediaStatus = 'unavailable';
4000
+ type mediaStatus = 'available' | 'unavailable';
4001
4001
  /**
4002
4002
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
4003
4003
  */
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.598",
39
+ version: "0.2.599",
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.598",
8
+ version: "0.2.599",
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.598",
3
+ "version": "0.2.599",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1161,9 +1161,9 @@ export type AnalyticsSinglePostResponse = {
1161
1161
  */
1162
1162
  altText?: string;
1163
1163
  /**
1164
- * Present only when the media file could not be retrieved. Absent means the file is available at url.
1164
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
1165
1165
  */
1166
- mediaStatus?: 'unavailable';
1166
+ mediaStatus?: 'available' | 'unavailable';
1167
1167
  /**
1168
1168
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
1169
1169
  */
@@ -2780,9 +2780,9 @@ export type ExternalPostMediaItem = {
2780
2780
  */
2781
2781
  thumbnail?: string;
2782
2782
  /**
2783
- * 'Present only when the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). Absent means the file is available at url.'
2783
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
2784
2784
  */
2785
- mediaStatus?: 'unavailable';
2785
+ mediaStatus?: 'available' | 'unavailable';
2786
2786
  /**
2787
2787
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
2788
2788
  */
@@ -2792,9 +2792,9 @@ export type ExternalPostMediaItem = {
2792
2792
  export type type5 = 'image' | 'video';
2793
2793
 
2794
2794
  /**
2795
- * 'Present only when the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). Absent means the file is available at url.'
2795
+ * unavailable means the media file could not be retrieved (url is null or, for LinkedIn videos, a cover image standing in for the file). available or absent means the file is available at url (older synced items omit the field).
2796
2796
  */
2797
- export type mediaStatus = 'unavailable';
2797
+ export type mediaStatus = 'available' | 'unavailable';
2798
2798
 
2799
2799
  /**
2800
2800
  * Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.