@maxim_mazurok/gapi.client.merchantapi-accounts_v1 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_v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251120
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -476,6 +476,12 @@ declare namespace gapi.client {
|
|
|
476
476
|
/** 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`. */
|
|
477
477
|
allowStrictAvailabilityUpdates?: boolean;
|
|
478
478
|
}
|
|
479
|
+
interface LatLng {
|
|
480
|
+
/** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
|
|
481
|
+
latitude?: number;
|
|
482
|
+
/** The longitude in degrees. It must be in the range [-180.0, +180.0]. */
|
|
483
|
+
longitude?: number;
|
|
484
|
+
}
|
|
479
485
|
interface LfpLink {
|
|
480
486
|
/** Required. The account ID by which this merchant is known to the LFP provider. */
|
|
481
487
|
externalAccountId?: string;
|
|
@@ -768,6 +774,16 @@ declare namespace gapi.client {
|
|
|
768
774
|
/** 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`). */
|
|
769
775
|
provider?: string;
|
|
770
776
|
}
|
|
777
|
+
interface RadiusArea {
|
|
778
|
+
/** Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format. */
|
|
779
|
+
latLng?: LatLng;
|
|
780
|
+
/** Required. The radius distance of the area. */
|
|
781
|
+
radius?: number;
|
|
782
|
+
/** Optional. The unit of the radius. */
|
|
783
|
+
radiusUnits?: string;
|
|
784
|
+
/** Required. [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) or the country the radius area applies to. */
|
|
785
|
+
regionCode?: string;
|
|
786
|
+
}
|
|
771
787
|
interface RateGroup {
|
|
772
788
|
/** 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. */
|
|
773
789
|
applicableShippingLabels?: string[];
|
|
@@ -791,6 +807,8 @@ declare namespace gapi.client {
|
|
|
791
807
|
name?: string;
|
|
792
808
|
/** Optional. A list of postal codes that defines the region area. */
|
|
793
809
|
postalCodeArea?: PostalCodeArea;
|
|
810
|
+
/** Optional. A radius area that defines the region area. */
|
|
811
|
+
radiusArea?: RadiusArea;
|
|
794
812
|
/** Output only. Indicates if the region is eligible for use in the Regional Inventory configuration. */
|
|
795
813
|
regionalInventoryEligible?: boolean;
|
|
796
814
|
/** Output only. Indicates if the region is eligible for use in the Shipping Services configuration. */
|