@getlatedev/node 0.2.1775 → 0.2.1776
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 +15 -5
- package/dist/index.d.ts +15 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +15 -5
package/dist/index.d.mts
CHANGED
|
@@ -6535,15 +6535,20 @@ type AnalyticsListResponse = {
|
|
|
6535
6535
|
isAd?: boolean;
|
|
6536
6536
|
profileId?: (string) | null;
|
|
6537
6537
|
/**
|
|
6538
|
-
* Cover image URL. Facebook, Instagram
|
|
6538
|
+
* Cover image URL. A Facebook, Instagram or TikTok cover whose signed CDN link is still valid is served as that link, which expires (Meta `oe=`, TikTok `x-expires=`): download the image rather than storing the link.
|
|
6539
|
+
*
|
|
6540
|
+
* Once the link expires, Zernio re-reads the cover from the platform and serves it from Zernio storage, a URL that does not expire.
|
|
6541
|
+
*
|
|
6542
|
+
* Null while that re-read is pending (read again shortly) or when the platform no longer returns the post, never an expired link.
|
|
6539
6543
|
*/
|
|
6540
|
-
thumbnailUrl?: string;
|
|
6544
|
+
thumbnailUrl?: (string) | null;
|
|
6541
6545
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
6542
6546
|
/**
|
|
6543
6547
|
* All media items for this post. Carousel posts contain one entry per slide.
|
|
6544
6548
|
*
|
|
6545
6549
|
* - Facebook and Instagram images and video covers whose Meta CDN links expired are re-read and served from Zernio storage (non-expiring).
|
|
6546
6550
|
* - Facebook and Instagram video file URLs, and LinkedIn media URLs, stay the platform's signed links and are refreshed on read once they lapse.
|
|
6551
|
+
* - A `url` or `thumbnail` whose platform link expired and could not be re-read yet is null, never the expired link.
|
|
6547
6552
|
*
|
|
6548
6553
|
*/
|
|
6549
6554
|
mediaItems?: Array<{
|
|
@@ -6551,11 +6556,11 @@ type AnalyticsListResponse = {
|
|
|
6551
6556
|
/**
|
|
6552
6557
|
* Direct URL to the media
|
|
6553
6558
|
*/
|
|
6554
|
-
url?: string;
|
|
6559
|
+
url?: (string) | null;
|
|
6555
6560
|
/**
|
|
6556
6561
|
* Thumbnail URL (same as url for images)
|
|
6557
6562
|
*/
|
|
6558
|
-
thumbnail?: string;
|
|
6563
|
+
thumbnail?: (string) | null;
|
|
6559
6564
|
/**
|
|
6560
6565
|
* Accessibility alt text set on the media, when present.
|
|
6561
6566
|
*/
|
|
@@ -6643,7 +6648,11 @@ type AnalyticsSinglePostResponse = {
|
|
|
6643
6648
|
*/
|
|
6644
6649
|
message?: (string) | null;
|
|
6645
6650
|
/**
|
|
6646
|
-
* Cover image URL. Facebook, Instagram
|
|
6651
|
+
* Cover image URL. A Facebook, Instagram or TikTok cover whose signed CDN link is still valid is served as that link, which expires (Meta `oe=`, TikTok `x-expires=`): download the image rather than storing the link.
|
|
6652
|
+
*
|
|
6653
|
+
* Once the link expires, Zernio re-reads the cover from the platform and serves it from Zernio storage, a URL that does not expire.
|
|
6654
|
+
*
|
|
6655
|
+
* Null while that re-read is pending (read again shortly) or when the platform no longer returns the post, never an expired link.
|
|
6647
6656
|
*/
|
|
6648
6657
|
thumbnailUrl?: (string) | null;
|
|
6649
6658
|
mediaType?: ('image' | 'video' | 'carousel' | 'text') | null;
|
|
@@ -6652,6 +6661,7 @@ type AnalyticsSinglePostResponse = {
|
|
|
6652
6661
|
*
|
|
6653
6662
|
* - Facebook and Instagram images and video covers whose Meta CDN links expired are re-read and served from Zernio storage (non-expiring).
|
|
6654
6663
|
* - Facebook and Instagram video file URLs, and LinkedIn media URLs, stay the platform's signed links and are refreshed on read once they lapse.
|
|
6664
|
+
* - A `url` or `thumbnail` whose platform link expired and could not be re-read yet is null, never the expired link.
|
|
6655
6665
|
*
|
|
6656
6666
|
*/
|
|
6657
6667
|
mediaItems?: Array<{
|
package/dist/index.d.ts
CHANGED
|
@@ -6535,15 +6535,20 @@ type AnalyticsListResponse = {
|
|
|
6535
6535
|
isAd?: boolean;
|
|
6536
6536
|
profileId?: (string) | null;
|
|
6537
6537
|
/**
|
|
6538
|
-
* Cover image URL. Facebook, Instagram
|
|
6538
|
+
* Cover image URL. A Facebook, Instagram or TikTok cover whose signed CDN link is still valid is served as that link, which expires (Meta `oe=`, TikTok `x-expires=`): download the image rather than storing the link.
|
|
6539
|
+
*
|
|
6540
|
+
* Once the link expires, Zernio re-reads the cover from the platform and serves it from Zernio storage, a URL that does not expire.
|
|
6541
|
+
*
|
|
6542
|
+
* Null while that re-read is pending (read again shortly) or when the platform no longer returns the post, never an expired link.
|
|
6539
6543
|
*/
|
|
6540
|
-
thumbnailUrl?: string;
|
|
6544
|
+
thumbnailUrl?: (string) | null;
|
|
6541
6545
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
6542
6546
|
/**
|
|
6543
6547
|
* All media items for this post. Carousel posts contain one entry per slide.
|
|
6544
6548
|
*
|
|
6545
6549
|
* - Facebook and Instagram images and video covers whose Meta CDN links expired are re-read and served from Zernio storage (non-expiring).
|
|
6546
6550
|
* - Facebook and Instagram video file URLs, and LinkedIn media URLs, stay the platform's signed links and are refreshed on read once they lapse.
|
|
6551
|
+
* - A `url` or `thumbnail` whose platform link expired and could not be re-read yet is null, never the expired link.
|
|
6547
6552
|
*
|
|
6548
6553
|
*/
|
|
6549
6554
|
mediaItems?: Array<{
|
|
@@ -6551,11 +6556,11 @@ type AnalyticsListResponse = {
|
|
|
6551
6556
|
/**
|
|
6552
6557
|
* Direct URL to the media
|
|
6553
6558
|
*/
|
|
6554
|
-
url?: string;
|
|
6559
|
+
url?: (string) | null;
|
|
6555
6560
|
/**
|
|
6556
6561
|
* Thumbnail URL (same as url for images)
|
|
6557
6562
|
*/
|
|
6558
|
-
thumbnail?: string;
|
|
6563
|
+
thumbnail?: (string) | null;
|
|
6559
6564
|
/**
|
|
6560
6565
|
* Accessibility alt text set on the media, when present.
|
|
6561
6566
|
*/
|
|
@@ -6643,7 +6648,11 @@ type AnalyticsSinglePostResponse = {
|
|
|
6643
6648
|
*/
|
|
6644
6649
|
message?: (string) | null;
|
|
6645
6650
|
/**
|
|
6646
|
-
* Cover image URL. Facebook, Instagram
|
|
6651
|
+
* Cover image URL. A Facebook, Instagram or TikTok cover whose signed CDN link is still valid is served as that link, which expires (Meta `oe=`, TikTok `x-expires=`): download the image rather than storing the link.
|
|
6652
|
+
*
|
|
6653
|
+
* Once the link expires, Zernio re-reads the cover from the platform and serves it from Zernio storage, a URL that does not expire.
|
|
6654
|
+
*
|
|
6655
|
+
* Null while that re-read is pending (read again shortly) or when the platform no longer returns the post, never an expired link.
|
|
6647
6656
|
*/
|
|
6648
6657
|
thumbnailUrl?: (string) | null;
|
|
6649
6658
|
mediaType?: ('image' | 'video' | 'carousel' | 'text') | null;
|
|
@@ -6652,6 +6661,7 @@ type AnalyticsSinglePostResponse = {
|
|
|
6652
6661
|
*
|
|
6653
6662
|
* - Facebook and Instagram images and video covers whose Meta CDN links expired are re-read and served from Zernio storage (non-expiring).
|
|
6654
6663
|
* - Facebook and Instagram video file URLs, and LinkedIn media URLs, stay the platform's signed links and are refreshed on read once they lapse.
|
|
6664
|
+
* - A `url` or `thumbnail` whose platform link expired and could not be re-read yet is null, never the expired link.
|
|
6655
6665
|
*
|
|
6656
6666
|
*/
|
|
6657
6667
|
mediaItems?: Array<{
|
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1776",
|
|
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: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1776",
|
|
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
|
@@ -4027,15 +4027,20 @@ export type AnalyticsListResponse = {
|
|
|
4027
4027
|
isAd?: boolean;
|
|
4028
4028
|
profileId?: (string) | null;
|
|
4029
4029
|
/**
|
|
4030
|
-
* Cover image URL. Facebook, Instagram
|
|
4030
|
+
* Cover image URL. A Facebook, Instagram or TikTok cover whose signed CDN link is still valid is served as that link, which expires (Meta `oe=`, TikTok `x-expires=`): download the image rather than storing the link.
|
|
4031
|
+
*
|
|
4032
|
+
* Once the link expires, Zernio re-reads the cover from the platform and serves it from Zernio storage, a URL that does not expire.
|
|
4033
|
+
*
|
|
4034
|
+
* Null while that re-read is pending (read again shortly) or when the platform no longer returns the post, never an expired link.
|
|
4031
4035
|
*/
|
|
4032
|
-
thumbnailUrl?: string;
|
|
4036
|
+
thumbnailUrl?: (string) | null;
|
|
4033
4037
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
4034
4038
|
/**
|
|
4035
4039
|
* All media items for this post. Carousel posts contain one entry per slide.
|
|
4036
4040
|
*
|
|
4037
4041
|
* - Facebook and Instagram images and video covers whose Meta CDN links expired are re-read and served from Zernio storage (non-expiring).
|
|
4038
4042
|
* - Facebook and Instagram video file URLs, and LinkedIn media URLs, stay the platform's signed links and are refreshed on read once they lapse.
|
|
4043
|
+
* - A `url` or `thumbnail` whose platform link expired and could not be re-read yet is null, never the expired link.
|
|
4039
4044
|
*
|
|
4040
4045
|
*/
|
|
4041
4046
|
mediaItems?: Array<{
|
|
@@ -4043,11 +4048,11 @@ export type AnalyticsListResponse = {
|
|
|
4043
4048
|
/**
|
|
4044
4049
|
* Direct URL to the media
|
|
4045
4050
|
*/
|
|
4046
|
-
url?: string;
|
|
4051
|
+
url?: (string) | null;
|
|
4047
4052
|
/**
|
|
4048
4053
|
* Thumbnail URL (same as url for images)
|
|
4049
4054
|
*/
|
|
4050
|
-
thumbnail?: string;
|
|
4055
|
+
thumbnail?: (string) | null;
|
|
4051
4056
|
/**
|
|
4052
4057
|
* Accessibility alt text set on the media, when present.
|
|
4053
4058
|
*/
|
|
@@ -4137,7 +4142,11 @@ export type AnalyticsSinglePostResponse = {
|
|
|
4137
4142
|
*/
|
|
4138
4143
|
message?: (string) | null;
|
|
4139
4144
|
/**
|
|
4140
|
-
* Cover image URL. Facebook, Instagram
|
|
4145
|
+
* Cover image URL. A Facebook, Instagram or TikTok cover whose signed CDN link is still valid is served as that link, which expires (Meta `oe=`, TikTok `x-expires=`): download the image rather than storing the link.
|
|
4146
|
+
*
|
|
4147
|
+
* Once the link expires, Zernio re-reads the cover from the platform and serves it from Zernio storage, a URL that does not expire.
|
|
4148
|
+
*
|
|
4149
|
+
* Null while that re-read is pending (read again shortly) or when the platform no longer returns the post, never an expired link.
|
|
4141
4150
|
*/
|
|
4142
4151
|
thumbnailUrl?: (string) | null;
|
|
4143
4152
|
mediaType?: ('image' | 'video' | 'carousel' | 'text') | null;
|
|
@@ -4146,6 +4155,7 @@ export type AnalyticsSinglePostResponse = {
|
|
|
4146
4155
|
*
|
|
4147
4156
|
* - Facebook and Instagram images and video covers whose Meta CDN links expired are re-read and served from Zernio storage (non-expiring).
|
|
4148
4157
|
* - Facebook and Instagram video file URLs, and LinkedIn media URLs, stay the platform's signed links and are refreshed on read once they lapse.
|
|
4158
|
+
* - A `url` or `thumbnail` whose platform link expired and could not be re-read yet is null, never the expired link.
|
|
4149
4159
|
*
|
|
4150
4160
|
*/
|
|
4151
4161
|
mediaItems?: Array<{
|