@getlatedev/node 0.2.564 → 0.2.565

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
@@ -31199,7 +31199,7 @@ type SearchAdTargetingResponse = ({
31199
31199
  */
31200
31200
  name: string;
31201
31201
  /**
31202
- * What the result is (e.g. city, region, country, zip, metro, interest, behavior, income).
31202
+ * What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income).
31203
31203
  */
31204
31204
  type: string;
31205
31205
  /**
package/dist/index.d.ts CHANGED
@@ -31199,7 +31199,7 @@ type SearchAdTargetingResponse = ({
31199
31199
  */
31200
31200
  name: string;
31201
31201
  /**
31202
- * What the result is (e.g. city, region, country, zip, metro, interest, behavior, income).
31202
+ * What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income).
31203
31203
  */
31204
31204
  type: string;
31205
31205
  /**
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.564",
39
+ version: "0.2.565",
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.564",
8
+ version: "0.2.565",
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.564",
3
+ "version": "0.2.565",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8309,6 +8309,13 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
8309
8309
  * markets, and every id is usable in `regions`/`cities`/`metros` keys on
8310
8310
  * `POST /v1/ads/create`.
8311
8311
  *
8312
+ * LinkedIn geo searches also return every matching level in one list, and
8313
+ * neither `geoType` nor `countryCode` is applied: LinkedIn's typeahead only
8314
+ * returns a name and a URN per result, with no level or country field to
8315
+ * filter on. Every result has `type` set to `location`, and its id is a
8316
+ * `urn:li:geo:*` URN usable as a `regions[].key` on `POST /v1/ads/create`,
8317
+ * `POST /v1/ads/boost` and `POST /v1/ads/targeting/reach-estimate`.
8318
+ *
8312
8319
  * For geo queries, `q` should contain only the locality name (e.g. `"Amsterdam"`,
8313
8320
  * not `"Amsterdam, NL"`). Use `countryCode` to disambiguate.
8314
8321
  *
@@ -31759,7 +31759,7 @@ export type SearchAdTargetingResponse = ({
31759
31759
  */
31760
31760
  name: string;
31761
31761
  /**
31762
- * What the result is (e.g. city, region, country, zip, metro, interest, behavior, income).
31762
+ * What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income).
31763
31763
  */
31764
31764
  type: string;
31765
31765
  /**