@getlatedev/node 0.2.221 → 0.2.222

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
@@ -9724,12 +9724,16 @@ type BatchGetGoogleBusinessReviewsResponse = ({
9724
9724
  success?: boolean;
9725
9725
  accountId?: string;
9726
9726
  locationReviews?: Array<{
9727
- locationName?: string;
9728
- reviews?: Array<{
9727
+ /**
9728
+ * Full review resource name (accounts*locations*reviews*)
9729
+ */
9730
+ name?: string;
9731
+ /**
9732
+ * The review object (reviewId
9733
+ */
9734
+ review?: {
9729
9735
  [key: string]: unknown;
9730
- }>;
9731
- averageRating?: number;
9732
- totalReviewCount?: number;
9736
+ };
9733
9737
  }>;
9734
9738
  nextPageToken?: string;
9735
9739
  });
package/dist/index.d.ts CHANGED
@@ -9724,12 +9724,16 @@ type BatchGetGoogleBusinessReviewsResponse = ({
9724
9724
  success?: boolean;
9725
9725
  accountId?: string;
9726
9726
  locationReviews?: Array<{
9727
- locationName?: string;
9728
- reviews?: Array<{
9727
+ /**
9728
+ * Full review resource name (accounts*locations*reviews*)
9729
+ */
9730
+ name?: string;
9731
+ /**
9732
+ * The review object (reviewId
9733
+ */
9734
+ review?: {
9729
9735
  [key: string]: unknown;
9730
- }>;
9731
- averageRating?: number;
9732
- totalReviewCount?: number;
9736
+ };
9733
9737
  }>;
9734
9738
  nextPageToken?: string;
9735
9739
  });
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.221",
39
+ version: "0.2.222",
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.221",
8
+ version: "0.2.222",
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.221",
3
+ "version": "0.2.222",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1382,7 +1382,9 @@ export const updateGoogleBusinessServices = <ThrowOnError extends boolean = fals
1382
1382
  * Batch get reviews
1383
1383
  * Fetches reviews across multiple locations in a single request.
1384
1384
  * More efficient than calling GET /gmb-reviews per location for multi-location businesses.
1385
- * Reviews are grouped by location in the response.
1385
+ * Returns a flat list of individual reviews, each tagged with its review resource name.
1386
+ * Note: this endpoint does not return aggregate metrics (averageRating / totalReviewCount).
1387
+ * For those, use the single-location GET /gmb-reviews endpoint.
1386
1388
  *
1387
1389
  */
1388
1390
  export const batchGetGoogleBusinessReviews = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<BatchGetGoogleBusinessReviewsData, ThrowOnError>) => {
@@ -9495,12 +9495,16 @@ export type BatchGetGoogleBusinessReviewsResponse = ({
9495
9495
  success?: boolean;
9496
9496
  accountId?: string;
9497
9497
  locationReviews?: Array<{
9498
- locationName?: string;
9499
- reviews?: Array<{
9498
+ /**
9499
+ * Full review resource name (accounts*locations*reviews*)
9500
+ */
9501
+ name?: string;
9502
+ /**
9503
+ * The review object (reviewId
9504
+ */
9505
+ review?: {
9500
9506
  [key: string]: unknown;
9501
- }>;
9502
- averageRating?: number;
9503
- totalReviewCount?: number;
9507
+ };
9504
9508
  }>;
9505
9509
  nextPageToken?: string;
9506
9510
  });