@zernio/node 0.2.640 → 0.2.642

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
@@ -5692,6 +5692,10 @@ type PinterestPlatformData = {
5692
5692
  * Target Pinterest board ID. If omitted, the first available board is used.
5693
5693
  */
5694
5694
  boardId?: string;
5695
+ /**
5696
+ * Target section inside the board. Optional; the pin lands on the board itself when omitted. Pinterest rejects the pin if the section does not belong to boardId, so send both together.
5697
+ */
5698
+ boardSectionId?: string;
5695
5699
  /**
5696
5700
  * Destination link (pin URL)
5697
5701
  */
@@ -5704,6 +5708,10 @@ type PinterestPlatformData = {
5704
5708
  * Optional key frame time in seconds for derived video cover
5705
5709
  */
5706
5710
  coverImageKeyFrameTime?: number;
5711
+ /**
5712
+ * When true, the Pin is created with Pinterest's AI_MODIFIED disclosure (ai_disclosures), which shows an "AI modified" label. Applies to image and video Pins. Pinterest offers no "not AI" value, so false simply omits the disclosure. Pinterest may still label a Pin on its own detection.
5713
+ */
5714
+ isAiGenerated?: boolean;
5707
5715
  };
5708
5716
  type PlatformAnalytics = {
5709
5717
  platform?: string;
@@ -13295,7 +13303,17 @@ type ConnectAdsData = {
13295
13303
  */
13296
13304
  profileId: string;
13297
13305
  /**
13298
- * Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
13306
+ * Custom URL the browser is sent to once the OAuth flow finishes. Honored on
13307
+ * every ads platform, including the separate-token (`tiktok`, `twitter`) and
13308
+ * standalone (`googleads`) flows. Accepts an http(s) URL, a custom app scheme
13309
+ * for mobile deeplinks (e.g. myapp://callback), or a relative path. On success
13310
+ * `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
13311
+ * same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
13312
+ * append `connected`, `profileId`, `accountId`, `username` and, on API-key
13313
+ * calls, `connect_token`. On failure every platform appends error details,
13314
+ * starting with `error` and `platform`. When omitted, the browser lands on
13315
+ * the Zernio dashboard.
13316
+ *
13299
13317
  */
13300
13318
  redirect_url?: string;
13301
13319
  };
package/dist/index.d.ts CHANGED
@@ -5692,6 +5692,10 @@ type PinterestPlatformData = {
5692
5692
  * Target Pinterest board ID. If omitted, the first available board is used.
5693
5693
  */
5694
5694
  boardId?: string;
5695
+ /**
5696
+ * Target section inside the board. Optional; the pin lands on the board itself when omitted. Pinterest rejects the pin if the section does not belong to boardId, so send both together.
5697
+ */
5698
+ boardSectionId?: string;
5695
5699
  /**
5696
5700
  * Destination link (pin URL)
5697
5701
  */
@@ -5704,6 +5708,10 @@ type PinterestPlatformData = {
5704
5708
  * Optional key frame time in seconds for derived video cover
5705
5709
  */
5706
5710
  coverImageKeyFrameTime?: number;
5711
+ /**
5712
+ * When true, the Pin is created with Pinterest's AI_MODIFIED disclosure (ai_disclosures), which shows an "AI modified" label. Applies to image and video Pins. Pinterest offers no "not AI" value, so false simply omits the disclosure. Pinterest may still label a Pin on its own detection.
5713
+ */
5714
+ isAiGenerated?: boolean;
5707
5715
  };
5708
5716
  type PlatformAnalytics = {
5709
5717
  platform?: string;
@@ -13295,7 +13303,17 @@ type ConnectAdsData = {
13295
13303
  */
13296
13304
  profileId: string;
13297
13305
  /**
13298
- * Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
13306
+ * Custom URL the browser is sent to once the OAuth flow finishes. Honored on
13307
+ * every ads platform, including the separate-token (`tiktok`, `twitter`) and
13308
+ * standalone (`googleads`) flows. Accepts an http(s) URL, a custom app scheme
13309
+ * for mobile deeplinks (e.g. myapp://callback), or a relative path. On success
13310
+ * `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
13311
+ * same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
13312
+ * append `connected`, `profileId`, `accountId`, `username` and, on API-key
13313
+ * calls, `connect_token`. On failure every platform appends error details,
13314
+ * starting with `error` and `platform`. When omitted, the browser lands on
13315
+ * the Zernio dashboard.
13316
+ *
13299
13317
  */
13300
13318
  redirect_url?: string;
13301
13319
  };
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.640",
39
+ version: "0.2.642",
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.640",
8
+ version: "0.2.642",
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.640",
3
+ "version": "0.2.642",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4523,6 +4523,10 @@ export type PinterestPlatformData = {
4523
4523
  * Target Pinterest board ID. If omitted, the first available board is used.
4524
4524
  */
4525
4525
  boardId?: string;
4526
+ /**
4527
+ * Target section inside the board. Optional; the pin lands on the board itself when omitted. Pinterest rejects the pin if the section does not belong to boardId, so send both together.
4528
+ */
4529
+ boardSectionId?: string;
4526
4530
  /**
4527
4531
  * Destination link (pin URL)
4528
4532
  */
@@ -4535,6 +4539,10 @@ export type PinterestPlatformData = {
4535
4539
  * Optional key frame time in seconds for derived video cover
4536
4540
  */
4537
4541
  coverImageKeyFrameTime?: number;
4542
+ /**
4543
+ * When true, the Pin is created with Pinterest's AI_MODIFIED disclosure (ai_disclosures), which shows an "AI modified" label. Applies to image and video Pins. Pinterest offers no "not AI" value, so false simply omits the disclosure. Pinterest may still label a Pin on its own detection.
4544
+ */
4545
+ isAiGenerated?: boolean;
4538
4546
  };
4539
4547
 
4540
4548
  export type PlatformAnalytics = {
@@ -12559,7 +12567,17 @@ export type ConnectAdsData = {
12559
12567
  */
12560
12568
  profileId: string;
12561
12569
  /**
12562
- * Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
12570
+ * Custom URL the browser is sent to once the OAuth flow finishes. Honored on
12571
+ * every ads platform, including the separate-token (`tiktok`, `twitter`) and
12572
+ * standalone (`googleads`) flows. Accepts an http(s) URL, a custom app scheme
12573
+ * for mobile deeplinks (e.g. myapp://callback), or a relative path. On success
12574
+ * `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
12575
+ * same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
12576
+ * append `connected`, `profileId`, `accountId`, `username` and, on API-key
12577
+ * calls, `connect_token`. On failure every platform appends error details,
12578
+ * starting with `error` and `platform`. When omitted, the browser lands on
12579
+ * the Zernio dashboard.
12580
+ *
12563
12581
  */
12564
12582
  redirect_url?: string;
12565
12583
  };