@getlatedev/node 0.2.1197 → 0.2.1199

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
@@ -22900,6 +22900,10 @@ type ListInstagramPagesResponse = ({
22900
22900
  id?: string;
22901
22901
  username?: string;
22902
22902
  profile_picture_url?: string;
22903
+ /**
22904
+ * Followers of the Instagram account when Meta returns it
22905
+ */
22906
+ followers_count?: number;
22903
22907
  };
22904
22908
  }>;
22905
22909
  });
@@ -41791,7 +41795,7 @@ type ListAdSetsResponse = ({
41791
41795
  adSetName?: (string) | null;
41792
41796
  status?: (string) | null;
41793
41797
  /**
41794
- * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign.
41798
+ * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign. On Meta and Reddit the ad set's `effective_status` (e.g. CAMPAIGN_PAUSED).
41795
41799
  */
41796
41800
  platformAdSetStatus?: (string) | null;
41797
41801
  platformCampaignId?: (string) | null;
@@ -42118,7 +42122,7 @@ type UpdateAdSetData = {
42118
42122
  */
42119
42123
  status?: 'active' | 'paused';
42120
42124
  /**
42121
- * Rename the ad set (on X, the line item `name`). Platforms without a rename return 501. At least one of budget/status/bidStrategy/name is required.
42125
+ * Rename the ad set on any supported platform: Meta, Google (the ad group), TikTok, LinkedIn (the campaign), Pinterest, X (the line item `name`), OpenAI and Reddit; platforms without a rename return 501. The new name is stored right away, so GET /v1/ads/ad-sets and GET /v1/ads/tree return it without a sync. At least one of budget/status/bidStrategy/name is required.
42122
42126
  */
42123
42127
  name?: string;
42124
42128
  /**
@@ -42274,7 +42278,7 @@ type UpdateAdSetResponse = ({
42274
42278
  */
42275
42279
  status?: 'active' | 'paused';
42276
42280
  /**
42277
- * The ad set's own switch read back from the platform; null when it could not be read.
42281
+ * The ad set's status read back from the platform, as in PUT /v1/ads/ad-sets/{adSetId}/status (Meta and Reddit return the ad set's effective_status); null when it could not be read.
42278
42282
  */
42279
42283
  platformAdSetStatus?: (string) | null;
42280
42284
  platformCampaignStatus?: (string) | null;
@@ -42330,7 +42334,7 @@ type UpdateAdSetStatusResponse = ({
42330
42334
  */
42331
42335
  status?: 'active' | 'paused';
42332
42336
  /**
42333
- * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit configured_status). Null when the platform could not be read, which is always the case on X.
42337
+ * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit effective_status such as CAMPAIGN_PAUSED, as GET /v1/ads/ad-sets returns it). Null when the platform could not be read, which is always the case on X.
42334
42338
  */
42335
42339
  platformAdSetStatus?: (string) | null;
42336
42340
  /**
package/dist/index.d.ts CHANGED
@@ -22900,6 +22900,10 @@ type ListInstagramPagesResponse = ({
22900
22900
  id?: string;
22901
22901
  username?: string;
22902
22902
  profile_picture_url?: string;
22903
+ /**
22904
+ * Followers of the Instagram account when Meta returns it
22905
+ */
22906
+ followers_count?: number;
22903
22907
  };
22904
22908
  }>;
22905
22909
  });
@@ -41791,7 +41795,7 @@ type ListAdSetsResponse = ({
41791
41795
  adSetName?: (string) | null;
41792
41796
  status?: (string) | null;
41793
41797
  /**
41794
- * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign.
41798
+ * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign. On Meta and Reddit the ad set's `effective_status` (e.g. CAMPAIGN_PAUSED).
41795
41799
  */
41796
41800
  platformAdSetStatus?: (string) | null;
41797
41801
  platformCampaignId?: (string) | null;
@@ -42118,7 +42122,7 @@ type UpdateAdSetData = {
42118
42122
  */
42119
42123
  status?: 'active' | 'paused';
42120
42124
  /**
42121
- * Rename the ad set (on X, the line item `name`). Platforms without a rename return 501. At least one of budget/status/bidStrategy/name is required.
42125
+ * Rename the ad set on any supported platform: Meta, Google (the ad group), TikTok, LinkedIn (the campaign), Pinterest, X (the line item `name`), OpenAI and Reddit; platforms without a rename return 501. The new name is stored right away, so GET /v1/ads/ad-sets and GET /v1/ads/tree return it without a sync. At least one of budget/status/bidStrategy/name is required.
42122
42126
  */
42123
42127
  name?: string;
42124
42128
  /**
@@ -42274,7 +42278,7 @@ type UpdateAdSetResponse = ({
42274
42278
  */
42275
42279
  status?: 'active' | 'paused';
42276
42280
  /**
42277
- * The ad set's own switch read back from the platform; null when it could not be read.
42281
+ * The ad set's status read back from the platform, as in PUT /v1/ads/ad-sets/{adSetId}/status (Meta and Reddit return the ad set's effective_status); null when it could not be read.
42278
42282
  */
42279
42283
  platformAdSetStatus?: (string) | null;
42280
42284
  platformCampaignStatus?: (string) | null;
@@ -42330,7 +42334,7 @@ type UpdateAdSetStatusResponse = ({
42330
42334
  */
42331
42335
  status?: 'active' | 'paused';
42332
42336
  /**
42333
- * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit configured_status). Null when the platform could not be read, which is always the case on X.
42337
+ * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit effective_status such as CAMPAIGN_PAUSED, as GET /v1/ads/ad-sets returns it). Null when the platform could not be read, which is always the case on X.
42334
42338
  */
42335
42339
  platformAdSetStatus?: (string) | null;
42336
42340
  /**
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.1197",
39
+ version: "0.2.1199",
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.1197",
8
+ version: "0.2.1199",
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.1197",
3
+ "version": "0.2.1199",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10563,9 +10563,9 @@ export const deleteAdSet = <ThrowOnError extends boolean = false>(options: Optio
10563
10563
  * the delivery status of its ads (up to 20) is re-read and stored, so an
10564
10564
  * immediate GET returns what the platform now reports. A stored switch
10565
10565
  * never skips a write, and when the platform cannot be read the write
10566
- * always goes out. On Meta the check reads the ad set's own `status`, so
10567
- * a repeated request skips even while `platformAdSetStatus` reads
10568
- * `CAMPAIGN_PAUSED`, `WITH_ISSUES` or `IN_PROCESS`.
10566
+ * always goes out. On Meta and Reddit the check reads the ad set's own
10567
+ * switch (`status` / `configured_status`), so a repeated request skips even
10568
+ * while `platformAdSetStatus` reads `CAMPAIGN_PAUSED`, `WITH_ISSUES` or `IN_PROCESS`.
10569
10569
  *
10570
10570
  */
10571
10571
  export const updateAdSetStatus = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateAdSetStatusData, ThrowOnError>) => {
@@ -21883,6 +21883,10 @@ export type ListInstagramPagesResponse = ({
21883
21883
  id?: string;
21884
21884
  username?: string;
21885
21885
  profile_picture_url?: string;
21886
+ /**
21887
+ * Followers of the Instagram account when Meta returns it
21888
+ */
21889
+ followers_count?: number;
21886
21890
  };
21887
21891
  }>;
21888
21892
  });
@@ -42259,7 +42263,7 @@ export type ListAdSetsResponse = ({
42259
42263
  adSetName?: (string) | null;
42260
42264
  status?: (string) | null;
42261
42265
  /**
42262
- * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign.
42266
+ * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign. On Meta and Reddit the ad set's `effective_status` (e.g. CAMPAIGN_PAUSED).
42263
42267
  */
42264
42268
  platformAdSetStatus?: (string) | null;
42265
42269
  platformCampaignId?: (string) | null;
@@ -42600,7 +42604,7 @@ export type UpdateAdSetData = {
42600
42604
  */
42601
42605
  status?: 'active' | 'paused';
42602
42606
  /**
42603
- * Rename the ad set (on X, the line item `name`). Platforms without a rename return 501. At least one of budget/status/bidStrategy/name is required.
42607
+ * Rename the ad set on any supported platform: Meta, Google (the ad group), TikTok, LinkedIn (the campaign), Pinterest, X (the line item `name`), OpenAI and Reddit; platforms without a rename return 501. The new name is stored right away, so GET /v1/ads/ad-sets and GET /v1/ads/tree return it without a sync. At least one of budget/status/bidStrategy/name is required.
42604
42608
  */
42605
42609
  name?: string;
42606
42610
  /**
@@ -42757,7 +42761,7 @@ export type UpdateAdSetResponse = ({
42757
42761
  */
42758
42762
  status?: 'active' | 'paused';
42759
42763
  /**
42760
- * The ad set's own switch read back from the platform; null when it could not be read.
42764
+ * The ad set's status read back from the platform, as in PUT /v1/ads/ad-sets/{adSetId}/status (Meta and Reddit return the ad set's effective_status); null when it could not be read.
42761
42765
  */
42762
42766
  platformAdSetStatus?: (string) | null;
42763
42767
  platformCampaignStatus?: (string) | null;
@@ -42819,7 +42823,7 @@ export type UpdateAdSetStatusResponse = ({
42819
42823
  */
42820
42824
  status?: 'active' | 'paused';
42821
42825
  /**
42822
- * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit configured_status). Null when the platform could not be read, which is always the case on X.
42826
+ * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit effective_status such as CAMPAIGN_PAUSED, as GET /v1/ads/ad-sets returns it). Null when the platform could not be read, which is always the case on X.
42823
42827
  */
42824
42828
  platformAdSetStatus?: (string) | null;
42825
42829
  /**