@getlatedev/node 0.2.338 → 0.2.340

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
@@ -23101,7 +23101,7 @@ type CreateStandaloneAdData = {
23101
23101
  /**
23102
23102
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
23103
23103
  */
23104
- publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
23104
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
23105
23105
  facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
23106
23106
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
23107
23107
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
@@ -23258,7 +23258,7 @@ type CreateStandaloneAdData = {
23258
23258
  * Placements this asset is pinned to. At least one field must be set (an empty rule is invalid — that role is served by the default asset). Same enums as the top-level `placements` object.
23259
23259
  */
23260
23260
  placements: {
23261
- publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
23261
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
23262
23262
  facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
23263
23263
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
23264
23264
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
@@ -24899,6 +24899,33 @@ type CreateCtwaAdData = {
24899
24899
  * Custom audience ID to target.
24900
24900
  */
24901
24901
  audienceId?: string;
24902
+ /**
24903
+ * Manual ad placements on the shared ad set. Omit
24904
+ * for automatic placements. When set, restricts delivery to the chosen surfaces,
24905
+ * mapped onto the ad set's `targeting.{publisher_platforms, facebook_positions, instagram_positions,
24906
+ * messenger_positions, audience_network_positions, threads_positions,
24907
+ * whatsapp_positions, device_platforms}`. Enum membership is validated here; Meta
24908
+ * additionally enforces co-selection rules and restricts which
24909
+ * placements are eligible for click-to-WhatsApp ads, returning an actionable
24910
+ * error which we surface.
24911
+ *
24912
+ */
24913
+ placements?: {
24914
+ /**
24915
+ * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
24916
+ */
24917
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
24918
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
24919
+ instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
24920
+ messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
24921
+ audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
24922
+ threadsPositions?: Array<('threads_stream')>;
24923
+ whatsappPositions?: Array<('status')>;
24924
+ /**
24925
+ * Restrict by device. Omit to deliver on both mobile and desktop.
24926
+ */
24927
+ devicePlatforms?: Array<('mobile' | 'desktop')>;
24928
+ };
24902
24929
  /**
24903
24930
  * Meta's Advantage+ audience expansion. `0` (default) keeps
24904
24931
  * targeting strict; `1` lets Meta expand beyond the supplied
package/dist/index.d.ts CHANGED
@@ -23101,7 +23101,7 @@ type CreateStandaloneAdData = {
23101
23101
  /**
23102
23102
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
23103
23103
  */
23104
- publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
23104
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
23105
23105
  facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
23106
23106
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
23107
23107
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
@@ -23258,7 +23258,7 @@ type CreateStandaloneAdData = {
23258
23258
  * Placements this asset is pinned to. At least one field must be set (an empty rule is invalid — that role is served by the default asset). Same enums as the top-level `placements` object.
23259
23259
  */
23260
23260
  placements: {
23261
- publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
23261
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
23262
23262
  facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
23263
23263
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
23264
23264
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
@@ -24899,6 +24899,33 @@ type CreateCtwaAdData = {
24899
24899
  * Custom audience ID to target.
24900
24900
  */
24901
24901
  audienceId?: string;
24902
+ /**
24903
+ * Manual ad placements on the shared ad set. Omit
24904
+ * for automatic placements. When set, restricts delivery to the chosen surfaces,
24905
+ * mapped onto the ad set's `targeting.{publisher_platforms, facebook_positions, instagram_positions,
24906
+ * messenger_positions, audience_network_positions, threads_positions,
24907
+ * whatsapp_positions, device_platforms}`. Enum membership is validated here; Meta
24908
+ * additionally enforces co-selection rules and restricts which
24909
+ * placements are eligible for click-to-WhatsApp ads, returning an actionable
24910
+ * error which we surface.
24911
+ *
24912
+ */
24913
+ placements?: {
24914
+ /**
24915
+ * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
24916
+ */
24917
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
24918
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
24919
+ instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
24920
+ messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
24921
+ audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
24922
+ threadsPositions?: Array<('threads_stream')>;
24923
+ whatsappPositions?: Array<('status')>;
24924
+ /**
24925
+ * Restrict by device. Omit to deliver on both mobile and desktop.
24926
+ */
24927
+ devicePlatforms?: Array<('mobile' | 'desktop')>;
24928
+ };
24902
24929
  /**
24903
24930
  * Meta's Advantage+ audience expansion. `0` (default) keeps
24904
24931
  * targeting strict; `1` lets Meta expand beyond the supplied
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.338",
39
+ version: "0.2.340",
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.338",
8
+ version: "0.2.340",
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": "@getlatedev/node",
3
- "version": "0.2.338",
3
+ "version": "0.2.340",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -23741,7 +23741,7 @@ export type CreateStandaloneAdData = {
23741
23741
  /**
23742
23742
  * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
23743
23743
  */
23744
- publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
23744
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
23745
23745
  facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
23746
23746
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
23747
23747
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
@@ -23898,7 +23898,7 @@ export type CreateStandaloneAdData = {
23898
23898
  * Placements this asset is pinned to. At least one field must be set (an empty rule is invalid — that role is served by the default asset). Same enums as the top-level `placements` object.
23899
23899
  */
23900
23900
  placements: {
23901
- publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
23901
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
23902
23902
  facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
23903
23903
  instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
23904
23904
  messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
@@ -25638,6 +25638,33 @@ export type CreateCtwaAdData = {
25638
25638
  * Custom audience ID to target.
25639
25639
  */
25640
25640
  audienceId?: string;
25641
+ /**
25642
+ * Manual ad placements on the shared ad set. Omit
25643
+ * for automatic placements. When set, restricts delivery to the chosen surfaces,
25644
+ * mapped onto the ad set's `targeting.{publisher_platforms, facebook_positions, instagram_positions,
25645
+ * messenger_positions, audience_network_positions, threads_positions,
25646
+ * whatsapp_positions, device_platforms}`. Enum membership is validated here; Meta
25647
+ * additionally enforces co-selection rules and restricts which
25648
+ * placements are eligible for click-to-WhatsApp ads, returning an actionable
25649
+ * error which we surface.
25650
+ *
25651
+ */
25652
+ placements?: {
25653
+ /**
25654
+ * Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
25655
+ */
25656
+ publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
25657
+ facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
25658
+ instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
25659
+ messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
25660
+ audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
25661
+ threadsPositions?: Array<('threads_stream')>;
25662
+ whatsappPositions?: Array<('status')>;
25663
+ /**
25664
+ * Restrict by device. Omit to deliver on both mobile and desktop.
25665
+ */
25666
+ devicePlatforms?: Array<('mobile' | 'desktop')>;
25667
+ };
25641
25668
  /**
25642
25669
  * Meta's Advantage+ audience expansion. `0` (default) keeps
25643
25670
  * targeting strict; `1` lets Meta expand beyond the supplied