@zernio/node 0.2.1036 → 0.2.1037

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
@@ -4825,6 +4825,14 @@ type CommentAutomationAudience = {
4825
4825
  *
4826
4826
  */
4827
4827
  whenUnknown?: 'send' | 'skip' | 'verify';
4828
+ /**
4829
+ * Send `followGate.message` with its button to EVERY commenter and deliver the real
4830
+ * DM when they tap it, with no follow check at any point. Cannot be combined with a
4831
+ * `followerStatus` other than `any` or with `minFollowerCount` (400); `whenUnknown`
4832
+ * is ignored. Instagram only. A PATCH that sends `audience` without this field clears it.
4833
+ *
4834
+ */
4835
+ tapToUnlock?: boolean;
4828
4836
  };
4829
4837
  type followerStatus = 'any' | 'follower' | 'non_follower';
4830
4838
  /**
@@ -4842,11 +4850,11 @@ type whenUnknown = 'send' | 'skip' | 'verify';
4842
4850
  */
4843
4851
  type CommentAutomationFollowGate = {
4844
4852
  /**
4845
- * Confirmation DM sent when whenUnknown=verify.
4853
+ * Confirmation DM sent when whenUnknown=verify or tapToUnlock=true. The default copy asks for a follow under whenUnknown=verify and only for the tap under tapToUnlock.
4846
4854
  */
4847
4855
  message?: string;
4848
4856
  /**
4849
- * Confirm button label. Defaults to "I'm following".
4857
+ * Confirm button label. Defaults to "I'm following" (whenUnknown=verify) or "Unlock" (tapToUnlock).
4850
4858
  */
4851
4859
  buttonLabel?: string;
4852
4860
  /**
package/dist/index.d.ts CHANGED
@@ -4825,6 +4825,14 @@ type CommentAutomationAudience = {
4825
4825
  *
4826
4826
  */
4827
4827
  whenUnknown?: 'send' | 'skip' | 'verify';
4828
+ /**
4829
+ * Send `followGate.message` with its button to EVERY commenter and deliver the real
4830
+ * DM when they tap it, with no follow check at any point. Cannot be combined with a
4831
+ * `followerStatus` other than `any` or with `minFollowerCount` (400); `whenUnknown`
4832
+ * is ignored. Instagram only. A PATCH that sends `audience` without this field clears it.
4833
+ *
4834
+ */
4835
+ tapToUnlock?: boolean;
4828
4836
  };
4829
4837
  type followerStatus = 'any' | 'follower' | 'non_follower';
4830
4838
  /**
@@ -4842,11 +4850,11 @@ type whenUnknown = 'send' | 'skip' | 'verify';
4842
4850
  */
4843
4851
  type CommentAutomationFollowGate = {
4844
4852
  /**
4845
- * Confirmation DM sent when whenUnknown=verify.
4853
+ * Confirmation DM sent when whenUnknown=verify or tapToUnlock=true. The default copy asks for a follow under whenUnknown=verify and only for the tap under tapToUnlock.
4846
4854
  */
4847
4855
  message?: string;
4848
4856
  /**
4849
- * Confirm button label. Defaults to "I'm following".
4857
+ * Confirm button label. Defaults to "I'm following" (whenUnknown=verify) or "Unlock" (tapToUnlock).
4850
4858
  */
4851
4859
  buttonLabel?: string;
4852
4860
  /**
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.1036",
39
+ version: "0.2.1037",
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.1036",
8
+ version: "0.2.1037",
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.1036",
3
+ "version": "0.2.1037",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9041,7 +9041,9 @@ export const listCommentAutomations = <ThrowOnError extends boolean = false>(opt
9041
9041
  * follow relationship for people who have messaged the account, so `audience.whenUnknown`
9042
9042
  * decides what happens for everyone else - including `verify`, which sends a one-tap
9043
9043
  * confirmation DM (`followGate`) and then delivers the real DM automatically. People we
9044
- * already know follow you skip the tap entirely.
9044
+ * already know follow you skip the tap entirely. Set `audience.tapToUnlock: true` instead
9045
+ * to send that button DM to every commenter and deliver the real DM on the tap with no
9046
+ * follow check.
9045
9047
  *
9046
9048
  * Set `alsoMatchInDms: true` on a `comment` automation to also answer people who send
9047
9049
  * a keyword as a direct message instead of commenting it. One automation then covers
@@ -2986,6 +2986,14 @@ export type CommentAutomationAudience = {
2986
2986
  *
2987
2987
  */
2988
2988
  whenUnknown?: 'send' | 'skip' | 'verify';
2989
+ /**
2990
+ * Send `followGate.message` with its button to EVERY commenter and deliver the real
2991
+ * DM when they tap it, with no follow check at any point. Cannot be combined with a
2992
+ * `followerStatus` other than `any` or with `minFollowerCount` (400); `whenUnknown`
2993
+ * is ignored. Instagram only. A PATCH that sends `audience` without this field clears it.
2994
+ *
2995
+ */
2996
+ tapToUnlock?: boolean;
2989
2997
  };
2990
2998
 
2991
2999
  export type followerStatus = 'any' | 'follower' | 'non_follower';
@@ -3006,11 +3014,11 @@ export type whenUnknown = 'send' | 'skip' | 'verify';
3006
3014
  */
3007
3015
  export type CommentAutomationFollowGate = {
3008
3016
  /**
3009
- * Confirmation DM sent when whenUnknown=verify.
3017
+ * Confirmation DM sent when whenUnknown=verify or tapToUnlock=true. The default copy asks for a follow under whenUnknown=verify and only for the tap under tapToUnlock.
3010
3018
  */
3011
3019
  message?: string;
3012
3020
  /**
3013
- * Confirm button label. Defaults to "I'm following".
3021
+ * Confirm button label. Defaults to "I'm following" (whenUnknown=verify) or "Unlock" (tapToUnlock).
3014
3022
  */
3015
3023
  buttonLabel?: string;
3016
3024
  /**