@zernio/node 0.2.818 → 0.2.819
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 +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +0 -1
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.
|
|
39
|
+
version: "0.2.819",
|
|
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.819",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -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>({
|
|
@@ -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;
|