@getlatedev/node 0.2.1317 → 0.2.1318

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
@@ -5431,7 +5431,11 @@ type CommentAutomationAudience = {
5431
5431
  * * `skip` - stay silent.
5432
5432
  * * `verify` - send `followGate.message` with a confirm button. Tapping it is a
5433
5433
  * message, which grants consent, so the re-check on the tap resolves and the
5434
- * real DM (or `followGate.notFollowingMessage`) follows automatically.
5434
+ * real DM (or `followGate.notFollowingMessage`) follows automatically. The tap
5435
+ * re-checks the follow relationship live, with no cached answer. A known
5436
+ * non-follower gets `followGate.notFollowingMessage`, never the DM. If Instagram
5437
+ * still will not reveal the relationship on the tap, or the lookup fails, the DM
5438
+ * is delivered (fails open).
5435
5439
  *
5436
5440
  */
5437
5441
  whenUnknown?: 'send' | 'skip' | 'verify';
@@ -5451,7 +5455,11 @@ type followerStatus = 'any' | 'follower' | 'non_follower';
5451
5455
  * * `skip` - stay silent.
5452
5456
  * * `verify` - send `followGate.message` with a confirm button. Tapping it is a
5453
5457
  * message, which grants consent, so the re-check on the tap resolves and the
5454
- * real DM (or `followGate.notFollowingMessage`) follows automatically.
5458
+ * real DM (or `followGate.notFollowingMessage`) follows automatically. The tap
5459
+ * re-checks the follow relationship live, with no cached answer. A known
5460
+ * non-follower gets `followGate.notFollowingMessage`, never the DM. If Instagram
5461
+ * still will not reveal the relationship on the tap, or the lookup fails, the DM
5462
+ * is delivered (fails open).
5455
5463
  *
5456
5464
  */
5457
5465
  type whenUnknown = 'send' | 'skip' | 'verify';
@@ -5482,6 +5490,10 @@ type CommentAutomationFollowGate = {
5482
5490
  * Confirm button label. Defaults to "I'm following" (whenUnknown=verify) or "Unlock" (tapToUnlock).
5483
5491
  */
5484
5492
  buttonLabel?: string;
5493
+ /**
5494
+ * Optional. When set, the follow gate DM and the not-following message with the confirm button also carry a URL button with this label that opens the connected Instagram account's profile. Omit for the confirm button only. Instagram only.
5495
+ */
5496
+ profileButtonLabel?: string;
5485
5497
  /**
5486
5498
  * Sent to a commenter we know does not follow (followerStatus=follower), and after a confirm tap that does not unlock the DM. When following is what would unlock it, the message carries the confirm button so they can re-check once they follow; above 640 characters it goes out as plain text without the button. Omit to stay silent on a keyword comment; a confirm tap always gets an answer (a default message is used).
5487
5499
  */
package/dist/index.d.ts CHANGED
@@ -5431,7 +5431,11 @@ type CommentAutomationAudience = {
5431
5431
  * * `skip` - stay silent.
5432
5432
  * * `verify` - send `followGate.message` with a confirm button. Tapping it is a
5433
5433
  * message, which grants consent, so the re-check on the tap resolves and the
5434
- * real DM (or `followGate.notFollowingMessage`) follows automatically.
5434
+ * real DM (or `followGate.notFollowingMessage`) follows automatically. The tap
5435
+ * re-checks the follow relationship live, with no cached answer. A known
5436
+ * non-follower gets `followGate.notFollowingMessage`, never the DM. If Instagram
5437
+ * still will not reveal the relationship on the tap, or the lookup fails, the DM
5438
+ * is delivered (fails open).
5435
5439
  *
5436
5440
  */
5437
5441
  whenUnknown?: 'send' | 'skip' | 'verify';
@@ -5451,7 +5455,11 @@ type followerStatus = 'any' | 'follower' | 'non_follower';
5451
5455
  * * `skip` - stay silent.
5452
5456
  * * `verify` - send `followGate.message` with a confirm button. Tapping it is a
5453
5457
  * message, which grants consent, so the re-check on the tap resolves and the
5454
- * real DM (or `followGate.notFollowingMessage`) follows automatically.
5458
+ * real DM (or `followGate.notFollowingMessage`) follows automatically. The tap
5459
+ * re-checks the follow relationship live, with no cached answer. A known
5460
+ * non-follower gets `followGate.notFollowingMessage`, never the DM. If Instagram
5461
+ * still will not reveal the relationship on the tap, or the lookup fails, the DM
5462
+ * is delivered (fails open).
5455
5463
  *
5456
5464
  */
5457
5465
  type whenUnknown = 'send' | 'skip' | 'verify';
@@ -5482,6 +5490,10 @@ type CommentAutomationFollowGate = {
5482
5490
  * Confirm button label. Defaults to "I'm following" (whenUnknown=verify) or "Unlock" (tapToUnlock).
5483
5491
  */
5484
5492
  buttonLabel?: string;
5493
+ /**
5494
+ * Optional. When set, the follow gate DM and the not-following message with the confirm button also carry a URL button with this label that opens the connected Instagram account's profile. Omit for the confirm button only. Instagram only.
5495
+ */
5496
+ profileButtonLabel?: string;
5485
5497
  /**
5486
5498
  * Sent to a commenter we know does not follow (followerStatus=follower), and after a confirm tap that does not unlock the DM. When following is what would unlock it, the message carries the confirm button so they can re-check once they follow; above 640 characters it goes out as plain text without the button. Omit to stay silent on a keyword comment; a confirm tap always gets an answer (a default message is used).
5487
5499
  */
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: "@getlatedev/node",
39
- version: "0.2.1317",
39
+ version: "0.2.1318",
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: "@getlatedev/node",
8
- version: "0.2.1317",
8
+ version: "0.2.1318",
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": "@getlatedev/node",
3
- "version": "0.2.1317",
3
+ "version": "0.2.1318",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3496,7 +3496,11 @@ export type CommentAutomationAudience = {
3496
3496
  * * `skip` - stay silent.
3497
3497
  * * `verify` - send `followGate.message` with a confirm button. Tapping it is a
3498
3498
  * message, which grants consent, so the re-check on the tap resolves and the
3499
- * real DM (or `followGate.notFollowingMessage`) follows automatically.
3499
+ * real DM (or `followGate.notFollowingMessage`) follows automatically. The tap
3500
+ * re-checks the follow relationship live, with no cached answer. A known
3501
+ * non-follower gets `followGate.notFollowingMessage`, never the DM. If Instagram
3502
+ * still will not reveal the relationship on the tap, or the lookup fails, the DM
3503
+ * is delivered (fails open).
3500
3504
  *
3501
3505
  */
3502
3506
  whenUnknown?: 'send' | 'skip' | 'verify';
@@ -3518,7 +3522,11 @@ export type followerStatus = 'any' | 'follower' | 'non_follower';
3518
3522
  * * `skip` - stay silent.
3519
3523
  * * `verify` - send `followGate.message` with a confirm button. Tapping it is a
3520
3524
  * message, which grants consent, so the re-check on the tap resolves and the
3521
- * real DM (or `followGate.notFollowingMessage`) follows automatically.
3525
+ * real DM (or `followGate.notFollowingMessage`) follows automatically. The tap
3526
+ * re-checks the follow relationship live, with no cached answer. A known
3527
+ * non-follower gets `followGate.notFollowingMessage`, never the DM. If Instagram
3528
+ * still will not reveal the relationship on the tap, or the lookup fails, the DM
3529
+ * is delivered (fails open).
3522
3530
  *
3523
3531
  */
3524
3532
  export type whenUnknown = 'send' | 'skip' | 'verify';
@@ -3552,6 +3560,10 @@ export type CommentAutomationFollowGate = {
3552
3560
  * Confirm button label. Defaults to "I'm following" (whenUnknown=verify) or "Unlock" (tapToUnlock).
3553
3561
  */
3554
3562
  buttonLabel?: string;
3563
+ /**
3564
+ * Optional. When set, the follow gate DM and the not-following message with the confirm button also carry a URL button with this label that opens the connected Instagram account's profile. Omit for the confirm button only. Instagram only.
3565
+ */
3566
+ profileButtonLabel?: string;
3555
3567
  /**
3556
3568
  * Sent to a commenter we know does not follow (followerStatus=follower), and after a confirm tap that does not unlock the DM. When following is what would unlock it, the message carries the confirm button so they can re-check once they follow; above 640 characters it goes out as plain text without the button. Omit to stay silent on a keyword comment; a confirm tap always gets an answer (a default message is used).
3557
3569
  */