@zernio/node 0.2.771 → 0.2.772
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 +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +19 -1
package/dist/index.d.mts
CHANGED
|
@@ -4703,6 +4703,15 @@ type CtwaAdRequestBody = {
|
|
|
4703
4703
|
key: string;
|
|
4704
4704
|
name?: string;
|
|
4705
4705
|
}>;
|
|
4706
|
+
/**
|
|
4707
|
+
* Meta only. Continents and trade blocs (`geo_locations.country_groups`),
|
|
4708
|
+
* for targeting a whole region without listing its countries. Combines
|
|
4709
|
+
* with `countries` rather than replacing it, and is also accepted under
|
|
4710
|
+
* `excludedLocations`. Discoverable via
|
|
4711
|
+
* `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
4712
|
+
*
|
|
4713
|
+
*/
|
|
4714
|
+
countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
|
|
4706
4715
|
/**
|
|
4707
4716
|
* Point-radius geo (Meta `geo_locations.custom_locations`).
|
|
4708
4717
|
* Use for targeting a radius around a specific lat/long when
|
|
@@ -8256,6 +8265,15 @@ type TargetingSpec = {
|
|
|
8256
8265
|
key: string;
|
|
8257
8266
|
name?: string;
|
|
8258
8267
|
}>;
|
|
8268
|
+
/**
|
|
8269
|
+
* Meta only. Continents and trade blocs (`geo_locations.country_groups`),
|
|
8270
|
+
* for targeting a whole region without listing its countries. Combines
|
|
8271
|
+
* with `countries` rather than replacing it, and is also accepted under
|
|
8272
|
+
* `excludedLocations`. Discoverable via
|
|
8273
|
+
* `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
8274
|
+
*
|
|
8275
|
+
*/
|
|
8276
|
+
countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
|
|
8259
8277
|
/**
|
|
8260
8278
|
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support.
|
|
8261
8279
|
*/
|
|
@@ -38627,7 +38645,7 @@ type SearchAdTargetingData = {
|
|
|
38627
38645
|
/**
|
|
38628
38646
|
* Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
|
|
38629
38647
|
*/
|
|
38630
|
-
geoType?: 'all' | 'country' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
38648
|
+
geoType?: 'all' | 'country' | 'country_group' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
38631
38649
|
/**
|
|
38632
38650
|
* Maximum results to return.
|
|
38633
38651
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -4703,6 +4703,15 @@ type CtwaAdRequestBody = {
|
|
|
4703
4703
|
key: string;
|
|
4704
4704
|
name?: string;
|
|
4705
4705
|
}>;
|
|
4706
|
+
/**
|
|
4707
|
+
* Meta only. Continents and trade blocs (`geo_locations.country_groups`),
|
|
4708
|
+
* for targeting a whole region without listing its countries. Combines
|
|
4709
|
+
* with `countries` rather than replacing it, and is also accepted under
|
|
4710
|
+
* `excludedLocations`. Discoverable via
|
|
4711
|
+
* `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
4712
|
+
*
|
|
4713
|
+
*/
|
|
4714
|
+
countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
|
|
4706
4715
|
/**
|
|
4707
4716
|
* Point-radius geo (Meta `geo_locations.custom_locations`).
|
|
4708
4717
|
* Use for targeting a radius around a specific lat/long when
|
|
@@ -8256,6 +8265,15 @@ type TargetingSpec = {
|
|
|
8256
8265
|
key: string;
|
|
8257
8266
|
name?: string;
|
|
8258
8267
|
}>;
|
|
8268
|
+
/**
|
|
8269
|
+
* Meta only. Continents and trade blocs (`geo_locations.country_groups`),
|
|
8270
|
+
* for targeting a whole region without listing its countries. Combines
|
|
8271
|
+
* with `countries` rather than replacing it, and is also accepted under
|
|
8272
|
+
* `excludedLocations`. Discoverable via
|
|
8273
|
+
* `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
8274
|
+
*
|
|
8275
|
+
*/
|
|
8276
|
+
countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
|
|
8259
8277
|
/**
|
|
8260
8278
|
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support.
|
|
8261
8279
|
*/
|
|
@@ -38627,7 +38645,7 @@ type SearchAdTargetingData = {
|
|
|
38627
38645
|
/**
|
|
38628
38646
|
* Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
|
|
38629
38647
|
*/
|
|
38630
|
-
geoType?: 'all' | 'country' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
38648
|
+
geoType?: 'all' | 'country' | 'country_group' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
38631
38649
|
/**
|
|
38632
38650
|
* Maximum results to return.
|
|
38633
38651
|
*/
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.772",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.772",
|
|
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
|
@@ -3230,6 +3230,15 @@ export type CtwaAdRequestBody = {
|
|
|
3230
3230
|
key: string;
|
|
3231
3231
|
name?: string;
|
|
3232
3232
|
}>;
|
|
3233
|
+
/**
|
|
3234
|
+
* Meta only. Continents and trade blocs (`geo_locations.country_groups`),
|
|
3235
|
+
* for targeting a whole region without listing its countries. Combines
|
|
3236
|
+
* with `countries` rather than replacing it, and is also accepted under
|
|
3237
|
+
* `excludedLocations`. Discoverable via
|
|
3238
|
+
* `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
3239
|
+
*
|
|
3240
|
+
*/
|
|
3241
|
+
countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
|
|
3233
3242
|
/**
|
|
3234
3243
|
* Point-radius geo (Meta `geo_locations.custom_locations`).
|
|
3235
3244
|
* Use for targeting a radius around a specific lat/long when
|
|
@@ -6944,6 +6953,15 @@ export type TargetingSpec = {
|
|
|
6944
6953
|
key: string;
|
|
6945
6954
|
name?: string;
|
|
6946
6955
|
}>;
|
|
6956
|
+
/**
|
|
6957
|
+
* Meta only. Continents and trade blocs (`geo_locations.country_groups`),
|
|
6958
|
+
* for targeting a whole region without listing its countries. Combines
|
|
6959
|
+
* with `countries` rather than replacing it, and is also accepted under
|
|
6960
|
+
* `excludedLocations`. Discoverable via
|
|
6961
|
+
* `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
6962
|
+
*
|
|
6963
|
+
*/
|
|
6964
|
+
countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
|
|
6947
6965
|
/**
|
|
6948
6966
|
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support.
|
|
6949
6967
|
*/
|
|
@@ -39285,7 +39303,7 @@ export type SearchAdTargetingData = {
|
|
|
39285
39303
|
/**
|
|
39286
39304
|
* Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
|
|
39287
39305
|
*/
|
|
39288
|
-
geoType?: 'all' | 'country' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
39306
|
+
geoType?: 'all' | 'country' | 'country_group' | 'region' | 'city' | 'subcity' | 'neighborhood' | 'place' | 'zip' | 'metro_area' | 'geo_market';
|
|
39289
39307
|
/**
|
|
39290
39308
|
* Maximum results to return.
|
|
39291
39309
|
*/
|