@zernio/node 0.2.818 → 0.2.820

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
@@ -7413,7 +7413,6 @@ type MetaCatalogProduct = {
7413
7413
  category?: (string) | null;
7414
7414
  productType?: (string) | null;
7415
7415
  gtin?: (string) | null;
7416
- mpn?: (string) | null;
7417
7416
  inventory?: (number) | null;
7418
7417
  visibility?: (string) | null;
7419
7418
  color?: (string) | null;
package/dist/index.d.ts CHANGED
@@ -7413,7 +7413,6 @@ type MetaCatalogProduct = {
7413
7413
  category?: (string) | null;
7414
7414
  productType?: (string) | null;
7415
7415
  gtin?: (string) | null;
7416
- mpn?: (string) | null;
7417
7416
  inventory?: (number) | null;
7418
7417
  visibility?: (string) | null;
7419
7418
  color?: (string) | null;
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.818",
39
+ version: "0.2.820",
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.818",
8
+ version: "0.2.820",
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.818",
3
+ "version": "0.2.820",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5600,7 +5600,7 @@ export const getWhatsAppLibraryTemplate = <ThrowOnError extends boolean = false>
5600
5600
 
5601
5601
  /**
5602
5602
  * List the catalogs linked to a WhatsApp number
5603
- * The Meta Commerce catalogs connected to the number's WhatsApp Business Account. A linked catalog is what product, product_list and catalog_message interactive messages sell from (see POST /v1/inbox/conversations/{conversationId}/messages) and what customers browse in the WhatsApp app. Create and fill catalogs with the /v1/ads/catalogs endpoints.
5603
+ * The Meta Commerce catalogs connected to the number's WhatsApp Business Account. Pass `catalogAccountId`: the WhatsApp connection's own (embedded signup) token answers an empty list even when a catalog is linked, only a Meta login with catalog_management sees the link. A linked catalog is what product, product_list and catalog_message interactive messages sell from (see POST /v1/inbox/conversations/{conversationId}/messages) and what customers browse in the WhatsApp app. Create and fill catalogs with the /v1/ads/catalogs endpoints.
5604
5604
  */
5605
5605
  export const listWhatsAppCatalogs = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListWhatsAppCatalogsData, ThrowOnError>) => {
5606
5606
  return (options?.client ?? client).get<ListWhatsAppCatalogsResponse, ListWhatsAppCatalogsError, ThrowOnError>({
@@ -8935,7 +8935,7 @@ export const getAd = <ThrowOnError extends boolean = false>(options: OptionsLega
8935
8935
  *
8936
8936
  * Per-platform support:
8937
8937
  * - **Meta** (Facebook + Instagram): all fields supported.
8938
- * - **TikTok**: status, budget, targeting (via `/v2/adgroup/update/`), and creative
8938
+ * - **TikTok**: status, budget, `name` (renames the ad), targeting (via `/v2/adgroup/update/`), and creative
8939
8939
  * (via `/v2/ad/update/` patch-style: `headline` is ignored, `body` becomes `ad_text`).
8940
8940
  * - **Google**: status, budget, KEYWORD edits via `targeting.keywords` /
8941
8941
  * `targeting.negativeKeywords`, DEVICE bid adjustments via `targeting.devices`,
@@ -5981,7 +5981,6 @@ export type MetaCatalogProduct = {
5981
5981
  category?: (string) | null;
5982
5982
  productType?: (string) | null;
5983
5983
  gtin?: (string) | null;
5984
- mpn?: (string) | null;
5985
5984
  inventory?: (number) | null;
5986
5985
  visibility?: (string) | null;
5987
5986
  color?: (string) | null;