@zernio/node 0.2.54 → 0.2.55

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
@@ -714,6 +714,18 @@ type Ad = {
714
714
  * Alternative image URL
715
715
  */
716
716
  imageUrl?: string;
717
+ /**
718
+ * Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
719
+ */
720
+ videoId?: (string) | null;
721
+ /**
722
+ * Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
723
+ */
724
+ videoUrl?: (string) | null;
725
+ /**
726
+ * Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
727
+ */
728
+ objectType?: string;
717
729
  /**
718
730
  * All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
719
731
  */
package/dist/index.d.ts CHANGED
@@ -714,6 +714,18 @@ type Ad = {
714
714
  * Alternative image URL
715
715
  */
716
716
  imageUrl?: string;
717
+ /**
718
+ * Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
719
+ */
720
+ videoId?: (string) | null;
721
+ /**
722
+ * Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
723
+ */
724
+ videoUrl?: (string) | null;
725
+ /**
726
+ * Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
727
+ */
728
+ objectType?: string;
717
729
  /**
718
730
  * All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
719
731
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.54",
3
+ "version": "0.2.55",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -118,6 +118,18 @@ export type Ad = {
118
118
  * Alternative image URL
119
119
  */
120
120
  imageUrl?: string;
121
+ /**
122
+ * Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
123
+ */
124
+ videoId?: (string) | null;
125
+ /**
126
+ * Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
127
+ */
128
+ videoUrl?: (string) | null;
129
+ /**
130
+ * Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
131
+ */
132
+ objectType?: string;
121
133
  /**
122
134
  * All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
123
135
  */