@getlatedev/node 0.2.1234 → 0.2.1235

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 = ({
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 = ({
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.1235",
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.1235",
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.1235",
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
  */
@@ -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