@zernio/node 0.2.1013 → 0.2.1015
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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -1
- package/src/generated/types.gen.ts +3 -0
package/dist/index.d.mts
CHANGED
|
@@ -23278,6 +23278,9 @@ type GetFacebookPagesResponse = ({
|
|
|
23278
23278
|
fan_count?: number;
|
|
23279
23279
|
}>;
|
|
23280
23280
|
selectedPageId?: string;
|
|
23281
|
+
/**
|
|
23282
|
+
* false when this response was just read from Meta (cold cache or a refresh that ran), true when served from the stored list (including a debounced refresh or an empty Meta answer)
|
|
23283
|
+
*/
|
|
23281
23284
|
cached?: boolean;
|
|
23282
23285
|
});
|
|
23283
23286
|
type GetFacebookPagesError = ({
|
package/dist/index.d.ts
CHANGED
|
@@ -23278,6 +23278,9 @@ type GetFacebookPagesResponse = ({
|
|
|
23278
23278
|
fan_count?: number;
|
|
23279
23279
|
}>;
|
|
23280
23280
|
selectedPageId?: string;
|
|
23281
|
+
/**
|
|
23282
|
+
* false when this response was just read from Meta (cold cache or a refresh that ran), true when served from the stored list (including a debounced refresh or an empty Meta answer)
|
|
23283
|
+
*/
|
|
23281
23284
|
cached?: boolean;
|
|
23282
23285
|
});
|
|
23283
23286
|
type GetFacebookPagesError = ({
|
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.1015",
|
|
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.1015",
|
|
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
|
@@ -1701,7 +1701,8 @@ export const handleOAuthCallback = <ThrowOnError extends boolean = false>(option
|
|
|
1701
1701
|
* Business login reports metadata.tokenType=system-user in GET /v1/accounts. An absent
|
|
1702
1702
|
* Meta expires_in leaves tokenExpiresAt absent; no personal-token re-exchange occurs.
|
|
1703
1703
|
* Subsequent classic requests can change the ad-account scope using the business token;
|
|
1704
|
-
* force=true
|
|
1704
|
+
* force=true (or disconnecting the business connection first) switches the profile to the
|
|
1705
|
+
* standard Facebook login; the ads account is then held by the user token.
|
|
1705
1706
|
*
|
|
1706
1707
|
* **Same-token platforms (facebook, instagram, linkedin, pinterest).** The ads SocialAccount
|
|
1707
1708
|
* (metaads, linkedinads, pinterestads) reuses the OAuth token of the parent posting account,
|
|
@@ -22384,6 +22384,9 @@ export type GetFacebookPagesResponse = ({
|
|
|
22384
22384
|
fan_count?: number;
|
|
22385
22385
|
}>;
|
|
22386
22386
|
selectedPageId?: string;
|
|
22387
|
+
/**
|
|
22388
|
+
* false when this response was just read from Meta (cold cache or a refresh that ran), true when served from the stored list (including a debounced refresh or an empty Meta answer)
|
|
22389
|
+
*/
|
|
22387
22390
|
cached?: boolean;
|
|
22388
22391
|
});
|
|
22389
22392
|
|