@wix/auto_sdk_gbp_locations 1.0.13 → 1.0.15
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 +164 -4
- package/build/cjs/index.js +469 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +754 -11
- package/build/cjs/index.typings.js +415 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +524 -11
- package/build/cjs/meta.js +356 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +164 -4
- package/build/es/index.mjs +459 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +754 -11
- package/build/es/index.typings.mjs +405 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +524 -11
- package/build/es/meta.mjs +346 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +164 -4
- package/build/internal/cjs/index.typings.d.ts +754 -11
- package/build/internal/cjs/meta.d.ts +524 -11
- package/build/internal/es/index.d.mts +164 -4
- package/build/internal/es/index.typings.d.mts +754 -11
- package/build/internal/es/meta.d.mts +524 -11
- package/package.json +2 -2
|
@@ -360,8 +360,10 @@ interface GoogleLocation {
|
|
|
360
360
|
*/
|
|
361
361
|
title?: string;
|
|
362
362
|
/**
|
|
363
|
-
* BCP-47 language tag, e.g. "en-US". Required
|
|
363
|
+
* BCP-47 language tag, e.g. "en-US". Required when creating a location and
|
|
364
|
+
* immutable afterwards. Not used by SearchGoogleLocations.
|
|
364
365
|
* @format LANGUAGE_TAG
|
|
366
|
+
* @immutable
|
|
365
367
|
*/
|
|
366
368
|
languageCode?: string;
|
|
367
369
|
/** Primary business category. Required by Google. */
|
|
@@ -1533,6 +1535,411 @@ interface DeleteMediaRequest {
|
|
|
1533
1535
|
}
|
|
1534
1536
|
interface DeleteMediaResponse {
|
|
1535
1537
|
}
|
|
1538
|
+
interface CreateLocalPostRequest {
|
|
1539
|
+
/**
|
|
1540
|
+
* Location ID. This is Google's location identifier.
|
|
1541
|
+
* @minLength 1
|
|
1542
|
+
* @maxLength 255
|
|
1543
|
+
*/
|
|
1544
|
+
locationId: string;
|
|
1545
|
+
/** The post to create. */
|
|
1546
|
+
localPost: LocalPost;
|
|
1547
|
+
}
|
|
1548
|
+
/** A post on a location's Business Profile, shown in Google Search and Maps. */
|
|
1549
|
+
interface LocalPost {
|
|
1550
|
+
/**
|
|
1551
|
+
* Post ID. Use it to read, update or delete the post.
|
|
1552
|
+
* @maxLength 255
|
|
1553
|
+
* @readonly
|
|
1554
|
+
*/
|
|
1555
|
+
localPostId?: string;
|
|
1556
|
+
/**
|
|
1557
|
+
* Kind of post: `STANDARD` for an update, `EVENT` for an event, or `OFFER`
|
|
1558
|
+
* for a promotion. Can't be changed after the post is created.
|
|
1559
|
+
*
|
|
1560
|
+
* `EVENT` requires `event.title` and `event.schedule`. `OFFER` requires
|
|
1561
|
+
* `event.title` and `event.schedule` and accepts `offer`. `STANDARD` accepts
|
|
1562
|
+
* neither `event` nor `offer`.
|
|
1563
|
+
*/
|
|
1564
|
+
topicType?: LocalPostTopicTypeWithLiterals;
|
|
1565
|
+
/**
|
|
1566
|
+
* Language of the post, as a BCP-47 tag such as `en` or `en-US`.
|
|
1567
|
+
* @format LANGUAGE_TAG
|
|
1568
|
+
*/
|
|
1569
|
+
languageCode?: string | null;
|
|
1570
|
+
/**
|
|
1571
|
+
* Body text of the post. Google applies its own length limit and rejects a
|
|
1572
|
+
* longer text.
|
|
1573
|
+
* @maxLength 10000
|
|
1574
|
+
*/
|
|
1575
|
+
summary?: string;
|
|
1576
|
+
/** Button shown on the post. */
|
|
1577
|
+
callToAction?: CallToAction;
|
|
1578
|
+
/** Event details. Required for `EVENT` and `OFFER` posts. */
|
|
1579
|
+
event?: LocalPostEvent;
|
|
1580
|
+
/** Offer details. Allowed only on `OFFER` posts. */
|
|
1581
|
+
offer?: LocalPostOffer;
|
|
1582
|
+
/**
|
|
1583
|
+
* Photo shown on the post. Specify at most 1 when you create or update a
|
|
1584
|
+
* post. A post created on Google directly can come back with more.
|
|
1585
|
+
* @maxSize 10
|
|
1586
|
+
*/
|
|
1587
|
+
media?: LocalPostMedia[];
|
|
1588
|
+
/**
|
|
1589
|
+
* Review state of the post on Google.
|
|
1590
|
+
*
|
|
1591
|
+
* A new or edited post is usually `PROCESSING` while Google reviews it. Read
|
|
1592
|
+
* the post again later to see whether it became `LIVE` or `REJECTED`.
|
|
1593
|
+
* @readonly
|
|
1594
|
+
*/
|
|
1595
|
+
state?: LocalPostStateWithLiterals;
|
|
1596
|
+
/**
|
|
1597
|
+
* Link to the post in Google Search.
|
|
1598
|
+
* @format WEB_URL
|
|
1599
|
+
* @maxLength 2048
|
|
1600
|
+
* @readonly
|
|
1601
|
+
*/
|
|
1602
|
+
searchUrl?: string | null;
|
|
1603
|
+
/**
|
|
1604
|
+
* Date and time the post was created.
|
|
1605
|
+
* @readonly
|
|
1606
|
+
*/
|
|
1607
|
+
_createdDate?: Date | null;
|
|
1608
|
+
/**
|
|
1609
|
+
* Date and time the post was last updated.
|
|
1610
|
+
* @readonly
|
|
1611
|
+
*/
|
|
1612
|
+
_updatedDate?: Date | null;
|
|
1613
|
+
}
|
|
1614
|
+
/** Kind of local post. */
|
|
1615
|
+
declare enum LocalPostTopicType {
|
|
1616
|
+
/** An update with text and an optional photo. */
|
|
1617
|
+
STANDARD = "STANDARD",
|
|
1618
|
+
/** An event with a title and a date range. */
|
|
1619
|
+
EVENT = "EVENT",
|
|
1620
|
+
/** A promotion with a title, a date range, and optional coupon details. */
|
|
1621
|
+
OFFER = "OFFER"
|
|
1622
|
+
}
|
|
1623
|
+
/** @enumType */
|
|
1624
|
+
type LocalPostTopicTypeWithLiterals = LocalPostTopicType | 'STANDARD' | 'EVENT' | 'OFFER';
|
|
1625
|
+
/** A button on a local post. */
|
|
1626
|
+
interface CallToAction {
|
|
1627
|
+
/** What the button does. */
|
|
1628
|
+
actionType?: ActionTypeWithLiterals;
|
|
1629
|
+
/**
|
|
1630
|
+
* Page the button opens. Required for every `actionType` except `CALL`, which
|
|
1631
|
+
* doesn't accept one.
|
|
1632
|
+
* @format WEB_URL
|
|
1633
|
+
* @maxLength 2048
|
|
1634
|
+
*/
|
|
1635
|
+
url?: string | null;
|
|
1636
|
+
}
|
|
1637
|
+
/** What the button does. */
|
|
1638
|
+
declare enum ActionType {
|
|
1639
|
+
/** Book an appointment, a table, or something similar. */
|
|
1640
|
+
BOOK = "BOOK",
|
|
1641
|
+
/** Order something. */
|
|
1642
|
+
ORDER = "ORDER",
|
|
1643
|
+
/** Browse a product catalog. */
|
|
1644
|
+
SHOP = "SHOP",
|
|
1645
|
+
/** Read more on a website. */
|
|
1646
|
+
LEARN_MORE = "LEARN_MORE",
|
|
1647
|
+
/** Register, sign up, or join something. */
|
|
1648
|
+
SIGN_UP = "SIGN_UP",
|
|
1649
|
+
/**
|
|
1650
|
+
* Call the business. Google dials the phone number on the Business
|
|
1651
|
+
* Profile, so this type takes no `url`.
|
|
1652
|
+
*/
|
|
1653
|
+
CALL = "CALL"
|
|
1654
|
+
}
|
|
1655
|
+
/** @enumType */
|
|
1656
|
+
type ActionTypeWithLiterals = ActionType | 'BOOK' | 'ORDER' | 'SHOP' | 'LEARN_MORE' | 'SIGN_UP' | 'CALL';
|
|
1657
|
+
/** Event details of an `EVENT` or `OFFER` post. */
|
|
1658
|
+
interface LocalPostEvent {
|
|
1659
|
+
/**
|
|
1660
|
+
* Name of the event or offer.
|
|
1661
|
+
* @maxLength 1000
|
|
1662
|
+
*/
|
|
1663
|
+
title?: string;
|
|
1664
|
+
/** When the event or offer runs. */
|
|
1665
|
+
schedule?: LocalPostSchedule;
|
|
1666
|
+
}
|
|
1667
|
+
/** Date range of an event or offer, in the business's local time. */
|
|
1668
|
+
interface LocalPostSchedule {
|
|
1669
|
+
/** First day. Required. */
|
|
1670
|
+
startDate?: LocalPostDate;
|
|
1671
|
+
/** Start time on `startDate`. Leave it out for an all-day range. */
|
|
1672
|
+
startTime?: LocalPostTimeOfDay;
|
|
1673
|
+
/** Last day. Required. */
|
|
1674
|
+
endDate?: LocalPostDate;
|
|
1675
|
+
/** End time on `endDate`. Leave it out for an all-day range. */
|
|
1676
|
+
endTime?: LocalPostTimeOfDay;
|
|
1677
|
+
}
|
|
1678
|
+
/** A calendar date with no time zone. */
|
|
1679
|
+
interface LocalPostDate {
|
|
1680
|
+
/**
|
|
1681
|
+
* Year, from 1 to 9999.
|
|
1682
|
+
* @min 1
|
|
1683
|
+
* @max 9999
|
|
1684
|
+
*/
|
|
1685
|
+
year?: number;
|
|
1686
|
+
/**
|
|
1687
|
+
* Month, from 1 to 12.
|
|
1688
|
+
* @min 1
|
|
1689
|
+
* @max 12
|
|
1690
|
+
*/
|
|
1691
|
+
month?: number;
|
|
1692
|
+
/**
|
|
1693
|
+
* Day of the month, from 1 to 31.
|
|
1694
|
+
* @min 1
|
|
1695
|
+
* @max 31
|
|
1696
|
+
*/
|
|
1697
|
+
day?: number;
|
|
1698
|
+
}
|
|
1699
|
+
/** A time of day in 24-hour wall-clock format, with no time zone. */
|
|
1700
|
+
interface LocalPostTimeOfDay {
|
|
1701
|
+
/**
|
|
1702
|
+
* Hour, from 0 to 23.
|
|
1703
|
+
* @max 23
|
|
1704
|
+
*/
|
|
1705
|
+
hours?: number;
|
|
1706
|
+
/**
|
|
1707
|
+
* Minute, from 0 to 59.
|
|
1708
|
+
* @max 59
|
|
1709
|
+
*/
|
|
1710
|
+
minutes?: number;
|
|
1711
|
+
}
|
|
1712
|
+
/** Offer details of an `OFFER` post. All fields are optional. */
|
|
1713
|
+
interface LocalPostOffer {
|
|
1714
|
+
/**
|
|
1715
|
+
* Coupon code to use in store or online.
|
|
1716
|
+
* @maxLength 255
|
|
1717
|
+
*/
|
|
1718
|
+
couponCode?: string;
|
|
1719
|
+
/**
|
|
1720
|
+
* Page where the offer can be redeemed.
|
|
1721
|
+
* @format WEB_URL
|
|
1722
|
+
* @maxLength 2048
|
|
1723
|
+
*/
|
|
1724
|
+
redeemOnlineUrl?: string | null;
|
|
1725
|
+
/**
|
|
1726
|
+
* Terms and conditions of the offer.
|
|
1727
|
+
* @maxLength 5000
|
|
1728
|
+
*/
|
|
1729
|
+
termsConditions?: string;
|
|
1730
|
+
}
|
|
1731
|
+
/** A photo on a local post. */
|
|
1732
|
+
interface LocalPostMedia {
|
|
1733
|
+
/**
|
|
1734
|
+
* Public URL of the photo. Google fetches the image from this URL, so it must
|
|
1735
|
+
* be an absolute `http` or `https` URL that's reachable without signing in.
|
|
1736
|
+
*
|
|
1737
|
+
* On a post read from Google, this is the URL the photo was created from, or
|
|
1738
|
+
* Google's own copy of it when Google doesn't report the original.
|
|
1739
|
+
* @format WEB_URL
|
|
1740
|
+
* @maxLength 2048
|
|
1741
|
+
*/
|
|
1742
|
+
sourceUrl?: string;
|
|
1743
|
+
}
|
|
1744
|
+
/** Review state of a local post on Google. */
|
|
1745
|
+
declare enum LocalPostState {
|
|
1746
|
+
/** Google is reviewing the post. It isn't visible yet. */
|
|
1747
|
+
PROCESSING = "PROCESSING",
|
|
1748
|
+
/** The post is visible on the Business Profile. */
|
|
1749
|
+
LIVE = "LIVE",
|
|
1750
|
+
/** Google rejected the post for a content policy violation. */
|
|
1751
|
+
REJECTED = "REJECTED",
|
|
1752
|
+
/** The post is scheduled to go live later. */
|
|
1753
|
+
SCHEDULED = "SCHEDULED",
|
|
1754
|
+
/** The post repeats on a schedule. */
|
|
1755
|
+
RECURRING = "RECURRING"
|
|
1756
|
+
}
|
|
1757
|
+
/** @enumType */
|
|
1758
|
+
type LocalPostStateWithLiterals = LocalPostState | 'PROCESSING' | 'LIVE' | 'REJECTED' | 'SCHEDULED' | 'RECURRING';
|
|
1759
|
+
interface CreateLocalPostResponse {
|
|
1760
|
+
/** The created post, including its ID and review `state`. */
|
|
1761
|
+
localPost?: LocalPost;
|
|
1762
|
+
}
|
|
1763
|
+
/**
|
|
1764
|
+
* Details for `LOCAL_POST_INVALID_FOR_TOPIC` and `INVALID_LOCAL_POST_REQUEST`.
|
|
1765
|
+
*
|
|
1766
|
+
* Names the field that was rejected, so you can correct it and try again.
|
|
1767
|
+
* Google isn't called when either error is returned.
|
|
1768
|
+
*/
|
|
1769
|
+
interface LocalPostFieldError {
|
|
1770
|
+
/**
|
|
1771
|
+
* The rejected field, such as `event.schedule` or `callToAction.url`.
|
|
1772
|
+
* @maxLength 200
|
|
1773
|
+
*/
|
|
1774
|
+
field?: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* Why the field was rejected.
|
|
1777
|
+
* @maxLength 1000
|
|
1778
|
+
*/
|
|
1779
|
+
reason?: string;
|
|
1780
|
+
}
|
|
1781
|
+
interface ListLocalPostsRequest {
|
|
1782
|
+
/**
|
|
1783
|
+
* Location ID. This is Google's location identifier.
|
|
1784
|
+
* @minLength 1
|
|
1785
|
+
* @maxLength 255
|
|
1786
|
+
*/
|
|
1787
|
+
locationId: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* Cursor paging. `limit` defaults to 20, and can be at most 100. `cursor` is
|
|
1790
|
+
* `pagingMetadata.cursors.next` from the previous page.
|
|
1791
|
+
*/
|
|
1792
|
+
paging?: CursorPaging;
|
|
1793
|
+
}
|
|
1794
|
+
interface ListLocalPostsResponse {
|
|
1795
|
+
/**
|
|
1796
|
+
* Posts on this page.
|
|
1797
|
+
* @maxSize 100
|
|
1798
|
+
*/
|
|
1799
|
+
localPosts?: LocalPost[];
|
|
1800
|
+
/**
|
|
1801
|
+
* Paging metadata. `cursors.next` is the cursor for the next page, and
|
|
1802
|
+
* `hasNext` says whether there is one.
|
|
1803
|
+
*/
|
|
1804
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
1805
|
+
}
|
|
1806
|
+
interface GetLocalPostRequest {
|
|
1807
|
+
/**
|
|
1808
|
+
* Location ID. This is Google's location identifier.
|
|
1809
|
+
* @minLength 1
|
|
1810
|
+
* @maxLength 255
|
|
1811
|
+
*/
|
|
1812
|
+
locationId: string;
|
|
1813
|
+
/**
|
|
1814
|
+
* ID of the post to retrieve.
|
|
1815
|
+
* @minLength 1
|
|
1816
|
+
* @maxLength 255
|
|
1817
|
+
*/
|
|
1818
|
+
localPostId: string;
|
|
1819
|
+
}
|
|
1820
|
+
interface GetLocalPostResponse {
|
|
1821
|
+
/** The retrieved post. */
|
|
1822
|
+
localPost?: LocalPost;
|
|
1823
|
+
}
|
|
1824
|
+
interface UpdateLocalPostRequest {
|
|
1825
|
+
/**
|
|
1826
|
+
* Location ID. This is Google's location identifier.
|
|
1827
|
+
* @minLength 1
|
|
1828
|
+
* @maxLength 255
|
|
1829
|
+
*/
|
|
1830
|
+
locationId: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* ID of the post to update.
|
|
1833
|
+
* @minLength 1
|
|
1834
|
+
* @maxLength 255
|
|
1835
|
+
*/
|
|
1836
|
+
localPostId: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* The values to set. Only the fields named in `fieldMask` are sent to Google,
|
|
1839
|
+
* so this can be partial.
|
|
1840
|
+
*/
|
|
1841
|
+
localPost: LocalPost;
|
|
1842
|
+
/**
|
|
1843
|
+
* The fields to update. Accepted paths: `summary`, `callToAction`, `event`,
|
|
1844
|
+
* `offer`, `media`, `languageCode`. Any other path, a nested path, or an
|
|
1845
|
+
* empty mask is rejected with `INVALID_UPDATE_MASK`.
|
|
1846
|
+
*/
|
|
1847
|
+
fieldMask: string[];
|
|
1848
|
+
}
|
|
1849
|
+
interface UpdateLocalPostResponse {
|
|
1850
|
+
/** The post as Google now holds it. */
|
|
1851
|
+
localPost?: LocalPost;
|
|
1852
|
+
}
|
|
1853
|
+
interface DeleteLocalPostRequest {
|
|
1854
|
+
/**
|
|
1855
|
+
* Location ID. This is Google's location identifier.
|
|
1856
|
+
* @minLength 1
|
|
1857
|
+
* @maxLength 255
|
|
1858
|
+
*/
|
|
1859
|
+
locationId: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* ID of the post to delete.
|
|
1862
|
+
* @minLength 1
|
|
1863
|
+
* @maxLength 255
|
|
1864
|
+
*/
|
|
1865
|
+
localPostId: string;
|
|
1866
|
+
}
|
|
1867
|
+
interface DeleteLocalPostResponse {
|
|
1868
|
+
}
|
|
1869
|
+
interface ReportLocalPostInsightsRequest {
|
|
1870
|
+
/**
|
|
1871
|
+
* Location ID. This is Google's location identifier.
|
|
1872
|
+
* @minLength 1
|
|
1873
|
+
* @maxLength 255
|
|
1874
|
+
*/
|
|
1875
|
+
locationId: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* IDs of the posts to report on. Every post must belong to the location.
|
|
1878
|
+
* @minSize 1
|
|
1879
|
+
* @maxSize 100
|
|
1880
|
+
* @maxLength 255
|
|
1881
|
+
*/
|
|
1882
|
+
localPostIds: string[];
|
|
1883
|
+
/**
|
|
1884
|
+
* Metrics to report.
|
|
1885
|
+
* @minSize 1
|
|
1886
|
+
* @maxSize 2
|
|
1887
|
+
*/
|
|
1888
|
+
metrics: LocalPostMetricWithLiterals[];
|
|
1889
|
+
/**
|
|
1890
|
+
* Window to report on. Both dates are inclusive and truncated to UTC
|
|
1891
|
+
* midnight.
|
|
1892
|
+
*/
|
|
1893
|
+
timeRange: InsightsTimeRange;
|
|
1894
|
+
}
|
|
1895
|
+
/** A post metric Google reports. */
|
|
1896
|
+
declare enum LocalPostMetric {
|
|
1897
|
+
/** Number of times the post was viewed on Google Search. */
|
|
1898
|
+
LOCAL_POST_VIEWS_SEARCH = "LOCAL_POST_VIEWS_SEARCH",
|
|
1899
|
+
/** Number of times the post's button was clicked. */
|
|
1900
|
+
LOCAL_POST_ACTIONS_CALL_TO_ACTION = "LOCAL_POST_ACTIONS_CALL_TO_ACTION"
|
|
1901
|
+
}
|
|
1902
|
+
/** @enumType */
|
|
1903
|
+
type LocalPostMetricWithLiterals = LocalPostMetric | 'LOCAL_POST_VIEWS_SEARCH' | 'LOCAL_POST_ACTIONS_CALL_TO_ACTION';
|
|
1904
|
+
interface InsightsTimeRange {
|
|
1905
|
+
/** Start of the time range (inclusive). Truncated to UTC midnight. */
|
|
1906
|
+
startDate?: Date | null;
|
|
1907
|
+
/** End of the time range (inclusive). Truncated to UTC midnight. */
|
|
1908
|
+
endDate?: Date | null;
|
|
1909
|
+
}
|
|
1910
|
+
interface ReportLocalPostInsightsResponse {
|
|
1911
|
+
/**
|
|
1912
|
+
* One entry per post Google reported on.
|
|
1913
|
+
* @maxSize 100
|
|
1914
|
+
*/
|
|
1915
|
+
localPostInsights?: LocalPostInsights[];
|
|
1916
|
+
/**
|
|
1917
|
+
* Time zone Google reported the data in, as an IANA ID such as
|
|
1918
|
+
* `Europe/London`.
|
|
1919
|
+
* @maxLength 100
|
|
1920
|
+
*/
|
|
1921
|
+
timeZone?: string;
|
|
1922
|
+
}
|
|
1923
|
+
/** Metric totals for one post. */
|
|
1924
|
+
interface LocalPostInsights {
|
|
1925
|
+
/**
|
|
1926
|
+
* Post ID.
|
|
1927
|
+
* @maxLength 255
|
|
1928
|
+
*/
|
|
1929
|
+
localPostId?: string;
|
|
1930
|
+
/**
|
|
1931
|
+
* One total per requested metric, in request order.
|
|
1932
|
+
* @maxSize 2
|
|
1933
|
+
*/
|
|
1934
|
+
metrics?: LocalPostMetricValue[];
|
|
1935
|
+
}
|
|
1936
|
+
/** Total of one metric over the requested time range. */
|
|
1937
|
+
interface LocalPostMetricValue {
|
|
1938
|
+
/** The metric. */
|
|
1939
|
+
metric?: LocalPostMetricWithLiterals;
|
|
1940
|
+
/** Total over the requested time range. `0` when Google reported no data. */
|
|
1941
|
+
totalValue?: string;
|
|
1942
|
+
}
|
|
1536
1943
|
interface UpdateLocationFoodMenusRequest {
|
|
1537
1944
|
/**
|
|
1538
1945
|
* Location ID. This is Google's location identifier.
|
|
@@ -4258,6 +4665,8 @@ interface VerificationOption extends VerificationOptionDataOneOf {
|
|
|
4258
4665
|
emailData?: EmailVerificationData;
|
|
4259
4666
|
/** Set only when `method` is ADDRESS. */
|
|
4260
4667
|
addressData?: AddressVerificationData;
|
|
4668
|
+
/** Set only when `method` is OFFLINE_VIDEO. */
|
|
4669
|
+
offlineVideoData?: OfflineVideoVerificationData;
|
|
4261
4670
|
/** The verification method. */
|
|
4262
4671
|
method?: VerificationMethodWithLiterals;
|
|
4263
4672
|
}
|
|
@@ -4273,6 +4682,8 @@ interface VerificationOptionDataOneOf {
|
|
|
4273
4682
|
emailData?: EmailVerificationData;
|
|
4274
4683
|
/** Set only when `method` is ADDRESS. */
|
|
4275
4684
|
addressData?: AddressVerificationData;
|
|
4685
|
+
/** Set only when `method` is OFFLINE_VIDEO. */
|
|
4686
|
+
offlineVideoData?: OfflineVideoVerificationData;
|
|
4276
4687
|
}
|
|
4277
4688
|
/** Verification methods supported by Google for a Business Profile location. */
|
|
4278
4689
|
declare enum VerificationMethod {
|
|
@@ -4285,10 +4696,12 @@ declare enum VerificationMethod {
|
|
|
4285
4696
|
/** SMS with a PIN */
|
|
4286
4697
|
SMS = "SMS",
|
|
4287
4698
|
/** Google-side instant verification (e.g. domain ownership) */
|
|
4288
|
-
AUTO = "AUTO"
|
|
4699
|
+
AUTO = "AUTO",
|
|
4700
|
+
/** Video recorded on Google's page at `offline_video_data.action_url` */
|
|
4701
|
+
OFFLINE_VIDEO = "OFFLINE_VIDEO"
|
|
4289
4702
|
}
|
|
4290
4703
|
/** @enumType */
|
|
4291
|
-
type VerificationMethodWithLiterals = VerificationMethod | 'ADDRESS' | 'EMAIL' | 'PHONE_CALL' | 'SMS' | 'AUTO';
|
|
4704
|
+
type VerificationMethodWithLiterals = VerificationMethod | 'ADDRESS' | 'EMAIL' | 'PHONE_CALL' | 'SMS' | 'AUTO' | 'OFFLINE_VIDEO';
|
|
4292
4705
|
/** Email destination Google will send the PIN to (EMAIL method). */
|
|
4293
4706
|
interface EmailVerificationData {
|
|
4294
4707
|
/**
|
|
@@ -4323,6 +4736,15 @@ interface AddressVerificationData {
|
|
|
4323
4736
|
*/
|
|
4324
4737
|
expectedDeliveryDaysRegion?: number | null;
|
|
4325
4738
|
}
|
|
4739
|
+
/** Where the merchant records a verification video (OFFLINE_VIDEO method). */
|
|
4740
|
+
interface OfflineVideoVerificationData {
|
|
4741
|
+
/**
|
|
4742
|
+
* Google Business Profile page where the merchant records and submits the
|
|
4743
|
+
* verification video. Open it for the merchant; there's no PIN to complete.
|
|
4744
|
+
* @format WEB_URL
|
|
4745
|
+
*/
|
|
4746
|
+
actionUrl?: string;
|
|
4747
|
+
}
|
|
4326
4748
|
interface StartVerificationRequest {
|
|
4327
4749
|
/**
|
|
4328
4750
|
* Location ID. This is Google's location identifier.
|
|
@@ -4421,12 +4843,6 @@ interface GetLocationInsightsRequest {
|
|
|
4421
4843
|
*/
|
|
4422
4844
|
metricTypes: DailyMetricWithLiterals[];
|
|
4423
4845
|
}
|
|
4424
|
-
interface InsightsTimeRange {
|
|
4425
|
-
/** Start of the time range (inclusive). Truncated to UTC midnight. */
|
|
4426
|
-
startDate?: Date | null;
|
|
4427
|
-
/** End of the time range (inclusive). Truncated to UTC midnight. */
|
|
4428
|
-
endDate?: Date | null;
|
|
4429
|
-
}
|
|
4430
4846
|
/**
|
|
4431
4847
|
* A Google Business Profile Performance daily metric. Values mirror Google's
|
|
4432
4848
|
* `DailyMetric` enum 1:1 (same wire tokens), so each value maps directly to the
|
|
@@ -5195,6 +5611,82 @@ type DeleteMediaApplicationErrors = {
|
|
|
5195
5611
|
data?: GoogleApiCallFailedError;
|
|
5196
5612
|
};
|
|
5197
5613
|
/** @docsIgnore */
|
|
5614
|
+
type CreateLocalPostApplicationErrors = {
|
|
5615
|
+
code?: 'LOCAL_POST_INVALID_FOR_TOPIC';
|
|
5616
|
+
description?: string;
|
|
5617
|
+
data?: LocalPostFieldError;
|
|
5618
|
+
} | {
|
|
5619
|
+
code?: 'INVALID_LOCAL_POST_REQUEST';
|
|
5620
|
+
description?: string;
|
|
5621
|
+
data?: LocalPostFieldError;
|
|
5622
|
+
} | {
|
|
5623
|
+
code?: 'GOOGLE_LOCATION_VALIDATION_FAILED';
|
|
5624
|
+
description?: string;
|
|
5625
|
+
data?: GoogleLocationValidationError;
|
|
5626
|
+
} | {
|
|
5627
|
+
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5628
|
+
description?: string;
|
|
5629
|
+
data?: GoogleApiCallFailedError;
|
|
5630
|
+
};
|
|
5631
|
+
/** @docsIgnore */
|
|
5632
|
+
type ListLocalPostsApplicationErrors = {
|
|
5633
|
+
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5634
|
+
description?: string;
|
|
5635
|
+
data?: GoogleApiCallFailedError;
|
|
5636
|
+
};
|
|
5637
|
+
/** @docsIgnore */
|
|
5638
|
+
type GetLocalPostApplicationErrors = {
|
|
5639
|
+
code?: 'LOCAL_POST_NOT_FOUND';
|
|
5640
|
+
description?: string;
|
|
5641
|
+
data?: Record<string, any>;
|
|
5642
|
+
} | {
|
|
5643
|
+
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5644
|
+
description?: string;
|
|
5645
|
+
data?: GoogleApiCallFailedError;
|
|
5646
|
+
};
|
|
5647
|
+
/** @docsIgnore */
|
|
5648
|
+
type UpdateLocalPostApplicationErrors = {
|
|
5649
|
+
code?: 'INVALID_UPDATE_MASK';
|
|
5650
|
+
description?: string;
|
|
5651
|
+
data?: InvalidUpdateMaskError;
|
|
5652
|
+
} | {
|
|
5653
|
+
code?: 'INVALID_LOCAL_POST_REQUEST';
|
|
5654
|
+
description?: string;
|
|
5655
|
+
data?: LocalPostFieldError;
|
|
5656
|
+
} | {
|
|
5657
|
+
code?: 'LOCAL_POST_NOT_FOUND';
|
|
5658
|
+
description?: string;
|
|
5659
|
+
data?: Record<string, any>;
|
|
5660
|
+
} | {
|
|
5661
|
+
code?: 'GOOGLE_LOCATION_VALIDATION_FAILED';
|
|
5662
|
+
description?: string;
|
|
5663
|
+
data?: GoogleLocationValidationError;
|
|
5664
|
+
} | {
|
|
5665
|
+
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5666
|
+
description?: string;
|
|
5667
|
+
data?: GoogleApiCallFailedError;
|
|
5668
|
+
};
|
|
5669
|
+
/** @docsIgnore */
|
|
5670
|
+
type DeleteLocalPostApplicationErrors = {
|
|
5671
|
+
code?: 'LOCAL_POST_NOT_FOUND';
|
|
5672
|
+
description?: string;
|
|
5673
|
+
data?: Record<string, any>;
|
|
5674
|
+
} | {
|
|
5675
|
+
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5676
|
+
description?: string;
|
|
5677
|
+
data?: GoogleApiCallFailedError;
|
|
5678
|
+
};
|
|
5679
|
+
/** @docsIgnore */
|
|
5680
|
+
type ReportLocalPostInsightsApplicationErrors = {
|
|
5681
|
+
code?: 'INVALID_LOCAL_POST_REQUEST';
|
|
5682
|
+
description?: string;
|
|
5683
|
+
data?: LocalPostFieldError;
|
|
5684
|
+
} | {
|
|
5685
|
+
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5686
|
+
description?: string;
|
|
5687
|
+
data?: GoogleApiCallFailedError;
|
|
5688
|
+
};
|
|
5689
|
+
/** @docsIgnore */
|
|
5198
5690
|
type UpdateLocationFoodMenusApplicationErrors = {
|
|
5199
5691
|
code?: 'FOOD_MENUS_FETCH_LIMIT_EXCEEDED';
|
|
5200
5692
|
description?: string;
|
|
@@ -6316,6 +6808,253 @@ interface DeleteMediaIdentifiers {
|
|
|
6316
6808
|
*/
|
|
6317
6809
|
mediaKey: string;
|
|
6318
6810
|
}
|
|
6811
|
+
/**
|
|
6812
|
+
* Creates a post on a location's Business Profile.
|
|
6813
|
+
*
|
|
6814
|
+
* Set `topicType` to choose the kind of post:
|
|
6815
|
+
*
|
|
6816
|
+
* - `STANDARD`: an update with `summary` and an optional photo in `media`.
|
|
6817
|
+
* Don't set `event` or `offer`.
|
|
6818
|
+
* - `EVENT`: an event. Requires `event.title` and `event.schedule`.
|
|
6819
|
+
* - `OFFER`: a promotion. Requires `event.title` and `event.schedule`, and
|
|
6820
|
+
* accepts coupon details in `offer`.
|
|
6821
|
+
*
|
|
6822
|
+
* Add a button with `callToAction`. Every `actionType` except `CALL` needs a
|
|
6823
|
+
* `url`. `CALL` dials the phone number on the Business Profile and doesn't
|
|
6824
|
+
* accept one.
|
|
6825
|
+
*
|
|
6826
|
+
* Google reviews every new post before showing it, so the returned post is
|
|
6827
|
+
* usually in the `PROCESSING` state. Call Get Local Post later to see whether
|
|
6828
|
+
* it became `LIVE` or `REJECTED`. A rejected post isn't an error: it comes
|
|
6829
|
+
* back with `state` set to `REJECTED`.
|
|
6830
|
+
*
|
|
6831
|
+
* Google doesn't deduplicate posts. Calling this twice creates two posts.
|
|
6832
|
+
*
|
|
6833
|
+
* Errors:
|
|
6834
|
+
* - `LOCAL_POST_INVALID_FOR_TOPIC`: a field doesn't fit `topicType`, for
|
|
6835
|
+
* example an `EVENT` post without `event.schedule`. The field is named in
|
|
6836
|
+
* the error payload. Google isn't called.
|
|
6837
|
+
* - `INVALID_LOCAL_POST_REQUEST`: a field is invalid regardless of the topic,
|
|
6838
|
+
* for example a `callToAction` without a `url`. Google isn't called.
|
|
6839
|
+
* - `GOOGLE_LOCATION_VALIDATION_FAILED`: Google rejected the post and said
|
|
6840
|
+
* why. The reasons are in the error payload.
|
|
6841
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed for any other reason.
|
|
6842
|
+
* Google's status and response are in the error payload.
|
|
6843
|
+
* @param locationId - Location ID. This is Google's location identifier.
|
|
6844
|
+
* @param localPost - The post to create.
|
|
6845
|
+
* @public
|
|
6846
|
+
* @documentationMaturity preview
|
|
6847
|
+
* @requiredField localPost
|
|
6848
|
+
* @requiredField localPost.topicType
|
|
6849
|
+
* @requiredField locationId
|
|
6850
|
+
* @permissionId gbp:location:v1:gbplocation:create_local_post
|
|
6851
|
+
* @fqn wix.gbp.location.v1.GbpLocationsService.CreateLocalPost
|
|
6852
|
+
*/
|
|
6853
|
+
declare function createLocalPost(locationId: string, localPost: NonNullablePaths<LocalPost, `topicType`, 0>): Promise<NonNullablePaths<CreateLocalPostResponse, `localPost.localPostId` | `localPost.topicType` | `localPost.summary` | `localPost.callToAction.actionType` | `localPost.event.title` | `localPost.event.schedule.startDate.year` | `localPost.event.schedule.startDate.month` | `localPost.event.schedule.startDate.day` | `localPost.event.schedule.startTime.hours` | `localPost.event.schedule.startTime.minutes` | `localPost.offer.couponCode` | `localPost.offer.termsConditions` | `localPost.media` | `localPost.media.${number}.sourceUrl` | `localPost.state`, 4> & {
|
|
6854
|
+
__applicationErrorsType?: CreateLocalPostApplicationErrors;
|
|
6855
|
+
}>;
|
|
6856
|
+
/**
|
|
6857
|
+
* Retrieves a list of up to 100 posts on a location's Business Profile.
|
|
6858
|
+
*
|
|
6859
|
+
* Each post includes its current `state`, so this is also how to follow up on
|
|
6860
|
+
* posts that were `PROCESSING` when created.
|
|
6861
|
+
*
|
|
6862
|
+
* Don't rely on the order of the results. Page through with `paging.cursor`.
|
|
6863
|
+
*
|
|
6864
|
+
* Errors:
|
|
6865
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status is in
|
|
6866
|
+
* the error payload.
|
|
6867
|
+
* @param locationId - Location ID. This is Google's location identifier.
|
|
6868
|
+
* @public
|
|
6869
|
+
* @documentationMaturity preview
|
|
6870
|
+
* @requiredField locationId
|
|
6871
|
+
* @permissionId gbp:location:v1:gbplocation:list_local_posts
|
|
6872
|
+
* @fqn wix.gbp.location.v1.GbpLocationsService.ListLocalPosts
|
|
6873
|
+
*/
|
|
6874
|
+
declare function listLocalPosts(locationId: string, options?: ListLocalPostsOptions): Promise<NonNullablePaths<ListLocalPostsResponse, `localPosts` | `localPosts.${number}.localPostId` | `localPosts.${number}.topicType` | `localPosts.${number}.summary` | `localPosts.${number}.callToAction.actionType` | `localPosts.${number}.event.title` | `localPosts.${number}.offer.couponCode` | `localPosts.${number}.offer.termsConditions` | `localPosts.${number}.state`, 3> & {
|
|
6875
|
+
__applicationErrorsType?: ListLocalPostsApplicationErrors;
|
|
6876
|
+
}>;
|
|
6877
|
+
interface ListLocalPostsOptions {
|
|
6878
|
+
/**
|
|
6879
|
+
* Cursor paging. `limit` defaults to 20, and can be at most 100. `cursor` is
|
|
6880
|
+
* `pagingMetadata.cursors.next` from the previous page.
|
|
6881
|
+
*/
|
|
6882
|
+
paging?: CursorPaging;
|
|
6883
|
+
}
|
|
6884
|
+
/**
|
|
6885
|
+
* Retrieves a post from a location's Business Profile.
|
|
6886
|
+
*
|
|
6887
|
+
* Use it after Create Local Post or Update Local Post to see whether Google
|
|
6888
|
+
* approved the change: `state` moves from `PROCESSING` to `LIVE` or
|
|
6889
|
+
* `REJECTED`.
|
|
6890
|
+
*
|
|
6891
|
+
* Errors:
|
|
6892
|
+
* - `LOCAL_POST_NOT_FOUND`: the post doesn't exist on the location.
|
|
6893
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status is in
|
|
6894
|
+
* the error payload.
|
|
6895
|
+
* @public
|
|
6896
|
+
* @documentationMaturity preview
|
|
6897
|
+
* @requiredField identifiers
|
|
6898
|
+
* @requiredField identifiers.localPostId
|
|
6899
|
+
* @requiredField identifiers.locationId
|
|
6900
|
+
* @permissionId gbp:location:v1:gbplocation:get_local_post
|
|
6901
|
+
* @fqn wix.gbp.location.v1.GbpLocationsService.GetLocalPost
|
|
6902
|
+
*/
|
|
6903
|
+
declare function getLocalPost(identifiers: NonNullablePaths<GetLocalPostIdentifiers, `localPostId` | `locationId`, 0>): Promise<NonNullablePaths<GetLocalPostResponse, `localPost.localPostId` | `localPost.topicType` | `localPost.summary` | `localPost.callToAction.actionType` | `localPost.event.title` | `localPost.event.schedule.startDate.year` | `localPost.event.schedule.startDate.month` | `localPost.event.schedule.startDate.day` | `localPost.event.schedule.startTime.hours` | `localPost.event.schedule.startTime.minutes` | `localPost.offer.couponCode` | `localPost.offer.termsConditions` | `localPost.media` | `localPost.media.${number}.sourceUrl` | `localPost.state`, 4> & {
|
|
6904
|
+
__applicationErrorsType?: GetLocalPostApplicationErrors;
|
|
6905
|
+
}>;
|
|
6906
|
+
interface GetLocalPostIdentifiers {
|
|
6907
|
+
/**
|
|
6908
|
+
* Location ID. This is Google's location identifier.
|
|
6909
|
+
* @minLength 1
|
|
6910
|
+
* @maxLength 255
|
|
6911
|
+
*/
|
|
6912
|
+
locationId: string;
|
|
6913
|
+
/**
|
|
6914
|
+
* ID of the post to retrieve.
|
|
6915
|
+
* @minLength 1
|
|
6916
|
+
* @maxLength 255
|
|
6917
|
+
*/
|
|
6918
|
+
localPostId: string;
|
|
6919
|
+
}
|
|
6920
|
+
/**
|
|
6921
|
+
* Updates a post on a location's Business Profile.
|
|
6922
|
+
*
|
|
6923
|
+
* Name the fields to change in `fieldMask`. Only these paths are accepted:
|
|
6924
|
+
* `summary`, `callToAction`, `event`, `offer`, `media`, `languageCode`. Each
|
|
6925
|
+
* one replaces that whole part of the post, so send the complete value you
|
|
6926
|
+
* want. `topicType` can't be changed: create a new post instead.
|
|
6927
|
+
*
|
|
6928
|
+
* Google reviews the edited post again, so the returned post is usually back
|
|
6929
|
+
* in the `PROCESSING` state. Call Get Local Post later to see the outcome.
|
|
6930
|
+
*
|
|
6931
|
+
* Errors:
|
|
6932
|
+
* - `INVALID_UPDATE_MASK`: the mask is empty or names a path that can't be
|
|
6933
|
+
* updated. Google isn't called.
|
|
6934
|
+
* - `INVALID_LOCAL_POST_REQUEST`: a masked field is invalid, for example a
|
|
6935
|
+
* `callToAction` without a `url`. Google isn't called.
|
|
6936
|
+
* - `LOCAL_POST_NOT_FOUND`: the post doesn't exist on the location.
|
|
6937
|
+
* - `GOOGLE_LOCATION_VALIDATION_FAILED`: Google rejected the change and said
|
|
6938
|
+
* why, for example a field that doesn't fit the post's `topicType`. The
|
|
6939
|
+
* reasons are in the error payload.
|
|
6940
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed for any other reason.
|
|
6941
|
+
* Google's status and response are in the error payload.
|
|
6942
|
+
* @param localPost - The values to set. Only the fields named in `fieldMask` are sent to Google,
|
|
6943
|
+
* so this can be partial.
|
|
6944
|
+
* @public
|
|
6945
|
+
* @documentationMaturity preview
|
|
6946
|
+
* @requiredField identifiers
|
|
6947
|
+
* @requiredField identifiers.localPostId
|
|
6948
|
+
* @requiredField identifiers.locationId
|
|
6949
|
+
* @requiredField localPost
|
|
6950
|
+
* @requiredField options
|
|
6951
|
+
* @requiredField options.fieldMask
|
|
6952
|
+
* @permissionId gbp:location:v1:gbplocation:update_local_post
|
|
6953
|
+
* @fqn wix.gbp.location.v1.GbpLocationsService.UpdateLocalPost
|
|
6954
|
+
*/
|
|
6955
|
+
declare function updateLocalPost(identifiers: NonNullablePaths<UpdateLocalPostIdentifiers, `localPostId` | `locationId`, 0>, localPost: LocalPost, options: NonNullablePaths<UpdateLocalPostOptions, `fieldMask`, 0>): Promise<NonNullablePaths<UpdateLocalPostResponse, `localPost.localPostId` | `localPost.topicType` | `localPost.summary` | `localPost.callToAction.actionType` | `localPost.event.title` | `localPost.event.schedule.startDate.year` | `localPost.event.schedule.startDate.month` | `localPost.event.schedule.startDate.day` | `localPost.event.schedule.startTime.hours` | `localPost.event.schedule.startTime.minutes` | `localPost.offer.couponCode` | `localPost.offer.termsConditions` | `localPost.media` | `localPost.media.${number}.sourceUrl` | `localPost.state`, 4> & {
|
|
6956
|
+
__applicationErrorsType?: UpdateLocalPostApplicationErrors;
|
|
6957
|
+
}>;
|
|
6958
|
+
interface UpdateLocalPostIdentifiers {
|
|
6959
|
+
/**
|
|
6960
|
+
* Location ID. This is Google's location identifier.
|
|
6961
|
+
* @minLength 1
|
|
6962
|
+
* @maxLength 255
|
|
6963
|
+
*/
|
|
6964
|
+
locationId: string;
|
|
6965
|
+
/**
|
|
6966
|
+
* ID of the post to update.
|
|
6967
|
+
* @minLength 1
|
|
6968
|
+
* @maxLength 255
|
|
6969
|
+
*/
|
|
6970
|
+
localPostId: string;
|
|
6971
|
+
}
|
|
6972
|
+
interface UpdateLocalPostOptions {
|
|
6973
|
+
/**
|
|
6974
|
+
* The fields to update. Accepted paths: `summary`, `callToAction`, `event`,
|
|
6975
|
+
* `offer`, `media`, `languageCode`. Any other path, a nested path, or an
|
|
6976
|
+
* empty mask is rejected with `INVALID_UPDATE_MASK`.
|
|
6977
|
+
*/
|
|
6978
|
+
fieldMask: string[];
|
|
6979
|
+
}
|
|
6980
|
+
/**
|
|
6981
|
+
* Deletes a post from a location's Business Profile.
|
|
6982
|
+
*
|
|
6983
|
+
* The post is removed from Google Search and Maps, and can't be restored.
|
|
6984
|
+
*
|
|
6985
|
+
* Errors:
|
|
6986
|
+
* - `LOCAL_POST_NOT_FOUND`: the post doesn't exist on the location, for
|
|
6987
|
+
* example because it was already deleted.
|
|
6988
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed for any other reason.
|
|
6989
|
+
* Google's status and response are in the error payload.
|
|
6990
|
+
* @public
|
|
6991
|
+
* @documentationMaturity preview
|
|
6992
|
+
* @requiredField identifiers
|
|
6993
|
+
* @requiredField identifiers.localPostId
|
|
6994
|
+
* @requiredField identifiers.locationId
|
|
6995
|
+
* @permissionId gbp:location:v1:gbplocation:delete_local_post
|
|
6996
|
+
* @fqn wix.gbp.location.v1.GbpLocationsService.DeleteLocalPost
|
|
6997
|
+
*/
|
|
6998
|
+
declare function deleteLocalPost(identifiers: NonNullablePaths<DeleteLocalPostIdentifiers, `localPostId` | `locationId`, 0>): Promise<void & {
|
|
6999
|
+
__applicationErrorsType?: DeleteLocalPostApplicationErrors;
|
|
7000
|
+
}>;
|
|
7001
|
+
interface DeleteLocalPostIdentifiers {
|
|
7002
|
+
/**
|
|
7003
|
+
* Location ID. This is Google's location identifier.
|
|
7004
|
+
* @minLength 1
|
|
7005
|
+
* @maxLength 255
|
|
7006
|
+
*/
|
|
7007
|
+
locationId: string;
|
|
7008
|
+
/**
|
|
7009
|
+
* ID of the post to delete.
|
|
7010
|
+
* @minLength 1
|
|
7011
|
+
* @maxLength 255
|
|
7012
|
+
*/
|
|
7013
|
+
localPostId: string;
|
|
7014
|
+
}
|
|
7015
|
+
/**
|
|
7016
|
+
* Retrieves metric totals for up to 100 posts on a location.
|
|
7017
|
+
*
|
|
7018
|
+
* Specify the posts in `localPostIds`, the metrics in `metrics`, and the
|
|
7019
|
+
* window in `timeRange`. The window can start at most 18 months before
|
|
7020
|
+
* today, and not later than today. Each post comes back with one total per requested metric.
|
|
7021
|
+
*
|
|
7022
|
+
* Google can report data late, so totals for the last few days may still
|
|
7023
|
+
* grow.
|
|
7024
|
+
*
|
|
7025
|
+
* Errors:
|
|
7026
|
+
* - `INVALID_LOCAL_POST_REQUEST`: `timeRange` ends before it starts, starts in
|
|
7027
|
+
* the future, or starts more than 18 months ago. Google isn't called.
|
|
7028
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status is in
|
|
7029
|
+
* the error payload.
|
|
7030
|
+
* @param locationId - Location ID. This is Google's location identifier.
|
|
7031
|
+
* @param localPostIds - IDs of the posts to report on. Every post must belong to the location.
|
|
7032
|
+
* @public
|
|
7033
|
+
* @documentationMaturity preview
|
|
7034
|
+
* @requiredField localPostIds
|
|
7035
|
+
* @requiredField locationId
|
|
7036
|
+
* @requiredField options
|
|
7037
|
+
* @requiredField options.metrics
|
|
7038
|
+
* @requiredField options.timeRange
|
|
7039
|
+
* @permissionId gbp:location:v1:gbplocation:report_local_post_insights
|
|
7040
|
+
* @fqn wix.gbp.location.v1.GbpLocationsService.ReportLocalPostInsights
|
|
7041
|
+
*/
|
|
7042
|
+
declare function reportLocalPostInsights(locationId: string, localPostIds: string[], options: NonNullablePaths<ReportLocalPostInsightsOptions, `metrics` | `timeRange`, 0>): Promise<NonNullablePaths<ReportLocalPostInsightsResponse, `localPostInsights` | `localPostInsights.${number}.localPostId` | `timeZone`, 2> & {
|
|
7043
|
+
__applicationErrorsType?: ReportLocalPostInsightsApplicationErrors;
|
|
7044
|
+
}>;
|
|
7045
|
+
interface ReportLocalPostInsightsOptions {
|
|
7046
|
+
/**
|
|
7047
|
+
* Metrics to report.
|
|
7048
|
+
* @minSize 1
|
|
7049
|
+
* @maxSize 2
|
|
7050
|
+
*/
|
|
7051
|
+
metrics: LocalPostMetricWithLiterals[];
|
|
7052
|
+
/**
|
|
7053
|
+
* Window to report on. Both dates are inclusive and truncated to UTC
|
|
7054
|
+
* midnight.
|
|
7055
|
+
*/
|
|
7056
|
+
timeRange: InsightsTimeRange;
|
|
7057
|
+
}
|
|
6319
7058
|
interface UpdateLocationFoodMenusOptions {
|
|
6320
7059
|
/**
|
|
6321
7060
|
* IDs of the Wix menus to publish to Google.
|
|
@@ -6639,7 +7378,7 @@ interface ListCategoriesOptions {
|
|
|
6639
7378
|
* @applicableIdentity APP
|
|
6640
7379
|
* @fqn wix.gbp.location.v1.GbpLocationsService.GetVerificationOptions
|
|
6641
7380
|
*/
|
|
6642
|
-
declare function getVerificationOptions(locationId: string, options?: GetVerificationOptions): Promise<NonNullablePaths<GetVerificationOptionsResponse, `options` | `options.${number}.phoneNumber` | `options.${number}.emailData.domain` | `options.${number}.emailData.user` | `options.${number}.emailData.userNameEditable` | `options.${number}.addressData.business` | `options.${number}.addressData.address.countryCode` | `options.${number}.addressData.address.postalCode` | `options.${number}.addressData.address.administrativeArea` | `options.${number}.addressData.address.locality` | `options.${number}.method`, 4> & {
|
|
7381
|
+
declare function getVerificationOptions(locationId: string, options?: GetVerificationOptions): Promise<NonNullablePaths<GetVerificationOptionsResponse, `options` | `options.${number}.phoneNumber` | `options.${number}.emailData.domain` | `options.${number}.emailData.user` | `options.${number}.emailData.userNameEditable` | `options.${number}.addressData.business` | `options.${number}.addressData.address.countryCode` | `options.${number}.addressData.address.postalCode` | `options.${number}.addressData.address.administrativeArea` | `options.${number}.addressData.address.locality` | `options.${number}.offlineVideoData.actionUrl` | `options.${number}.method`, 4> & {
|
|
6643
7382
|
__applicationErrorsType?: GetVerificationOptionsApplicationErrors;
|
|
6644
7383
|
}>;
|
|
6645
7384
|
interface GetVerificationOptions {
|
|
@@ -6664,6 +7403,10 @@ interface GetVerificationOptions {
|
|
|
6664
7403
|
* For `AUTO`, Google verifies the location itself. There's no PIN and no second
|
|
6665
7404
|
* call, and `verificationState` comes back as `VERIFIED` straight away.
|
|
6666
7405
|
*
|
|
7406
|
+
* `OFFLINE_VIDEO` can't be started here. The site owner records the video on
|
|
7407
|
+
* Google's page at `offlineVideoData.actionUrl`, returned by Get Verification
|
|
7408
|
+
* Options.
|
|
7409
|
+
*
|
|
6667
7410
|
* `VERIFIED` is narrower than it sounds. It means the location has business
|
|
6668
7411
|
* authority and has entered Google's quality review. It does not mean the profile
|
|
6669
7412
|
* is live and trusted: for that, check `hasVoiceOfMerchant` with Get Voice Of
|
|
@@ -7018,4 +7761,4 @@ interface SearchGoogleLocationsOptionsCriteriaOneOf {
|
|
|
7018
7761
|
location?: GoogleLocation;
|
|
7019
7762
|
}
|
|
7020
7763
|
|
|
7021
|
-
export { type Accessibility, type AccountInfo, type ActionEvent, type Activities, AddressFieldType, type AddressFieldTypeWithLiterals, type AddressSchema, type AddressVerificationData, AmenityException, type AmenityExceptionWithLiterals, type ApplicationError, type AttributeMetadata, type AttributeValueMetadata, type AttributeValueMetadataValueOneOf, AttributeValueType, type AttributeValueTypeWithLiterals, BreeamCertification, type BreeamCertificationWithLiterals, type BulkActionMetadata, type BulkCreateLocationResult, type BulkCreateLocationsApplicationErrors, type BulkCreateLocationsOptions, type BulkCreateLocationsRequest, type BulkCreateLocationsResponse, type BulkDeleteLocationResult, type BulkDeleteLocationsRequest, type BulkDeleteLocationsResponse, type Business, type BusinessHours, BusinessType, type BusinessTypeWithLiterals, type CalendarMonth, type Category, type CategoryMetadata, type CategoryRegion, CategoryView, type CategoryViewWithLiterals, type CommonQueryWithEntityContext, type CompleteVerificationApplicationErrors, type CompleteVerificationOptions, type CompleteVerificationRequest, type CompleteVerificationResponse, type Connectivity, type CreateGoogleLocationApplicationErrors, type CreateGoogleLocationOptions, type CreateGoogleLocationRequest, type CreateGoogleLocationResponse, type CreateLocationApplicationErrors, type CreateLocationRequest, type CreateLocationResponse, type CreateMediaApplicationErrors, type CreateMediaOptions, type CreateMediaRequest, type CreateMediaResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DailyMetric, type DailyMetricValue, type DailyMetricWithLiterals, DayOfWeek, type DayOfWeekWithLiterals, type DeleteGoogleLocationApplicationErrors, type DeleteGoogleLocationRequest, type DeleteGoogleLocationResponse, type DeleteLocationRequest, type DeleteLocationResponse, type DeleteMediaApplicationErrors, type DeleteMediaIdentifiers, type DeleteMediaRequest, type DeleteMediaResponse, type DeleteReviewReplyApplicationErrors, type DeleteReviewReplyIdentifiers, type DeleteReviewReplyRequest, type DeleteReviewReplyResponse, type DomainEvent, type DomainEventBodyOneOf, EcoCertificate, type EcoCertificateWithLiterals, type EcoCertification, type EmailVerificationData, type Empty, type EnergyEfficiency, type EnhancedCleaning, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstablishmentSuggestion, type Families, type FieldViolation, type FoodAndDrink, type FoodMenuResult, type GBPLocation, type GBPLocationQuery, type GBPLocationQuerySpec, type GbpAccount, type GetAddressSchemaByCountryCodeApplicationErrors, type GetAddressSchemaByCountryCodeOptions, type GetAddressSchemaByCountryCodeRequest, type GetAddressSchemaByCountryCodeResponse, type GetGBPLocationRequest, type GetGBPLocationResponse, type GetGoogleLocationRequest, type GetGoogleLocationResponse, type GetLocationAdminsRequest, type GetLocationAdminsResponse, type GetLocationAttributesApplicationErrors, type GetLocationAttributesRequest, type GetLocationAttributesResponse, type GetLocationInsightsOptions, type GetLocationInsightsRequest, type GetLocationInsightsResponse, type GetLocationLodgingApplicationErrors, type GetLocationLodgingRequest, type GetLocationLodgingResponse, type GetNotificationSettingApplicationErrors, type GetNotificationSettingRequest, type GetNotificationSettingResponse, type GetVerificationOptions, type GetVerificationOptionsApplicationErrors, type GetVerificationOptionsRequest, type GetVerificationOptionsResponse, type GetVoiceOfMerchantRequest, type GetVoiceOfMerchantResponse, type GoogleApiCallFailedError, type GoogleLocation, type GoogleLocationMatch, type GoogleLocationValidationError, type GuestUnitFeatures, type GuestUnitType, type HealthAndSafety, type Housekeeping, type IdentificationData, type IdentificationDataIdOneOf, type IncreasedFoodSafety, type InsightsMetric, type InsightsTimeRange, type InvalidUpdateMaskError, type InvalidValueJsonError, type InviteAdminToLocationOptions, type InviteAdminToLocationRequest, type InviteAdminToLocationResponse, type ItemMetadata, type LanguageSpoken, type LatLng, LeedCertification, type LeedCertificationWithLiterals, type ListAttributeMetadataApplicationErrors, type ListAttributeMetadataOptions, type ListAttributeMetadataOptionsLookupOneOf, type ListAttributeMetadataRequest, type ListAttributeMetadataRequestLookupOneOf, type ListAttributeMetadataResponse, type ListCategoriesApplicationErrors, type ListCategoriesOptions, type ListCategoriesRequest, type ListCategoriesResponse, type ListGbpAccountsApplicationErrors, type ListGbpAccountsOptions, type ListGbpAccountsRequest, type ListGbpAccountsResponse, type ListMediaApplicationErrors, type ListMediaOptions, type ListMediaRequest, type ListMediaResponse, type ListReviewsApplicationErrors, type ListReviewsOptions, type ListReviewsRequest, type ListReviewsResponse, type ListSearchKeywordImpressionsApplicationErrors, type ListSearchKeywordImpressionsOptions, type ListSearchKeywordImpressionsRequest, type ListSearchKeywordImpressionsResponse, type ListUnimportedLocationsApplicationErrors, type ListUnimportedLocationsOptions, type ListUnimportedLocationsRequest, type ListUnimportedLocationsResponse, type LivingArea, type LivingAreaAccessibility, type LivingAreaEating, type LivingAreaFeatures, type LivingAreaLayout, type LivingAreaSleeping, type LocationAdmin, type LocationAttribute, type LocationDbPersistFailedError, type LocationNotDeletableViaApiError, type LocationWithGoogle, type LocationWithGoogleGoogleResultOneOf, type LocationWithGoogleVoiceOfMerchantResultOneOf, type LocationsQueryBuilder, type LocationsQueryResult, type Lodging, type LodgingMetadata, type LodgingTimeOfDay, MatchStatus, type MatchStatusWithLiterals, MediaCategory, type MediaCategoryWithLiterals, MediaFormat, type MediaFormatWithLiterals, type MediaItem, type MediaItemAttribution, type MessageEnvelope, type Metadata, type MinimizedContact, type MonthlyRange, type MoreHoursType, type NotificationSetting, NotificationType, type NotificationTypeWithLiterals, type OpenInfo, type Parking, type PaymentOptions, type PersonalProtection, type Pets, type PhysicalDistancing, type PlaceInfo, type Policies, type Pools, type PostalAddress, type Profile, type Property, type PutReviewReplyApplicationErrors, type PutReviewReplyIdentifiers, type PutReviewReplyRequest, type PutReviewReplyResponse, type QueryGBPLocationsRequest, type QueryGBPLocationsResponse, type QueryGoogleLocationsOptions, type QueryGoogleLocationsRequest, type QueryGoogleLocationsResponse, RecommendationReason, type RecommendationReasonWithLiterals, type RegionSuggestion, type RestoreInfo, type Review, type ReviewMetrics, type ReviewReply, ReviewSortOrder, type ReviewSortOrderWithLiterals, Role, type RoleWithLiterals, type SearchGoogleLocationsApplicationErrors, type SearchGoogleLocationsOptions, type SearchGoogleLocationsOptionsCriteriaOneOf, type SearchGoogleLocationsRequest, type SearchGoogleLocationsRequestCriteriaOneOf, type SearchGoogleLocationsResponse, type SearchKeywordImpression, type SearchKeywordImpressionImpressionsOneOf, type ServiceArea, type ServiceType, type Services, SortOrder, type SortOrderWithLiterals, type Sorting, type StartVerificationApplicationErrors, type StartVerificationOptions, type StartVerificationRequest, type StartVerificationResponse, State, type StateWithLiterals, Status, type StatusWithLiterals, type SuggestEstablishmentsApplicationErrors, type SuggestEstablishmentsOptions, type SuggestEstablishmentsRequest, type SuggestEstablishmentsResponse, type SuggestRegionsApplicationErrors, type SuggestRegionsOptions, type SuggestRegionsRequest, type SuggestRegionsResponse, type Sustainability, type SustainabilityCertifications, type SustainableSourcing, type TimeOfDay, type Transportation, type UnimportedLocation, UnitTier, type UnitTierWithLiterals, type UpdateGoogleLocationApplicationErrors, type UpdateGoogleLocationOptions, type UpdateGoogleLocationRequest, type UpdateGoogleLocationResponse, type UpdateLocation, type UpdateLocationAttributesApplicationErrors, type UpdateLocationAttributesRequest, type UpdateLocationAttributesResponse, type UpdateLocationFoodMenusApplicationErrors, type UpdateLocationFoodMenusOptions, type UpdateLocationFoodMenusRequest, type UpdateLocationFoodMenusResponse, type UpdateLocationLodgingApplicationErrors, type UpdateLocationLodgingOptions, type UpdateLocationLodgingRequest, type UpdateLocationLodgingResponse, type UpdateLocationRequest, type UpdateLocationResponse, type UpdateNotificationSetting, type UpdateNotificationSettingApplicationErrors, type UpdateNotificationSettingOptions, type UpdateNotificationSettingRequest, type UpdateNotificationSettingResponse, VerificationMethod, type VerificationMethodWithLiterals, type VerificationOption, type VerificationOptionDataOneOf, VerificationState, type VerificationStateWithLiterals, type ViewsFromUnit, type Violation, type VoiceOfMerchantState, type WasteReduction, type WaterConservation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type Wellness, bulkCreateLocations, bulkDeleteLocations, completeVerification, createGoogleLocation, createLocation, createMedia, deleteGoogleLocation, deleteLocation, deleteMedia, deleteReviewReply, getAddressSchemaByCountryCode, getGbpLocation, getGoogleLocation, getLocationAdmins, getLocationAttributes, getLocationInsights, getLocationLodging, getNotificationSetting, getVerificationOptions, getVoiceOfMerchant, inviteAdminToLocation, listAttributeMetadata, listCategories, listGbpAccounts, listMedia, listReviews, listSearchKeywordImpressions, listUnimportedLocations, putReviewReply, queryGbpLocations, queryGoogleLocations, searchGoogleLocations, startVerification, suggestEstablishments, suggestRegions, typedQueryGbpLocations, updateGoogleLocation, updateLocation, updateLocationAttributes, updateLocationLodging, updateNotificationSetting, utils };
|
|
7764
|
+
export { type Accessibility, type AccountInfo, type ActionEvent, ActionType, type ActionTypeWithLiterals, type Activities, AddressFieldType, type AddressFieldTypeWithLiterals, type AddressSchema, type AddressVerificationData, AmenityException, type AmenityExceptionWithLiterals, type ApplicationError, type AttributeMetadata, type AttributeValueMetadata, type AttributeValueMetadataValueOneOf, AttributeValueType, type AttributeValueTypeWithLiterals, BreeamCertification, type BreeamCertificationWithLiterals, type BulkActionMetadata, type BulkCreateLocationResult, type BulkCreateLocationsApplicationErrors, type BulkCreateLocationsOptions, type BulkCreateLocationsRequest, type BulkCreateLocationsResponse, type BulkDeleteLocationResult, type BulkDeleteLocationsRequest, type BulkDeleteLocationsResponse, type Business, type BusinessHours, BusinessType, type BusinessTypeWithLiterals, type CalendarMonth, type CallToAction, type Category, type CategoryMetadata, type CategoryRegion, CategoryView, type CategoryViewWithLiterals, type CommonQueryWithEntityContext, type CompleteVerificationApplicationErrors, type CompleteVerificationOptions, type CompleteVerificationRequest, type CompleteVerificationResponse, type Connectivity, type CreateGoogleLocationApplicationErrors, type CreateGoogleLocationOptions, type CreateGoogleLocationRequest, type CreateGoogleLocationResponse, type CreateLocalPostApplicationErrors, type CreateLocalPostRequest, type CreateLocalPostResponse, type CreateLocationApplicationErrors, type CreateLocationRequest, type CreateLocationResponse, type CreateMediaApplicationErrors, type CreateMediaOptions, type CreateMediaRequest, type CreateMediaResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DailyMetric, type DailyMetricValue, type DailyMetricWithLiterals, DayOfWeek, type DayOfWeekWithLiterals, type DeleteGoogleLocationApplicationErrors, type DeleteGoogleLocationRequest, type DeleteGoogleLocationResponse, type DeleteLocalPostApplicationErrors, type DeleteLocalPostIdentifiers, type DeleteLocalPostRequest, type DeleteLocalPostResponse, type DeleteLocationRequest, type DeleteLocationResponse, type DeleteMediaApplicationErrors, type DeleteMediaIdentifiers, type DeleteMediaRequest, type DeleteMediaResponse, type DeleteReviewReplyApplicationErrors, type DeleteReviewReplyIdentifiers, type DeleteReviewReplyRequest, type DeleteReviewReplyResponse, type DomainEvent, type DomainEventBodyOneOf, EcoCertificate, type EcoCertificateWithLiterals, type EcoCertification, type EmailVerificationData, type Empty, type EnergyEfficiency, type EnhancedCleaning, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstablishmentSuggestion, type Families, type FieldViolation, type FoodAndDrink, type FoodMenuResult, type GBPLocation, type GBPLocationQuery, type GBPLocationQuerySpec, type GbpAccount, type GetAddressSchemaByCountryCodeApplicationErrors, type GetAddressSchemaByCountryCodeOptions, type GetAddressSchemaByCountryCodeRequest, type GetAddressSchemaByCountryCodeResponse, type GetGBPLocationRequest, type GetGBPLocationResponse, type GetGoogleLocationRequest, type GetGoogleLocationResponse, type GetLocalPostApplicationErrors, type GetLocalPostIdentifiers, type GetLocalPostRequest, type GetLocalPostResponse, type GetLocationAdminsRequest, type GetLocationAdminsResponse, type GetLocationAttributesApplicationErrors, type GetLocationAttributesRequest, type GetLocationAttributesResponse, type GetLocationInsightsOptions, type GetLocationInsightsRequest, type GetLocationInsightsResponse, type GetLocationLodgingApplicationErrors, type GetLocationLodgingRequest, type GetLocationLodgingResponse, type GetNotificationSettingApplicationErrors, type GetNotificationSettingRequest, type GetNotificationSettingResponse, type GetVerificationOptions, type GetVerificationOptionsApplicationErrors, type GetVerificationOptionsRequest, type GetVerificationOptionsResponse, type GetVoiceOfMerchantRequest, type GetVoiceOfMerchantResponse, type GoogleApiCallFailedError, type GoogleLocation, type GoogleLocationMatch, type GoogleLocationValidationError, type GuestUnitFeatures, type GuestUnitType, type HealthAndSafety, type Housekeeping, type IdentificationData, type IdentificationDataIdOneOf, type IncreasedFoodSafety, type InsightsMetric, type InsightsTimeRange, type InvalidUpdateMaskError, type InvalidValueJsonError, type InviteAdminToLocationOptions, type InviteAdminToLocationRequest, type InviteAdminToLocationResponse, type ItemMetadata, type LanguageSpoken, type LatLng, LeedCertification, type LeedCertificationWithLiterals, type ListAttributeMetadataApplicationErrors, type ListAttributeMetadataOptions, type ListAttributeMetadataOptionsLookupOneOf, type ListAttributeMetadataRequest, type ListAttributeMetadataRequestLookupOneOf, type ListAttributeMetadataResponse, type ListCategoriesApplicationErrors, type ListCategoriesOptions, type ListCategoriesRequest, type ListCategoriesResponse, type ListGbpAccountsApplicationErrors, type ListGbpAccountsOptions, type ListGbpAccountsRequest, type ListGbpAccountsResponse, type ListLocalPostsApplicationErrors, type ListLocalPostsOptions, type ListLocalPostsRequest, type ListLocalPostsResponse, type ListMediaApplicationErrors, type ListMediaOptions, type ListMediaRequest, type ListMediaResponse, type ListReviewsApplicationErrors, type ListReviewsOptions, type ListReviewsRequest, type ListReviewsResponse, type ListSearchKeywordImpressionsApplicationErrors, type ListSearchKeywordImpressionsOptions, type ListSearchKeywordImpressionsRequest, type ListSearchKeywordImpressionsResponse, type ListUnimportedLocationsApplicationErrors, type ListUnimportedLocationsOptions, type ListUnimportedLocationsRequest, type ListUnimportedLocationsResponse, type LivingArea, type LivingAreaAccessibility, type LivingAreaEating, type LivingAreaFeatures, type LivingAreaLayout, type LivingAreaSleeping, type LocalPost, type LocalPostDate, type LocalPostEvent, type LocalPostFieldError, type LocalPostInsights, type LocalPostMedia, LocalPostMetric, type LocalPostMetricValue, type LocalPostMetricWithLiterals, type LocalPostOffer, type LocalPostSchedule, LocalPostState, type LocalPostStateWithLiterals, type LocalPostTimeOfDay, LocalPostTopicType, type LocalPostTopicTypeWithLiterals, type LocationAdmin, type LocationAttribute, type LocationDbPersistFailedError, type LocationNotDeletableViaApiError, type LocationWithGoogle, type LocationWithGoogleGoogleResultOneOf, type LocationWithGoogleVoiceOfMerchantResultOneOf, type LocationsQueryBuilder, type LocationsQueryResult, type Lodging, type LodgingMetadata, type LodgingTimeOfDay, MatchStatus, type MatchStatusWithLiterals, MediaCategory, type MediaCategoryWithLiterals, MediaFormat, type MediaFormatWithLiterals, type MediaItem, type MediaItemAttribution, type MessageEnvelope, type Metadata, type MinimizedContact, type MonthlyRange, type MoreHoursType, type NotificationSetting, NotificationType, type NotificationTypeWithLiterals, type OfflineVideoVerificationData, type OpenInfo, type Parking, type PaymentOptions, type PersonalProtection, type Pets, type PhysicalDistancing, type PlaceInfo, type Policies, type Pools, type PostalAddress, type Profile, type Property, type PutReviewReplyApplicationErrors, type PutReviewReplyIdentifiers, type PutReviewReplyRequest, type PutReviewReplyResponse, type QueryGBPLocationsRequest, type QueryGBPLocationsResponse, type QueryGoogleLocationsOptions, type QueryGoogleLocationsRequest, type QueryGoogleLocationsResponse, RecommendationReason, type RecommendationReasonWithLiterals, type RegionSuggestion, type ReportLocalPostInsightsApplicationErrors, type ReportLocalPostInsightsOptions, type ReportLocalPostInsightsRequest, type ReportLocalPostInsightsResponse, type RestoreInfo, type Review, type ReviewMetrics, type ReviewReply, ReviewSortOrder, type ReviewSortOrderWithLiterals, Role, type RoleWithLiterals, type SearchGoogleLocationsApplicationErrors, type SearchGoogleLocationsOptions, type SearchGoogleLocationsOptionsCriteriaOneOf, type SearchGoogleLocationsRequest, type SearchGoogleLocationsRequestCriteriaOneOf, type SearchGoogleLocationsResponse, type SearchKeywordImpression, type SearchKeywordImpressionImpressionsOneOf, type ServiceArea, type ServiceType, type Services, SortOrder, type SortOrderWithLiterals, type Sorting, type StartVerificationApplicationErrors, type StartVerificationOptions, type StartVerificationRequest, type StartVerificationResponse, State, type StateWithLiterals, Status, type StatusWithLiterals, type SuggestEstablishmentsApplicationErrors, type SuggestEstablishmentsOptions, type SuggestEstablishmentsRequest, type SuggestEstablishmentsResponse, type SuggestRegionsApplicationErrors, type SuggestRegionsOptions, type SuggestRegionsRequest, type SuggestRegionsResponse, type Sustainability, type SustainabilityCertifications, type SustainableSourcing, type TimeOfDay, type Transportation, type UnimportedLocation, UnitTier, type UnitTierWithLiterals, type UpdateGoogleLocationApplicationErrors, type UpdateGoogleLocationOptions, type UpdateGoogleLocationRequest, type UpdateGoogleLocationResponse, type UpdateLocalPostApplicationErrors, type UpdateLocalPostIdentifiers, type UpdateLocalPostOptions, type UpdateLocalPostRequest, type UpdateLocalPostResponse, type UpdateLocation, type UpdateLocationAttributesApplicationErrors, type UpdateLocationAttributesRequest, type UpdateLocationAttributesResponse, type UpdateLocationFoodMenusApplicationErrors, type UpdateLocationFoodMenusOptions, type UpdateLocationFoodMenusRequest, type UpdateLocationFoodMenusResponse, type UpdateLocationLodgingApplicationErrors, type UpdateLocationLodgingOptions, type UpdateLocationLodgingRequest, type UpdateLocationLodgingResponse, type UpdateLocationRequest, type UpdateLocationResponse, type UpdateNotificationSetting, type UpdateNotificationSettingApplicationErrors, type UpdateNotificationSettingOptions, type UpdateNotificationSettingRequest, type UpdateNotificationSettingResponse, VerificationMethod, type VerificationMethodWithLiterals, type VerificationOption, type VerificationOptionDataOneOf, VerificationState, type VerificationStateWithLiterals, type ViewsFromUnit, type Violation, type VoiceOfMerchantState, type WasteReduction, type WaterConservation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type Wellness, bulkCreateLocations, bulkDeleteLocations, completeVerification, createGoogleLocation, createLocalPost, createLocation, createMedia, deleteGoogleLocation, deleteLocalPost, deleteLocation, deleteMedia, deleteReviewReply, getAddressSchemaByCountryCode, getGbpLocation, getGoogleLocation, getLocalPost, getLocationAdmins, getLocationAttributes, getLocationInsights, getLocationLodging, getNotificationSetting, getVerificationOptions, getVoiceOfMerchant, inviteAdminToLocation, listAttributeMetadata, listCategories, listGbpAccounts, listLocalPosts, listMedia, listReviews, listSearchKeywordImpressions, listUnimportedLocations, putReviewReply, queryGbpLocations, queryGoogleLocations, reportLocalPostInsights, searchGoogleLocations, startVerification, suggestEstablishments, suggestRegions, typedQueryGbpLocations, updateGoogleLocation, updateLocalPost, updateLocation, updateLocationAttributes, updateLocationLodging, updateNotificationSetting, utils };
|