@zernio/node 0.2.843 → 0.2.844
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +4 -0
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.844",
|
|
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.844",
|
|
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
|
@@ -8983,6 +8983,10 @@ export const duplicateAdSet = <ThrowOnError extends boolean = false>(options: Op
|
|
|
8983
8983
|
* automatically (`syncAfter: false` to skip). Creative settings returned by Meta,
|
|
8984
8984
|
* including explicit promotion metadata and creativeFeatures, are preserved when the
|
|
8985
8985
|
* native copy requires a creative rebuild. Metadata Meta does not return cannot be recovered.
|
|
8986
|
+
* When Meta refuses the native copy with its capability error (code 3), which happens for
|
|
8987
|
+
* some creatives built by other tools, the ad is rebuilt instead: a new creative from the
|
|
8988
|
+
* source's returned spec and a new ad in the target ad set, carrying the source name,
|
|
8989
|
+
* status option, rename options and tracking specs.
|
|
8986
8990
|
*/
|
|
8987
8991
|
export const duplicateAd = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DuplicateAdData, ThrowOnError>) => {
|
|
8988
8992
|
return (options?.client ?? client).post<DuplicateAdResponse, DuplicateAdError, ThrowOnError>({
|