@wix/auto_sdk_gbp_locations 1.0.10 → 1.0.12

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.
@@ -19,7 +19,7 @@ interface GetGbpLocationSignature {
19
19
  declare function queryGoogleLocations$1(httpClient: HttpClient): QueryGoogleLocationsSignature;
20
20
  interface QueryGoogleLocationsSignature {
21
21
  /**
22
- * Retrieves a list of up to 100 GBP locations with their current Google data,
22
+ * Retrieves a list of up to 20 GBP locations with their current Google data,
23
23
  * given the provided paging, filtering, and sorting.
24
24
  *
25
25
  * Takes the same filters as Query GBP Locations, and additionally retrieves each
@@ -27,6 +27,10 @@ interface QueryGoogleLocationsSignature {
27
27
  * on. Use it when you need both the stored identifiers and the current profile
28
28
  * in one call.
29
29
  *
30
+ * The default and maximum page size is 20. Requests with a larger limit are
31
+ * rejected. While `pagingMetadata.hasNext` is true, pass `pagingMetadata.cursors.next`
32
+ * as `query.cursorPaging.cursor` to retrieve the next page.
33
+ *
30
34
  * A location whose Google data can't be retrieved is still returned, with the
31
35
  * reason in that location's `googleError`. The call as a whole succeeds and
32
36
  * paging is unaffected, so check `googleError` per location rather than relying
@@ -534,6 +538,9 @@ interface GetLocationLodgingSignature {
534
538
  *
535
539
  * Errors:
536
540
  * - `NOT_FOUND`: the location isn't recorded for this site. Google isn't called.
541
+ * - `LODGING_NOT_OPERABLE`: the location isn't a lodging business, so Google holds
542
+ * no lodging data for it. Check `metadata.canOperateLodgingData` on the location
543
+ * first. Retrying won't help.
537
544
  * - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status and
538
545
  * response are in the error payload.
539
546
  * @param - Location ID. This is Google's location identifier.
@@ -567,6 +574,9 @@ interface UpdateLocationLodgingSignature {
567
574
  * - `INVALID_UPDATE_MASK`: the mask is empty, or a path doesn't exist or reaches
568
575
  * into a repeated field. Google isn't called.
569
576
  * - `NOT_FOUND`: the location isn't recorded for this site. Google isn't called.
577
+ * - `LODGING_NOT_OPERABLE`: the location isn't a lodging business, so Google holds
578
+ * no lodging data for it. Check `metadata.canOperateLodgingData` on the location
579
+ * first. Retrying won't help.
570
580
  * - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status and
571
581
  * response are in the error payload.
572
582
  * @param - Location ID. This is Google's location identifier.