@getlatedev/node 0.1.16 → 0.1.17

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
@@ -2065,6 +2065,27 @@ type WebhookPayloadMessage = {
2065
2065
  name?: string;
2066
2066
  username?: string;
2067
2067
  picture?: string;
2068
+ /**
2069
+ * Instagram profile data for the sender. Only present for Instagram conversations.
2070
+ */
2071
+ instagramProfile?: {
2072
+ /**
2073
+ * Whether the sender follows your Instagram business account
2074
+ */
2075
+ isFollower?: (boolean) | null;
2076
+ /**
2077
+ * Whether your Instagram business account follows the sender
2078
+ */
2079
+ isFollowing?: (boolean) | null;
2080
+ /**
2081
+ * The sender's follower count on Instagram
2082
+ */
2083
+ followerCount?: (number) | null;
2084
+ /**
2085
+ * Whether the sender is a verified Instagram user
2086
+ */
2087
+ isVerified?: (boolean) | null;
2088
+ } | null;
2068
2089
  };
2069
2090
  sentAt?: string;
2070
2091
  isRead?: boolean;
@@ -5333,6 +5354,31 @@ type ListInboxConversationsResponse = ({
5333
5354
  * Direct link to open the conversation on the platform (if available)
5334
5355
  */
5335
5356
  url?: (string) | null;
5357
+ /**
5358
+ * Instagram profile data for the participant. Only present for Instagram conversations.
5359
+ */
5360
+ instagramProfile?: {
5361
+ /**
5362
+ * Whether the participant follows your Instagram business account
5363
+ */
5364
+ isFollower?: (boolean) | null;
5365
+ /**
5366
+ * Whether your Instagram business account follows the participant
5367
+ */
5368
+ isFollowing?: (boolean) | null;
5369
+ /**
5370
+ * The participant's follower count on Instagram
5371
+ */
5372
+ followerCount?: (number) | null;
5373
+ /**
5374
+ * Whether the participant is a verified Instagram user
5375
+ */
5376
+ isVerified?: (boolean) | null;
5377
+ /**
5378
+ * When this profile data was last fetched from Instagram
5379
+ */
5380
+ fetchedAt?: (string) | null;
5381
+ } | null;
5336
5382
  }>;
5337
5383
  pagination?: {
5338
5384
  hasMore?: boolean;
@@ -5391,6 +5437,31 @@ type GetInboxConversationResponse = ({
5391
5437
  id?: string;
5392
5438
  name?: string;
5393
5439
  }>;
5440
+ /**
5441
+ * Instagram profile data for the participant. Only present for Instagram conversations.
5442
+ */
5443
+ instagramProfile?: {
5444
+ /**
5445
+ * Whether the participant follows your Instagram business account
5446
+ */
5447
+ isFollower?: (boolean) | null;
5448
+ /**
5449
+ * Whether your Instagram business account follows the participant
5450
+ */
5451
+ isFollowing?: (boolean) | null;
5452
+ /**
5453
+ * The participant's follower count on Instagram
5454
+ */
5455
+ followerCount?: (number) | null;
5456
+ /**
5457
+ * Whether the participant is a verified Instagram user
5458
+ */
5459
+ isVerified?: (boolean) | null;
5460
+ /**
5461
+ * When this profile data was last fetched from Instagram
5462
+ */
5463
+ fetchedAt?: (string) | null;
5464
+ } | null;
5394
5465
  };
5395
5466
  });
5396
5467
  type GetInboxConversationError = ({
package/dist/index.d.ts CHANGED
@@ -2065,6 +2065,27 @@ type WebhookPayloadMessage = {
2065
2065
  name?: string;
2066
2066
  username?: string;
2067
2067
  picture?: string;
2068
+ /**
2069
+ * Instagram profile data for the sender. Only present for Instagram conversations.
2070
+ */
2071
+ instagramProfile?: {
2072
+ /**
2073
+ * Whether the sender follows your Instagram business account
2074
+ */
2075
+ isFollower?: (boolean) | null;
2076
+ /**
2077
+ * Whether your Instagram business account follows the sender
2078
+ */
2079
+ isFollowing?: (boolean) | null;
2080
+ /**
2081
+ * The sender's follower count on Instagram
2082
+ */
2083
+ followerCount?: (number) | null;
2084
+ /**
2085
+ * Whether the sender is a verified Instagram user
2086
+ */
2087
+ isVerified?: (boolean) | null;
2088
+ } | null;
2068
2089
  };
2069
2090
  sentAt?: string;
2070
2091
  isRead?: boolean;
@@ -5333,6 +5354,31 @@ type ListInboxConversationsResponse = ({
5333
5354
  * Direct link to open the conversation on the platform (if available)
5334
5355
  */
5335
5356
  url?: (string) | null;
5357
+ /**
5358
+ * Instagram profile data for the participant. Only present for Instagram conversations.
5359
+ */
5360
+ instagramProfile?: {
5361
+ /**
5362
+ * Whether the participant follows your Instagram business account
5363
+ */
5364
+ isFollower?: (boolean) | null;
5365
+ /**
5366
+ * Whether your Instagram business account follows the participant
5367
+ */
5368
+ isFollowing?: (boolean) | null;
5369
+ /**
5370
+ * The participant's follower count on Instagram
5371
+ */
5372
+ followerCount?: (number) | null;
5373
+ /**
5374
+ * Whether the participant is a verified Instagram user
5375
+ */
5376
+ isVerified?: (boolean) | null;
5377
+ /**
5378
+ * When this profile data was last fetched from Instagram
5379
+ */
5380
+ fetchedAt?: (string) | null;
5381
+ } | null;
5336
5382
  }>;
5337
5383
  pagination?: {
5338
5384
  hasMore?: boolean;
@@ -5391,6 +5437,31 @@ type GetInboxConversationResponse = ({
5391
5437
  id?: string;
5392
5438
  name?: string;
5393
5439
  }>;
5440
+ /**
5441
+ * Instagram profile data for the participant. Only present for Instagram conversations.
5442
+ */
5443
+ instagramProfile?: {
5444
+ /**
5445
+ * Whether the participant follows your Instagram business account
5446
+ */
5447
+ isFollower?: (boolean) | null;
5448
+ /**
5449
+ * Whether your Instagram business account follows the participant
5450
+ */
5451
+ isFollowing?: (boolean) | null;
5452
+ /**
5453
+ * The participant's follower count on Instagram
5454
+ */
5455
+ followerCount?: (number) | null;
5456
+ /**
5457
+ * Whether the participant is a verified Instagram user
5458
+ */
5459
+ isVerified?: (boolean) | null;
5460
+ /**
5461
+ * When this profile data was last fetched from Instagram
5462
+ */
5463
+ fetchedAt?: (string) | null;
5464
+ } | null;
5394
5465
  };
5395
5466
  });
5396
5467
  type GetInboxConversationError = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1779,6 +1779,27 @@ export type WebhookPayloadMessage = {
1779
1779
  name?: string;
1780
1780
  username?: string;
1781
1781
  picture?: string;
1782
+ /**
1783
+ * Instagram profile data for the sender. Only present for Instagram conversations.
1784
+ */
1785
+ instagramProfile?: {
1786
+ /**
1787
+ * Whether the sender follows your Instagram business account
1788
+ */
1789
+ isFollower?: (boolean) | null;
1790
+ /**
1791
+ * Whether your Instagram business account follows the sender
1792
+ */
1793
+ isFollowing?: (boolean) | null;
1794
+ /**
1795
+ * The sender's follower count on Instagram
1796
+ */
1797
+ followerCount?: (number) | null;
1798
+ /**
1799
+ * Whether the sender is a verified Instagram user
1800
+ */
1801
+ isVerified?: (boolean) | null;
1802
+ } | null;
1782
1803
  };
1783
1804
  sentAt?: string;
1784
1805
  isRead?: boolean;
@@ -5362,6 +5383,31 @@ export type ListInboxConversationsResponse = ({
5362
5383
  * Direct link to open the conversation on the platform (if available)
5363
5384
  */
5364
5385
  url?: (string) | null;
5386
+ /**
5387
+ * Instagram profile data for the participant. Only present for Instagram conversations.
5388
+ */
5389
+ instagramProfile?: {
5390
+ /**
5391
+ * Whether the participant follows your Instagram business account
5392
+ */
5393
+ isFollower?: (boolean) | null;
5394
+ /**
5395
+ * Whether your Instagram business account follows the participant
5396
+ */
5397
+ isFollowing?: (boolean) | null;
5398
+ /**
5399
+ * The participant's follower count on Instagram
5400
+ */
5401
+ followerCount?: (number) | null;
5402
+ /**
5403
+ * Whether the participant is a verified Instagram user
5404
+ */
5405
+ isVerified?: (boolean) | null;
5406
+ /**
5407
+ * When this profile data was last fetched from Instagram
5408
+ */
5409
+ fetchedAt?: (string) | null;
5410
+ } | null;
5365
5411
  }>;
5366
5412
  pagination?: {
5367
5413
  hasMore?: boolean;
@@ -5423,6 +5469,31 @@ export type GetInboxConversationResponse = ({
5423
5469
  id?: string;
5424
5470
  name?: string;
5425
5471
  }>;
5472
+ /**
5473
+ * Instagram profile data for the participant. Only present for Instagram conversations.
5474
+ */
5475
+ instagramProfile?: {
5476
+ /**
5477
+ * Whether the participant follows your Instagram business account
5478
+ */
5479
+ isFollower?: (boolean) | null;
5480
+ /**
5481
+ * Whether your Instagram business account follows the participant
5482
+ */
5483
+ isFollowing?: (boolean) | null;
5484
+ /**
5485
+ * The participant's follower count on Instagram
5486
+ */
5487
+ followerCount?: (number) | null;
5488
+ /**
5489
+ * Whether the participant is a verified Instagram user
5490
+ */
5491
+ isVerified?: (boolean) | null;
5492
+ /**
5493
+ * When this profile data was last fetched from Instagram
5494
+ */
5495
+ fetchedAt?: (string) | null;
5496
+ } | null;
5426
5497
  };
5427
5498
  });
5428
5499