@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20251118 → 0.0.20251120
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/index.d.ts +19 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://merchantapi.googleapis.com/$discovery/rest?version=accounts_v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251120
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -454,6 +454,12 @@ declare namespace gapi.client {
|
|
|
454
454
|
/** If `allow_availability_updates` is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set `allow_availability_updates`. */
|
|
455
455
|
allowStrictAvailabilityUpdates?: boolean;
|
|
456
456
|
}
|
|
457
|
+
interface LatLng {
|
|
458
|
+
/** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
|
|
459
|
+
latitude?: number;
|
|
460
|
+
/** The longitude in degrees. It must be in the range [-180.0, +180.0]. */
|
|
461
|
+
longitude?: number;
|
|
462
|
+
}
|
|
457
463
|
interface LfpLink {
|
|
458
464
|
/** Required. The account ID by which this merchant is known to the LFP provider. */
|
|
459
465
|
externalAccountId?: string;
|
|
@@ -746,6 +752,16 @@ declare namespace gapi.client {
|
|
|
746
752
|
/** Required. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`). */
|
|
747
753
|
provider?: string;
|
|
748
754
|
}
|
|
755
|
+
interface RadiusArea {
|
|
756
|
+
/** Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format. */
|
|
757
|
+
latLng?: LatLng;
|
|
758
|
+
/** Required. The radius distance of the area. */
|
|
759
|
+
radius?: number;
|
|
760
|
+
/** Optional. The unit of the radius. */
|
|
761
|
+
radiusUnits?: string;
|
|
762
|
+
/** Required. [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) or the country the radius area applies to. */
|
|
763
|
+
regionCode?: string;
|
|
764
|
+
}
|
|
749
765
|
interface RateGroup {
|
|
750
766
|
/** Required. A list of [shipping labels](https://support.google.com/merchants/answer/6324504) defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. */
|
|
751
767
|
applicableShippingLabels?: string[];
|
|
@@ -769,6 +785,8 @@ declare namespace gapi.client {
|
|
|
769
785
|
name?: string;
|
|
770
786
|
/** Optional. A list of postal codes that defines the region area. */
|
|
771
787
|
postalCodeArea?: PostalCodeArea;
|
|
788
|
+
/** Optional. A radius area that defines the region area. */
|
|
789
|
+
radiusArea?: RadiusArea;
|
|
772
790
|
/** Output only. Indicates if the region is eligible for use in the Regional Inventory configuration. */
|
|
773
791
|
regionalInventoryEligible?: boolean;
|
|
774
792
|
/** Output only. Indicates if the region is eligible for use in the Shipping Services configuration. */
|