@getlatedev/node 0.2.1234 → 0.2.1236

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
@@ -19793,6 +19793,10 @@ type GetGoogleBusinessSearchKeywordsData = {
19793
19793
  * End month (YYYY-MM). Defaults to current month.
19794
19794
  */
19795
19795
  endMonth?: string;
19796
+ /**
19797
+ * The nextPageToken from the previous page. Valid only with the same startMonth and endMonth as the request that returned it.
19798
+ */
19799
+ pageToken?: string;
19796
19800
  /**
19797
19801
  * Start month (YYYY-MM). Defaults to 3 months ago.
19798
19802
  */
@@ -19809,8 +19813,19 @@ type GetGoogleBusinessSearchKeywordsResponse = ({
19809
19813
  };
19810
19814
  keywords?: Array<{
19811
19815
  keyword?: string;
19816
+ /**
19817
+ * Impressions for the range. 0 when Google reports only a threshold.
19818
+ */
19812
19819
  impressions?: number;
19820
+ /**
19821
+ * Set when Google reports only that impressions were below this value. null when impressions is exact.
19822
+ */
19823
+ impressionsThreshold?: (number) | null;
19813
19824
  }>;
19825
+ /**
19826
+ * Pass as pageToken to fetch the next page. null on the last page.
19827
+ */
19828
+ nextPageToken?: (string) | null;
19814
19829
  note?: string;
19815
19830
  });
19816
19831
  type GetGoogleBusinessSearchKeywordsError = ({
@@ -28491,7 +28506,7 @@ type ListInboxConversationsData = {
28491
28506
  /**
28492
28507
  * Filter by platform
28493
28508
  */
28494
- platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram' | 'whatsapp' | 'imessage';
28509
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram' | 'whatsapp' | 'imessage' | 'sms';
28495
28510
  /**
28496
28511
  * Filter by profile ID
28497
28512
  */
package/dist/index.d.ts CHANGED
@@ -19793,6 +19793,10 @@ type GetGoogleBusinessSearchKeywordsData = {
19793
19793
  * End month (YYYY-MM). Defaults to current month.
19794
19794
  */
19795
19795
  endMonth?: string;
19796
+ /**
19797
+ * The nextPageToken from the previous page. Valid only with the same startMonth and endMonth as the request that returned it.
19798
+ */
19799
+ pageToken?: string;
19796
19800
  /**
19797
19801
  * Start month (YYYY-MM). Defaults to 3 months ago.
19798
19802
  */
@@ -19809,8 +19813,19 @@ type GetGoogleBusinessSearchKeywordsResponse = ({
19809
19813
  };
19810
19814
  keywords?: Array<{
19811
19815
  keyword?: string;
19816
+ /**
19817
+ * Impressions for the range. 0 when Google reports only a threshold.
19818
+ */
19812
19819
  impressions?: number;
19820
+ /**
19821
+ * Set when Google reports only that impressions were below this value. null when impressions is exact.
19822
+ */
19823
+ impressionsThreshold?: (number) | null;
19813
19824
  }>;
19825
+ /**
19826
+ * Pass as pageToken to fetch the next page. null on the last page.
19827
+ */
19828
+ nextPageToken?: (string) | null;
19814
19829
  note?: string;
19815
19830
  });
19816
19831
  type GetGoogleBusinessSearchKeywordsError = ({
@@ -28491,7 +28506,7 @@ type ListInboxConversationsData = {
28491
28506
  /**
28492
28507
  * Filter by platform
28493
28508
  */
28494
- platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram' | 'whatsapp' | 'imessage';
28509
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram' | 'whatsapp' | 'imessage' | 'sms';
28495
28510
  /**
28496
28511
  * Filter by profile ID
28497
28512
  */
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.1234",
39
+ version: "0.2.1236",
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.1234",
8
+ version: "0.2.1236",
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.1234",
3
+ "version": "0.2.1236",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -554,7 +554,8 @@ export const getGoogleBusinessPerformance = <ThrowOnError extends boolean = fals
554
554
  /**
555
555
  * Get Google Business Profile search keywords
556
556
  * Returns search keywords that triggered impressions for a Google Business Profile location.
557
- * Data is aggregated monthly. Keywords below a minimum impression threshold set by Google are excluded.
557
+ * Data is aggregated monthly. Keywords Google reports only as below a threshold have `impressions` 0 and `impressionsThreshold` set to that threshold.
558
+ * Returns up to 100 keywords per page. When `nextPageToken` is not null, pass it as `pageToken` with the same `startMonth` and `endMonth` to get the next page.
558
559
  * Max 18 months of historical data. Requires the Analytics add-on.
559
560
  *
560
561
  */
@@ -4043,7 +4044,7 @@ export const listLogs = <ThrowOnError extends boolean = false>(options?: Options
4043
4044
  * List conversations
4044
4045
  * Fetch conversations (DMs) from all connected messaging accounts in a single API call. Supports filtering by profile and platform. Results are aggregated and deduplicated.
4045
4046
  *
4046
- * Supported platforms: Facebook, Instagram, X, Bluesky, Reddit, Telegram.
4047
+ * Supported platforms: Facebook, Instagram, X, Bluesky, Reddit, Telegram, WhatsApp, iMessage and SMS.
4047
4048
  *
4048
4049
  * **X limitation.** X has replaced traditional DMs with encrypted "X Chat" for many accounts. Messages sent or received through encrypted X Chat are not accessible via X's API (the /2/dm_events endpoint only returns legacy unencrypted DMs). This means some X conversations may show only outgoing messages or appear empty. This is an X platform limitation that affects all third-party applications. See X's docs on encrypted messaging for more details.
4049
4050
  *
@@ -18570,6 +18570,10 @@ export type GetGoogleBusinessSearchKeywordsData = {
18570
18570
  * End month (YYYY-MM). Defaults to current month.
18571
18571
  */
18572
18572
  endMonth?: string;
18573
+ /**
18574
+ * The nextPageToken from the previous page. Valid only with the same startMonth and endMonth as the request that returned it.
18575
+ */
18576
+ pageToken?: string;
18573
18577
  /**
18574
18578
  * Start month (YYYY-MM). Defaults to 3 months ago.
18575
18579
  */
@@ -18587,8 +18591,19 @@ export type GetGoogleBusinessSearchKeywordsResponse = ({
18587
18591
  };
18588
18592
  keywords?: Array<{
18589
18593
  keyword?: string;
18594
+ /**
18595
+ * Impressions for the range. 0 when Google reports only a threshold.
18596
+ */
18590
18597
  impressions?: number;
18598
+ /**
18599
+ * Set when Google reports only that impressions were below this value. null when impressions is exact.
18600
+ */
18601
+ impressionsThreshold?: (number) | null;
18591
18602
  }>;
18603
+ /**
18604
+ * Pass as pageToken to fetch the next page. null on the last page.
18605
+ */
18606
+ nextPageToken?: (string) | null;
18592
18607
  note?: string;
18593
18608
  });
18594
18609
 
@@ -27870,7 +27885,7 @@ export type ListInboxConversationsData = {
27870
27885
  /**
27871
27886
  * Filter by platform
27872
27887
  */
27873
- platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram' | 'whatsapp' | 'imessage';
27888
+ platform?: 'facebook' | 'instagram' | 'twitter' | 'bluesky' | 'reddit' | 'telegram' | 'whatsapp' | 'imessage' | 'sms';
27874
27889
  /**
27875
27890
  * Filter by profile ID
27876
27891
  */