@maxim_mazurok/gapi.client.merchantapi-datasources_v1beta 0.0.20241004 → 0.0.20241016
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 +8 -2
- 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_v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241016
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -42,10 +42,14 @@ declare namespace gapi.client {
|
|
|
42
42
|
input?: string;
|
|
43
43
|
/** Required. The [local inventory](https://support.google.com/merchants/answer/7023001) data source. */
|
|
44
44
|
localInventoryDataSource?: LocalInventoryDataSource;
|
|
45
|
+
/** Required. The [merchant review](https://support.google.com/merchants/answer/7045996) data source. */
|
|
46
|
+
merchantReviewDataSource?: any;
|
|
45
47
|
/** Identifier. The name of the data source. Format: `{datasource.name=accounts/{account}/dataSources/{datasource}}` */
|
|
46
48
|
name?: string;
|
|
47
49
|
/** Required. The [primary data source](https://support.google.com/merchants/answer/7439058) for local and online products. */
|
|
48
50
|
primaryProductDataSource?: PrimaryProductDataSource;
|
|
51
|
+
/** Required. The [product review](https://support.google.com/merchants/answer/7045996) data source. */
|
|
52
|
+
productReviewDataSource?: any;
|
|
49
53
|
/** Required. The [promotion](https://support.google.com/merchants/answer/2906014) data source. */
|
|
50
54
|
promotionDataSource?: PromotionDataSource;
|
|
51
55
|
/** Required. The [regional inventory](https://support.google.com/merchants/answer/7439058) data source. */
|
|
@@ -139,6 +143,7 @@ declare namespace gapi.client {
|
|
|
139
143
|
/** 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 (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). */
|
|
140
144
|
feedLabel?: string;
|
|
141
145
|
}
|
|
146
|
+
interface MerchantReviewDataSource {}
|
|
142
147
|
interface PrimaryProductDataSource {
|
|
143
148
|
/** Required. Immutable. Specifies the type of data source channel. */
|
|
144
149
|
channel?: string;
|
|
@@ -161,6 +166,7 @@ declare namespace gapi.client {
|
|
|
161
166
|
/** Reporting contexts that have the change (if applicable) */
|
|
162
167
|
reportingContext?: string;
|
|
163
168
|
}
|
|
169
|
+
interface ProductReviewDataSource {}
|
|
164
170
|
interface ProductStatusChangeMessage {
|
|
165
171
|
/** The target account that owns the entity that changed. Format : `accounts/{merchant_id}` */
|
|
166
172
|
account?: string;
|
|
@@ -192,7 +198,7 @@ declare namespace gapi.client {
|
|
|
192
198
|
interface SupplementalProductDataSource {
|
|
193
199
|
/** 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. */
|
|
194
200
|
contentLanguage?: string;
|
|
195
|
-
/** 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 (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `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 produts without that restriction. */
|
|
201
|
+
/** 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 (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `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. */
|
|
196
202
|
feedLabel?: string;
|
|
197
203
|
/** 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. */
|
|
198
204
|
referencingPrimaryDataSources?: DataSourceReference[];
|
package/package.json
CHANGED