@getlatedev/node 0.2.1807 → 0.2.1808

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
@@ -56249,7 +56249,7 @@ type ReplyToMentionError = (unknown | ErrorResponse);
56249
56249
  type ListInboxReviewsData = {
56250
56250
  query?: {
56251
56251
  /**
56252
- * Filter by specific account ID
56252
+ * One account id, or several comma-separated.
56253
56253
  */
56254
56254
  accountId?: string;
56255
56255
  cursor?: string;
@@ -56347,6 +56347,13 @@ type ListInboxReviewsResponse = ({
56347
56347
  accountId?: string;
56348
56348
  platform?: string;
56349
56349
  }>;
56350
+ /**
56351
+ * Accounts whose listing hit the read budget with pages left: their reviews in data, and the Google Business Profile summary, are partial. Empty when every account was read in full.
56352
+ */
56353
+ truncatedAccounts?: Array<{
56354
+ accountId?: string;
56355
+ platform?: string;
56356
+ }>;
56350
56357
  };
56351
56358
  summary?: {
56352
56359
  totalReviews?: number;
package/dist/index.d.ts CHANGED
@@ -56249,7 +56249,7 @@ type ReplyToMentionError = (unknown | ErrorResponse);
56249
56249
  type ListInboxReviewsData = {
56250
56250
  query?: {
56251
56251
  /**
56252
- * Filter by specific account ID
56252
+ * One account id, or several comma-separated.
56253
56253
  */
56254
56254
  accountId?: string;
56255
56255
  cursor?: string;
@@ -56347,6 +56347,13 @@ type ListInboxReviewsResponse = ({
56347
56347
  accountId?: string;
56348
56348
  platform?: string;
56349
56349
  }>;
56350
+ /**
56351
+ * Accounts whose listing hit the read budget with pages left: their reviews in data, and the Google Business Profile summary, are partial. Empty when every account was read in full.
56352
+ */
56353
+ truncatedAccounts?: Array<{
56354
+ accountId?: string;
56355
+ platform?: string;
56356
+ }>;
56350
56357
  };
56351
56358
  summary?: {
56352
56359
  totalReviews?: number;
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.1807",
39
+ version: "0.2.1808",
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.1807",
8
+ version: "0.2.1808",
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.1807",
3
+ "version": "0.2.1808",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9804,7 +9804,7 @@ export const replyToMention = <ThrowOnError extends boolean = false>(options: Op
9804
9804
  * Fetch reviews from all connected Facebook Pages and Google Business Profile accounts. Aggregates data with filtering and sorting options.
9805
9805
  * Supported platforms: Facebook, Google Business Profile.
9806
9806
  *
9807
- * Each account's reviews are read from the platform page by page within a 20-second budget per request, so very large accounts can come back truncated. Each account's listing is cached for up to 60 seconds.
9807
+ * Each account's reviews are read from the platform page by page within a 20-second budget per request, so very large accounts can come back truncated; those accounts are listed in meta.truncatedAccounts. Each account's listing is cached for up to 60 seconds.
9808
9808
  *
9809
9809
  */
9810
9810
  export const listInboxReviews = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListInboxReviewsData, ThrowOnError>) => {
@@ -56543,7 +56543,7 @@ export type ReplyToMentionError = (unknown | ErrorResponse);
56543
56543
  export type ListInboxReviewsData = {
56544
56544
  query?: {
56545
56545
  /**
56546
- * Filter by specific account ID
56546
+ * One account id, or several comma-separated.
56547
56547
  */
56548
56548
  accountId?: string;
56549
56549
  cursor?: string;
@@ -56642,6 +56642,13 @@ export type ListInboxReviewsResponse = ({
56642
56642
  accountId?: string;
56643
56643
  platform?: string;
56644
56644
  }>;
56645
+ /**
56646
+ * Accounts whose listing hit the read budget with pages left: their reviews in data, and the Google Business Profile summary, are partial. Empty when every account was read in full.
56647
+ */
56648
+ truncatedAccounts?: Array<{
56649
+ accountId?: string;
56650
+ platform?: string;
56651
+ }>;
56645
56652
  };
56646
56653
  summary?: {
56647
56654
  totalReviews?: number;