@getlatedev/node 0.2.1110 → 0.2.1112

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
@@ -21892,6 +21892,10 @@ type ListFacebookPagesResponse = ({
21892
21892
  */
21893
21893
  tasks?: Array<(string)>;
21894
21894
  }>;
21895
+ /**
21896
+ * True when Meta still had more Pages after the listing hit its time budget or the 10,000 Page cap, so `pages` is incomplete. Do not ask the user to reconnect with fewer Pages ticked: Meta replaces the Page grant on every authorization, so unticked Pages lose access.
21897
+ */
21898
+ truncated?: boolean;
21895
21899
  });
21896
21900
  type ListFacebookPagesError = (unknown | ErrorResponse | {
21897
21901
  error?: string;
@@ -41583,6 +41587,16 @@ type ListCampaignAssetsResponse = ({
41583
41587
  header?: string;
41584
41588
  values?: Array<(string)>;
41585
41589
  }>;
41590
+ images?: Array<{
41591
+ assetResourceName?: string;
41592
+ campaignAssetResourceName?: string;
41593
+ /**
41594
+ * Google-hosted copy of the image.
41595
+ */
41596
+ imageUrl?: string;
41597
+ width?: number;
41598
+ height?: number;
41599
+ }>;
41586
41600
  /**
41587
41601
  * Time of the cached Google read. Null when no cache was used.
41588
41602
  */
@@ -41611,6 +41625,10 @@ type AttachCampaignAssetsData = {
41611
41625
  sitelinks?: Array<GoogleSitelink>;
41612
41626
  callouts?: Array<(string)>;
41613
41627
  structuredSnippets?: Array<GoogleStructuredSnippet>;
41628
+ /**
41629
+ * Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
41630
+ */
41631
+ images?: Array<(string)>;
41614
41632
  };
41615
41633
  path: {
41616
41634
  /**
@@ -41624,6 +41642,7 @@ type AttachCampaignAssetsResponse = ({
41624
41642
  sitelinkAssetResourceNames?: Array<(string)>;
41625
41643
  calloutAssetResourceNames?: Array<(string)>;
41626
41644
  structuredSnippetAssetResourceNames?: Array<(string)>;
41645
+ imageAssetResourceNames?: Array<(string)>;
41627
41646
  });
41628
41647
  type AttachCampaignAssetsError = (ErrorResponse | unknown);
41629
41648
  type UpdateCampaignAssetsData = {
@@ -41726,6 +41745,16 @@ type ListAdGroupAssetsResponse = ({
41726
41745
  header?: string;
41727
41746
  values?: Array<(string)>;
41728
41747
  }>;
41748
+ images?: Array<{
41749
+ assetResourceName?: string;
41750
+ adGroupAssetResourceName?: string;
41751
+ /**
41752
+ * Google-hosted copy of the image.
41753
+ */
41754
+ imageUrl?: string;
41755
+ width?: number;
41756
+ height?: number;
41757
+ }>;
41729
41758
  /**
41730
41759
  * Time of the cached Google read. Null when no cache was used.
41731
41760
  */
@@ -41754,6 +41783,10 @@ type AttachAdGroupAssetsData = {
41754
41783
  sitelinks?: Array<GoogleSitelink>;
41755
41784
  callouts?: Array<(string)>;
41756
41785
  structuredSnippets?: Array<GoogleStructuredSnippet>;
41786
+ /**
41787
+ * Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
41788
+ */
41789
+ images?: Array<(string)>;
41757
41790
  };
41758
41791
  path: {
41759
41792
  /**
@@ -41767,6 +41800,7 @@ type AttachAdGroupAssetsResponse = ({
41767
41800
  sitelinkAssetResourceNames?: Array<(string)>;
41768
41801
  calloutAssetResourceNames?: Array<(string)>;
41769
41802
  structuredSnippetAssetResourceNames?: Array<(string)>;
41803
+ imageAssetResourceNames?: Array<(string)>;
41770
41804
  });
41771
41805
  type AttachAdGroupAssetsError = (ErrorResponse | unknown);
41772
41806
  type UpdateAdGroupAssetsData = {
package/dist/index.d.ts CHANGED
@@ -21892,6 +21892,10 @@ type ListFacebookPagesResponse = ({
21892
21892
  */
21893
21893
  tasks?: Array<(string)>;
21894
21894
  }>;
21895
+ /**
21896
+ * True when Meta still had more Pages after the listing hit its time budget or the 10,000 Page cap, so `pages` is incomplete. Do not ask the user to reconnect with fewer Pages ticked: Meta replaces the Page grant on every authorization, so unticked Pages lose access.
21897
+ */
21898
+ truncated?: boolean;
21895
21899
  });
21896
21900
  type ListFacebookPagesError = (unknown | ErrorResponse | {
21897
21901
  error?: string;
@@ -41583,6 +41587,16 @@ type ListCampaignAssetsResponse = ({
41583
41587
  header?: string;
41584
41588
  values?: Array<(string)>;
41585
41589
  }>;
41590
+ images?: Array<{
41591
+ assetResourceName?: string;
41592
+ campaignAssetResourceName?: string;
41593
+ /**
41594
+ * Google-hosted copy of the image.
41595
+ */
41596
+ imageUrl?: string;
41597
+ width?: number;
41598
+ height?: number;
41599
+ }>;
41586
41600
  /**
41587
41601
  * Time of the cached Google read. Null when no cache was used.
41588
41602
  */
@@ -41611,6 +41625,10 @@ type AttachCampaignAssetsData = {
41611
41625
  sitelinks?: Array<GoogleSitelink>;
41612
41626
  callouts?: Array<(string)>;
41613
41627
  structuredSnippets?: Array<GoogleStructuredSnippet>;
41628
+ /**
41629
+ * Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
41630
+ */
41631
+ images?: Array<(string)>;
41614
41632
  };
41615
41633
  path: {
41616
41634
  /**
@@ -41624,6 +41642,7 @@ type AttachCampaignAssetsResponse = ({
41624
41642
  sitelinkAssetResourceNames?: Array<(string)>;
41625
41643
  calloutAssetResourceNames?: Array<(string)>;
41626
41644
  structuredSnippetAssetResourceNames?: Array<(string)>;
41645
+ imageAssetResourceNames?: Array<(string)>;
41627
41646
  });
41628
41647
  type AttachCampaignAssetsError = (ErrorResponse | unknown);
41629
41648
  type UpdateCampaignAssetsData = {
@@ -41726,6 +41745,16 @@ type ListAdGroupAssetsResponse = ({
41726
41745
  header?: string;
41727
41746
  values?: Array<(string)>;
41728
41747
  }>;
41748
+ images?: Array<{
41749
+ assetResourceName?: string;
41750
+ adGroupAssetResourceName?: string;
41751
+ /**
41752
+ * Google-hosted copy of the image.
41753
+ */
41754
+ imageUrl?: string;
41755
+ width?: number;
41756
+ height?: number;
41757
+ }>;
41729
41758
  /**
41730
41759
  * Time of the cached Google read. Null when no cache was used.
41731
41760
  */
@@ -41754,6 +41783,10 @@ type AttachAdGroupAssetsData = {
41754
41783
  sitelinks?: Array<GoogleSitelink>;
41755
41784
  callouts?: Array<(string)>;
41756
41785
  structuredSnippets?: Array<GoogleStructuredSnippet>;
41786
+ /**
41787
+ * Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
41788
+ */
41789
+ images?: Array<(string)>;
41757
41790
  };
41758
41791
  path: {
41759
41792
  /**
@@ -41767,6 +41800,7 @@ type AttachAdGroupAssetsResponse = ({
41767
41800
  sitelinkAssetResourceNames?: Array<(string)>;
41768
41801
  calloutAssetResourceNames?: Array<(string)>;
41769
41802
  structuredSnippetAssetResourceNames?: Array<(string)>;
41803
+ imageAssetResourceNames?: Array<(string)>;
41770
41804
  });
41771
41805
  type AttachAdGroupAssetsError = (ErrorResponse | unknown);
41772
41806
  type UpdateAdGroupAssetsData = {
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.1110",
39
+ version: "0.2.1112",
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.1110",
8
+ version: "0.2.1112",
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.1110",
3
+ "version": "0.2.1112",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10502,7 +10502,7 @@ export const listCampaignAssets = <ThrowOnError extends boolean = false>(options
10502
10502
 
10503
10503
  /**
10504
10504
  * Attach campaign assets
10505
- * Creates and attaches sitelinks, callouts and structured snippets in one Google mutation.
10505
+ * Creates and attaches sitelinks, callouts, structured snippets and image assets in one Google mutation. Google shows images only on accounts it deems eligible (account age, policy history, vertical).
10506
10506
  */
10507
10507
  export const attachCampaignAssets = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<AttachCampaignAssetsData, ThrowOnError>) => {
10508
10508
  return (options?.client ?? client).post<AttachCampaignAssetsResponse, AttachCampaignAssetsError, ThrowOnError>({
@@ -10546,7 +10546,7 @@ export const listAdGroupAssets = <ThrowOnError extends boolean = false>(options:
10546
10546
 
10547
10547
  /**
10548
10548
  * Attach ad-group assets
10549
- * Creates and attaches sitelinks, callouts and structured snippets in one Google mutation.
10549
+ * Creates and attaches sitelinks, callouts, structured snippets and image assets in one Google mutation. Google shows images only on accounts it deems eligible (account age, policy history, vertical).
10550
10550
  */
10551
10551
  export const attachAdGroupAssets = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<AttachAdGroupAssetsData, ThrowOnError>) => {
10552
10552
  return (options?.client ?? client).post<AttachAdGroupAssetsResponse, AttachAdGroupAssetsError, ThrowOnError>({
@@ -20868,6 +20868,10 @@ export type ListFacebookPagesResponse = ({
20868
20868
  */
20869
20869
  tasks?: Array<(string)>;
20870
20870
  }>;
20871
+ /**
20872
+ * True when Meta still had more Pages after the listing hit its time budget or the 10,000 Page cap, so `pages` is incomplete. Do not ask the user to reconnect with fewer Pages ticked: Meta replaces the Page grant on every authorization, so unticked Pages lose access.
20873
+ */
20874
+ truncated?: boolean;
20871
20875
  });
20872
20876
 
20873
20877
  export type ListFacebookPagesError = (unknown | ErrorResponse | {
@@ -42077,6 +42081,16 @@ export type ListCampaignAssetsResponse = ({
42077
42081
  header?: string;
42078
42082
  values?: Array<(string)>;
42079
42083
  }>;
42084
+ images?: Array<{
42085
+ assetResourceName?: string;
42086
+ campaignAssetResourceName?: string;
42087
+ /**
42088
+ * Google-hosted copy of the image.
42089
+ */
42090
+ imageUrl?: string;
42091
+ width?: number;
42092
+ height?: number;
42093
+ }>;
42080
42094
  /**
42081
42095
  * Time of the cached Google read. Null when no cache was used.
42082
42096
  */
@@ -42107,6 +42121,10 @@ export type AttachCampaignAssetsData = {
42107
42121
  sitelinks?: Array<GoogleSitelink>;
42108
42122
  callouts?: Array<(string)>;
42109
42123
  structuredSnippets?: Array<GoogleStructuredSnippet>;
42124
+ /**
42125
+ * Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
42126
+ */
42127
+ images?: Array<(string)>;
42110
42128
  };
42111
42129
  path: {
42112
42130
  /**
@@ -42121,6 +42139,7 @@ export type AttachCampaignAssetsResponse = ({
42121
42139
  sitelinkAssetResourceNames?: Array<(string)>;
42122
42140
  calloutAssetResourceNames?: Array<(string)>;
42123
42141
  structuredSnippetAssetResourceNames?: Array<(string)>;
42142
+ imageAssetResourceNames?: Array<(string)>;
42124
42143
  });
42125
42144
 
42126
42145
  export type AttachCampaignAssetsError = (ErrorResponse | unknown);
@@ -42232,6 +42251,16 @@ export type ListAdGroupAssetsResponse = ({
42232
42251
  header?: string;
42233
42252
  values?: Array<(string)>;
42234
42253
  }>;
42254
+ images?: Array<{
42255
+ assetResourceName?: string;
42256
+ adGroupAssetResourceName?: string;
42257
+ /**
42258
+ * Google-hosted copy of the image.
42259
+ */
42260
+ imageUrl?: string;
42261
+ width?: number;
42262
+ height?: number;
42263
+ }>;
42235
42264
  /**
42236
42265
  * Time of the cached Google read. Null when no cache was used.
42237
42266
  */
@@ -42262,6 +42291,10 @@ export type AttachAdGroupAssetsData = {
42262
42291
  sitelinks?: Array<GoogleSitelink>;
42263
42292
  callouts?: Array<(string)>;
42264
42293
  structuredSnippets?: Array<GoogleStructuredSnippet>;
42294
+ /**
42295
+ * Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
42296
+ */
42297
+ images?: Array<(string)>;
42265
42298
  };
42266
42299
  path: {
42267
42300
  /**
@@ -42276,6 +42309,7 @@ export type AttachAdGroupAssetsResponse = ({
42276
42309
  sitelinkAssetResourceNames?: Array<(string)>;
42277
42310
  calloutAssetResourceNames?: Array<(string)>;
42278
42311
  structuredSnippetAssetResourceNames?: Array<(string)>;
42312
+ imageAssetResourceNames?: Array<(string)>;
42279
42313
  });
42280
42314
 
42281
42315
  export type AttachAdGroupAssetsError = (ErrorResponse | unknown);