@zernio/node 0.2.770 → 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 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
  */
@@ -10808,10 +10826,19 @@ type WebhookPayloadMessageDeliveryStatus = {
10808
10826
  code?: number;
10809
10827
  title?: string;
10810
10828
  message?: string;
10829
+ /**
10830
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
10831
+ */
10832
+ details?: string;
10833
+ /**
10834
+ * Link to the platform's documentation for `code`, when the platform sent one.
10835
+ */
10836
+ href?: string;
10811
10837
  /**
10812
10838
  * Plain-language translation of `code` (e.g. for 131026, that the
10813
10839
  * recipient has likely opted out of marketing messages while utility
10814
- * templates are unaffected). Null for unmapped codes; fall back to
10840
+ * templates are unaffected, or for 131031, that Meta restricted the
10841
+ * WhatsApp Business Account). Null for unmapped codes; fall back to
10815
10842
  * title/message.
10816
10843
  *
10817
10844
  */
@@ -22026,6 +22053,14 @@ type GetInboxConversationMessagesResponse = ({
22026
22053
  code?: number;
22027
22054
  title?: string;
22028
22055
  message?: string;
22056
+ /**
22057
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
22058
+ */
22059
+ details?: string;
22060
+ /**
22061
+ * Link to the platform's documentation for `code`, when the platform sent one.
22062
+ */
22063
+ href?: string;
22029
22064
  } | null;
22030
22065
  /**
22031
22066
  * Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
@@ -38610,7 +38645,7 @@ type SearchAdTargetingData = {
38610
38645
  /**
38611
38646
  * Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
38612
38647
  */
38613
- 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';
38614
38649
  /**
38615
38650
  * Maximum results to return.
38616
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
  */
@@ -10808,10 +10826,19 @@ type WebhookPayloadMessageDeliveryStatus = {
10808
10826
  code?: number;
10809
10827
  title?: string;
10810
10828
  message?: string;
10829
+ /**
10830
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
10831
+ */
10832
+ details?: string;
10833
+ /**
10834
+ * Link to the platform's documentation for `code`, when the platform sent one.
10835
+ */
10836
+ href?: string;
10811
10837
  /**
10812
10838
  * Plain-language translation of `code` (e.g. for 131026, that the
10813
10839
  * recipient has likely opted out of marketing messages while utility
10814
- * templates are unaffected). Null for unmapped codes; fall back to
10840
+ * templates are unaffected, or for 131031, that Meta restricted the
10841
+ * WhatsApp Business Account). Null for unmapped codes; fall back to
10815
10842
  * title/message.
10816
10843
  *
10817
10844
  */
@@ -22026,6 +22053,14 @@ type GetInboxConversationMessagesResponse = ({
22026
22053
  code?: number;
22027
22054
  title?: string;
22028
22055
  message?: string;
22056
+ /**
22057
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
22058
+ */
22059
+ details?: string;
22060
+ /**
22061
+ * Link to the platform's documentation for `code`, when the platform sent one.
22062
+ */
22063
+ href?: string;
22029
22064
  } | null;
22030
22065
  /**
22031
22066
  * Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
@@ -38610,7 +38645,7 @@ type SearchAdTargetingData = {
38610
38645
  /**
38611
38646
  * Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
38612
38647
  */
38613
- 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';
38614
38649
  /**
38615
38650
  * Maximum results to return.
38616
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.770",
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.770",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.770",
3
+ "version": "0.2.772",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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
  */
@@ -9584,10 +9602,19 @@ export type WebhookPayloadMessageDeliveryStatus = {
9584
9602
  code?: number;
9585
9603
  title?: string;
9586
9604
  message?: string;
9605
+ /**
9606
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
9607
+ */
9608
+ details?: string;
9609
+ /**
9610
+ * Link to the platform's documentation for `code`, when the platform sent one.
9611
+ */
9612
+ href?: string;
9587
9613
  /**
9588
9614
  * Plain-language translation of `code` (e.g. for 131026, that the
9589
9615
  * recipient has likely opted out of marketing messages while utility
9590
- * templates are unaffected). Null for unmapped codes; fall back to
9616
+ * templates are unaffected, or for 131031, that Meta restricted the
9617
+ * WhatsApp Business Account). Null for unmapped codes; fall back to
9591
9618
  * title/message.
9592
9619
  *
9593
9620
  */
@@ -21532,6 +21559,14 @@ export type GetInboxConversationMessagesResponse = ({
21532
21559
  code?: number;
21533
21560
  title?: string;
21534
21561
  message?: string;
21562
+ /**
21563
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
21564
+ */
21565
+ details?: string;
21566
+ /**
21567
+ * Link to the platform's documentation for `code`, when the platform sent one.
21568
+ */
21569
+ href?: string;
21535
21570
  } | null;
21536
21571
  /**
21537
21572
  * Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
@@ -39268,7 +39303,7 @@ export type SearchAdTargetingData = {
39268
39303
  /**
39269
39304
  * Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
39270
39305
  */
39271
- 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';
39272
39307
  /**
39273
39308
  * Maximum results to return.
39274
39309
  */