@getlatedev/node 0.2.459 → 0.2.461

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
@@ -3384,6 +3384,11 @@ type FacebookPlatformData = {
3384
3384
  *
3385
3385
  */
3386
3386
  carouselLink?: string;
3387
+ /**
3388
+ * Facebook-defined preset ID that renders the post as large text on a colored background (Graph `text_format_preset_id`). Supply the raw numeric ID from Meta; we do not publish a catalog of presets and Facebook may change the available set. Pages only (ignored on personal profiles and groups) and text-only feed posts only: the request is rejected with 400 when mediaItems or carouselCards are present, when contentType is story or reel, when content is empty, or when content exceeds 130 characters. Those are Facebook limits, and above them Facebook silently drops the background and publishes a plain text post instead of returning an error, so we reject up front rather than let the background disappear. A URL detected in the content is NOT attached as a link preview while a preset is set, because a link attachment also makes Facebook drop the background.
3389
+ *
3390
+ */
3391
+ textFormatPresetId?: string;
3387
3392
  };
3388
3393
  /**
3389
3394
  * Set to 'story' for Page Stories (24h ephemeral) or 'reel' for Reels (short vertical video). Defaults to feed post if omitted.
@@ -25732,7 +25737,7 @@ type GetAdTrackingTagsError = ({
25732
25737
  type UpdateAdTrackingTagsData = {
25733
25738
  body: {
25734
25739
  /**
25735
- * Meta only. Click-URL params appended to a freshly-rebuilt creative.
25740
+ * Meta only. Click-URL params appended to a freshly-rebuilt creative. Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
25736
25741
  */
25737
25742
  urlTags?: Array<{
25738
25743
  key: string;
@@ -26658,7 +26663,7 @@ type BoostPostData = {
26658
26663
  tracking?: {
26659
26664
  pixelId?: string;
26660
26665
  /**
26661
- * URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`.
26666
+ * URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`. Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
26662
26667
  */
26663
26668
  urlTags?: Array<{
26664
26669
  key?: string;
@@ -26752,7 +26757,7 @@ type CreateStandaloneAdData = {
26752
26757
  */
26753
26758
  pixelId?: string;
26754
26759
  /**
26755
- * Click-URL params appended to the ad's destination as `url_tags` (e.g. utm_source).
26760
+ * Click-URL params appended to the ad's destination as `url_tags` (e.g. utm_source). Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
26756
26761
  */
26757
26762
  urlTags?: Array<{
26758
26763
  key: string;
package/dist/index.d.ts CHANGED
@@ -3384,6 +3384,11 @@ type FacebookPlatformData = {
3384
3384
  *
3385
3385
  */
3386
3386
  carouselLink?: string;
3387
+ /**
3388
+ * Facebook-defined preset ID that renders the post as large text on a colored background (Graph `text_format_preset_id`). Supply the raw numeric ID from Meta; we do not publish a catalog of presets and Facebook may change the available set. Pages only (ignored on personal profiles and groups) and text-only feed posts only: the request is rejected with 400 when mediaItems or carouselCards are present, when contentType is story or reel, when content is empty, or when content exceeds 130 characters. Those are Facebook limits, and above them Facebook silently drops the background and publishes a plain text post instead of returning an error, so we reject up front rather than let the background disappear. A URL detected in the content is NOT attached as a link preview while a preset is set, because a link attachment also makes Facebook drop the background.
3389
+ *
3390
+ */
3391
+ textFormatPresetId?: string;
3387
3392
  };
3388
3393
  /**
3389
3394
  * Set to 'story' for Page Stories (24h ephemeral) or 'reel' for Reels (short vertical video). Defaults to feed post if omitted.
@@ -25732,7 +25737,7 @@ type GetAdTrackingTagsError = ({
25732
25737
  type UpdateAdTrackingTagsData = {
25733
25738
  body: {
25734
25739
  /**
25735
- * Meta only. Click-URL params appended to a freshly-rebuilt creative.
25740
+ * Meta only. Click-URL params appended to a freshly-rebuilt creative. Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
25736
25741
  */
25737
25742
  urlTags?: Array<{
25738
25743
  key: string;
@@ -26658,7 +26663,7 @@ type BoostPostData = {
26658
26663
  tracking?: {
26659
26664
  pixelId?: string;
26660
26665
  /**
26661
- * URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`.
26666
+ * URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`. Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
26662
26667
  */
26663
26668
  urlTags?: Array<{
26664
26669
  key?: string;
@@ -26752,7 +26757,7 @@ type CreateStandaloneAdData = {
26752
26757
  */
26753
26758
  pixelId?: string;
26754
26759
  /**
26755
- * Click-URL params appended to the ad's destination as `url_tags` (e.g. utm_source).
26760
+ * Click-URL params appended to the ad's destination as `url_tags` (e.g. utm_source). Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
26756
26761
  */
26757
26762
  urlTags?: Array<{
26758
26763
  key: string;
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.459",
39
+ version: "0.2.461",
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.459",
8
+ version: "0.2.461",
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.459",
3
+ "version": "0.2.461",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2276,6 +2276,11 @@ export type FacebookPlatformData = {
2276
2276
  *
2277
2277
  */
2278
2278
  carouselLink?: string;
2279
+ /**
2280
+ * Facebook-defined preset ID that renders the post as large text on a colored background (Graph `text_format_preset_id`). Supply the raw numeric ID from Meta; we do not publish a catalog of presets and Facebook may change the available set. Pages only (ignored on personal profiles and groups) and text-only feed posts only: the request is rejected with 400 when mediaItems or carouselCards are present, when contentType is story or reel, when content is empty, or when content exceeds 130 characters. Those are Facebook limits, and above them Facebook silently drops the background and publishes a plain text post instead of returning an error, so we reject up front rather than let the background disappear. A URL detected in the content is NOT attached as a link preview while a preset is set, because a link attachment also makes Facebook drop the background.
2281
+ *
2282
+ */
2283
+ textFormatPresetId?: string;
2279
2284
  };
2280
2285
 
2281
2286
  /**
@@ -26187,7 +26192,7 @@ export type GetAdTrackingTagsError = ({
26187
26192
  export type UpdateAdTrackingTagsData = {
26188
26193
  body: {
26189
26194
  /**
26190
- * Meta only. Click-URL params appended to a freshly-rebuilt creative.
26195
+ * Meta only. Click-URL params appended to a freshly-rebuilt creative. Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
26191
26196
  */
26192
26197
  urlTags?: Array<{
26193
26198
  key: string;
@@ -27179,7 +27184,7 @@ export type BoostPostData = {
27179
27184
  tracking?: {
27180
27185
  pixelId?: string;
27181
27186
  /**
27182
- * URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`.
27187
+ * URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`. Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
27183
27188
  */
27184
27189
  urlTags?: Array<{
27185
27190
  key?: string;
@@ -27276,7 +27281,7 @@ export type CreateStandaloneAdData = {
27276
27281
  */
27277
27282
  pixelId?: string;
27278
27283
  /**
27279
- * Click-URL params appended to the ad's destination as `url_tags` (e.g. utm_source).
27284
+ * Click-URL params appended to the ad's destination as `url_tags` (e.g. utm_source). Meta dynamic macros ({{ad.id}}, {{campaign.id}}, {{placement}}, ...) are sent through unescaped so Meta expands them; every other character is percent-encoded.
27280
27285
  */
27281
27286
  urlTags?: Array<{
27282
27287
  key: string;