@wix/auto_sdk_gbp_locations 1.0.16 → 1.0.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/build/cjs/index.d.ts +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +15 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +7 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +8 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +15 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +7 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +8 -0
- package/build/internal/cjs/index.typings.d.ts +15 -2
- package/build/internal/cjs/meta.d.ts +7 -2
- package/build/internal/es/index.d.mts +8 -0
- package/build/internal/es/index.typings.d.mts +15 -2
- package/build/internal/es/meta.d.mts +7 -2
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -380,6 +380,14 @@ interface ListReviewsSignature {
|
|
|
380
380
|
*
|
|
381
381
|
* `metrics` carries the location's average rating and total review count.
|
|
382
382
|
* Those cover every review on the profile, not just the current page.
|
|
383
|
+
*
|
|
384
|
+
* Errors:
|
|
385
|
+
* - `NOT_FOUND`: the location isn't recorded for this site. Google isn't called.
|
|
386
|
+
* - `REVIEWS_LOCATION_NOT_FOUND`: Google returned 404 for this location's
|
|
387
|
+
* reviews. The description names the location id; Google's response body
|
|
388
|
+
* is withheld.
|
|
389
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed for any other reason.
|
|
390
|
+
* Google's status is in the error payload; its response body is withheld.
|
|
383
391
|
* @param - Location ID. This is Google's location identifier.
|
|
384
392
|
*/
|
|
385
393
|
(locationId: string, options?: ListReviewsOptions): Promise<NonNullablePaths<ListReviewsResponse, `reviews` | `reviews.${number}.reviewId` | `reviews.${number}.starRating` | `reviews.${number}.comment` | `reviews.${number}.createTime` | `reviews.${number}.reviewerDisplayName` | `reviews.${number}.anonymousReviewer` | `reviews.${number}.reply.text` | `reviews.${number}.reply.updateTime` | `metrics.averageRating` | `metrics.totalReviewCount`, 3> & {
|