@maxim_mazurok/gapi.client.merchantapi-datasources_v1 0.0.20260228 → 0.0.20260303
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 +5 -5
- 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=datasources_v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260303
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -143,7 +143,7 @@ declare namespace gapi.client {
|
|
|
143
143
|
interface LocalInventoryDataSource {
|
|
144
144
|
/** Required. Immutable. The two-letter ISO 639-1 language of the items to which the local inventory is provided. */
|
|
145
145
|
contentLanguage?: string;
|
|
146
|
-
/** Required. Immutable. The feed label of the offers to which the local inventory is provided. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
|
|
146
|
+
/** Required. Immutable. The feed label of the offers to which the local inventory is provided. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). */
|
|
147
147
|
feedLabel?: string;
|
|
148
148
|
}
|
|
149
149
|
interface MerchantReviewDataSource {}
|
|
@@ -156,7 +156,7 @@ declare namespace gapi.client {
|
|
|
156
156
|
defaultRule?: DefaultRule;
|
|
157
157
|
/** Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination. */
|
|
158
158
|
destinations?: Destination[];
|
|
159
|
-
/** Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
|
|
159
|
+
/** Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). For more information about feed label, see [Create a primary data source for products](https://developers.google.com/merchant/api/guides/data-sources/api-sources#create-primary-data-source). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction. */
|
|
160
160
|
feedLabel?: string;
|
|
161
161
|
/** Optional. Immutable. Determines whether the products of this data source are **only** targeting local destinations. Legacy local products are prefixed with `local~` in the product resource ID. For example, `accounts/123/products/local~en~US~sku123`. */
|
|
162
162
|
legacyLocal?: boolean;
|
|
@@ -201,13 +201,13 @@ declare namespace gapi.client {
|
|
|
201
201
|
interface RegionalInventoryDataSource {
|
|
202
202
|
/** Required. Immutable. The two-letter ISO 639-1 language of the items to which the regional inventory is provided. */
|
|
203
203
|
contentLanguage?: string;
|
|
204
|
-
/** Required. Immutable. The feed label of the offers to which the regional inventory is provided. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
|
|
204
|
+
/** Required. Immutable. The feed label of the offers to which the regional inventory is provided. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). */
|
|
205
205
|
feedLabel?: string;
|
|
206
206
|
}
|
|
207
207
|
interface SupplementalProductDataSource {
|
|
208
208
|
/** Optional. Immutable. The two-letter ISO 639-1 language of the items in the data source. `feedLabel` and `contentLanguage` must be either both set or unset. The fields can only be unset for data sources without file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept produts without that restriction. */
|
|
209
209
|
contentLanguage?: string;
|
|
210
|
-
/** Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
|
|
210
|
+
/** Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. The fields must be unset for data sources without file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept produts without that restriction. */
|
|
211
211
|
feedLabel?: string;
|
|
212
212
|
/** Output only. The (unordered and deduplicated) list of all primary data sources linked to this data source in either default or custom rules. Supplemental data source cannot be deleted before all links are removed. */
|
|
213
213
|
referencingPrimaryDataSources?: DataSourceReference[];
|