@zernio/node 0.2.58 → 0.2.59

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
@@ -10860,7 +10860,13 @@ type UpdateAdData = {
10860
10860
  ageMin?: number;
10861
10861
  ageMax?: number;
10862
10862
  countries?: Array<(string)>;
10863
- interests?: Array<(string)>;
10863
+ /**
10864
+ * Interest objects from /v1/ads/interests. Each must include id and name.
10865
+ */
10866
+ interests?: Array<{
10867
+ id: string;
10868
+ name: string;
10869
+ }>;
10864
10870
  };
10865
10871
  name?: string;
10866
10872
  };
@@ -10988,7 +10994,13 @@ type BoostPostData = {
10988
10994
  ageMin?: number;
10989
10995
  ageMax?: number;
10990
10996
  countries?: Array<(string)>;
10991
- interests?: Array<(string)>;
10997
+ /**
10998
+ * Interest objects from /v1/ads/interests. Each must include id and name.
10999
+ */
11000
+ interests?: Array<{
11001
+ id: string;
11002
+ name: string;
11003
+ }>;
10992
11004
  };
10993
11005
  /**
10994
11006
  * Max bid cap (Meta only)
@@ -11055,7 +11067,13 @@ type CreateStandaloneAdData = {
11055
11067
  countries?: Array<(string)>;
11056
11068
  ageMin?: number;
11057
11069
  ageMax?: number;
11058
- interests?: Array<(string)>;
11070
+ /**
11071
+ * Interest objects from /v1/ads/interests. Each must include id and name.
11072
+ */
11073
+ interests?: Array<{
11074
+ id: string;
11075
+ name: string;
11076
+ }>;
11059
11077
  /**
11060
11078
  * Required for lifetime budgets
11061
11079
  */
package/dist/index.d.ts CHANGED
@@ -10860,7 +10860,13 @@ type UpdateAdData = {
10860
10860
  ageMin?: number;
10861
10861
  ageMax?: number;
10862
10862
  countries?: Array<(string)>;
10863
- interests?: Array<(string)>;
10863
+ /**
10864
+ * Interest objects from /v1/ads/interests. Each must include id and name.
10865
+ */
10866
+ interests?: Array<{
10867
+ id: string;
10868
+ name: string;
10869
+ }>;
10864
10870
  };
10865
10871
  name?: string;
10866
10872
  };
@@ -10988,7 +10994,13 @@ type BoostPostData = {
10988
10994
  ageMin?: number;
10989
10995
  ageMax?: number;
10990
10996
  countries?: Array<(string)>;
10991
- interests?: Array<(string)>;
10997
+ /**
10998
+ * Interest objects from /v1/ads/interests. Each must include id and name.
10999
+ */
11000
+ interests?: Array<{
11001
+ id: string;
11002
+ name: string;
11003
+ }>;
10992
11004
  };
10993
11005
  /**
10994
11006
  * Max bid cap (Meta only)
@@ -11055,7 +11067,13 @@ type CreateStandaloneAdData = {
11055
11067
  countries?: Array<(string)>;
11056
11068
  ageMin?: number;
11057
11069
  ageMax?: number;
11058
- interests?: Array<(string)>;
11070
+ /**
11071
+ * Interest objects from /v1/ads/interests. Each must include id and name.
11072
+ */
11073
+ interests?: Array<{
11074
+ id: string;
11075
+ name: string;
11076
+ }>;
11059
11077
  /**
11060
11078
  * Required for lifetime budgets
11061
11079
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.58",
3
+ "version": "0.2.59",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -11136,7 +11136,13 @@ export type UpdateAdData = {
11136
11136
  ageMin?: number;
11137
11137
  ageMax?: number;
11138
11138
  countries?: Array<(string)>;
11139
- interests?: Array<(string)>;
11139
+ /**
11140
+ * Interest objects from /v1/ads/interests. Each must include id and name.
11141
+ */
11142
+ interests?: Array<{
11143
+ id: string;
11144
+ name: string;
11145
+ }>;
11140
11146
  };
11141
11147
  name?: string;
11142
11148
  };
@@ -11276,7 +11282,13 @@ export type BoostPostData = {
11276
11282
  ageMin?: number;
11277
11283
  ageMax?: number;
11278
11284
  countries?: Array<(string)>;
11279
- interests?: Array<(string)>;
11285
+ /**
11286
+ * Interest objects from /v1/ads/interests. Each must include id and name.
11287
+ */
11288
+ interests?: Array<{
11289
+ id: string;
11290
+ name: string;
11291
+ }>;
11280
11292
  };
11281
11293
  /**
11282
11294
  * Max bid cap (Meta only)
@@ -11346,7 +11358,13 @@ export type CreateStandaloneAdData = {
11346
11358
  countries?: Array<(string)>;
11347
11359
  ageMin?: number;
11348
11360
  ageMax?: number;
11349
- interests?: Array<(string)>;
11361
+ /**
11362
+ * Interest objects from /v1/ads/interests. Each must include id and name.
11363
+ */
11364
+ interests?: Array<{
11365
+ id: string;
11366
+ name: string;
11367
+ }>;
11350
11368
  /**
11351
11369
  * Required for lifetime budgets
11352
11370
  */