@zernio/node 0.2.683 → 0.2.685
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 +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -3
- package/src/generated/types.gen.ts +5 -4
package/dist/index.d.mts
CHANGED
|
@@ -30349,10 +30349,11 @@ type UpdateAdData = {
|
|
|
30349
30349
|
* have no headline slot). `body` becomes the in-feed `ad_text`; `linkUrl` becomes
|
|
30350
30350
|
* `landing_page_url`; `videoUrl` triggers a fresh upload. `description`, `videoId`
|
|
30351
30351
|
* and `existingCreativeId` are Meta-only and return 400.
|
|
30352
|
-
* - **LinkedIn**:
|
|
30353
|
-
*
|
|
30354
|
-
* creative
|
|
30355
|
-
*
|
|
30352
|
+
* - **LinkedIn**: requires new media (image via `imageUrl` or video via `videoUrl`);
|
|
30353
|
+
* a text-only creative update returns 400. Uploads the media, creates a new inline
|
|
30354
|
+
* media creative on the same campaign, and pauses the old creative (best-effort).
|
|
30355
|
+
* The old creative is retained for historical reporting. `videoId` and
|
|
30356
|
+
* `existingCreativeId` are Meta-only and return 400.
|
|
30356
30357
|
*
|
|
30357
30358
|
*/
|
|
30358
30359
|
creative?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -30349,10 +30349,11 @@ type UpdateAdData = {
|
|
|
30349
30349
|
* have no headline slot). `body` becomes the in-feed `ad_text`; `linkUrl` becomes
|
|
30350
30350
|
* `landing_page_url`; `videoUrl` triggers a fresh upload. `description`, `videoId`
|
|
30351
30351
|
* and `existingCreativeId` are Meta-only and return 400.
|
|
30352
|
-
* - **LinkedIn**:
|
|
30353
|
-
*
|
|
30354
|
-
* creative
|
|
30355
|
-
*
|
|
30352
|
+
* - **LinkedIn**: requires new media (image via `imageUrl` or video via `videoUrl`);
|
|
30353
|
+
* a text-only creative update returns 400. Uploads the media, creates a new inline
|
|
30354
|
+
* media creative on the same campaign, and pauses the old creative (best-effort).
|
|
30355
|
+
* The old creative is retained for historical reporting. `videoId` and
|
|
30356
|
+
* `existingCreativeId` are Meta-only and return 400.
|
|
30356
30357
|
*
|
|
30357
30358
|
*/
|
|
30358
30359
|
creative?: {
|
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.685",
|
|
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.685",
|
|
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
|
@@ -1986,9 +1986,9 @@ export const deleteGoogleBusinessReviewReply = <ThrowOnError extends boolean = f
|
|
|
1986
1986
|
* Get pending OAuth data
|
|
1987
1987
|
* Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL.
|
|
1988
1988
|
*
|
|
1989
|
-
* **Scope**: This endpoint is used for LinkedIn organizations, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook
|
|
1989
|
+
* **Scope**: This endpoint is used for LinkedIn organizations, Google Business locations, Slack channels, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook and other platforms pass selection state directly via URL query params on the redirect (`profileId`, `tempToken`, `step`), no pending record is created, so this endpoint will return 404 for those flows. Use the platform-specific selection endpoint instead (e.g. `/v1/connect/whatsapp/select-phone-number`).
|
|
1990
1990
|
*
|
|
1991
|
-
*
|
|
1991
|
+
* Reading the token does not consume it, so this fetch is repeatable until the token expires 1 hour after issuance. Completing the platform selection deletes the pending record, so the token stops working from then on. No authentication required.
|
|
1992
1992
|
*
|
|
1993
1993
|
*/
|
|
1994
1994
|
export const getPendingOAuthData = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPendingOAuthDataData, ThrowOnError>) => {
|
|
@@ -3300,7 +3300,7 @@ export const getWebhookLogs = <ThrowOnError extends boolean = false>(options?: O
|
|
|
3300
3300
|
* emitted, not the current state of the resource.
|
|
3301
3301
|
*
|
|
3302
3302
|
* Only deliveries inside the 30-day log retention window can be replayed; past that
|
|
3303
|
-
* the payload is gone and the request fails with a
|
|
3303
|
+
* the payload is gone and the request fails with a 422. Replays run the same
|
|
3304
3304
|
* resource-group checks as live delivery, against both the key's groups and the
|
|
3305
3305
|
* subscription's `disabledResourceGroups`.
|
|
3306
3306
|
*
|
|
@@ -30816,10 +30816,11 @@ export type UpdateAdData = {
|
|
|
30816
30816
|
* have no headline slot). `body` becomes the in-feed `ad_text`; `linkUrl` becomes
|
|
30817
30817
|
* `landing_page_url`; `videoUrl` triggers a fresh upload. `description`, `videoId`
|
|
30818
30818
|
* and `existingCreativeId` are Meta-only and return 400.
|
|
30819
|
-
* - **LinkedIn**:
|
|
30820
|
-
*
|
|
30821
|
-
* creative
|
|
30822
|
-
*
|
|
30819
|
+
* - **LinkedIn**: requires new media (image via `imageUrl` or video via `videoUrl`);
|
|
30820
|
+
* a text-only creative update returns 400. Uploads the media, creates a new inline
|
|
30821
|
+
* media creative on the same campaign, and pauses the old creative (best-effort).
|
|
30822
|
+
* The old creative is retained for historical reporting. `videoId` and
|
|
30823
|
+
* `existingCreativeId` are Meta-only and return 400.
|
|
30823
30824
|
*
|
|
30824
30825
|
*/
|
|
30825
30826
|
creative?: {
|