@maxim_mazurok/gapi.client.merchantapi-products_v1beta 0.0.20250710 → 0.0.20250715
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 +7 -7
- 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=products_v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250715
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -31,7 +31,7 @@ declare namespace gapi.client {
|
|
|
31
31
|
interface Attributes {
|
|
32
32
|
/** Additional URLs of images of the item. */
|
|
33
33
|
additionalImageLinks?: string[];
|
|
34
|
-
/** Used to group items in an arbitrary way. Only for CPA
|
|
34
|
+
/** Used to group items in an arbitrary way. Only for CPA, discouraged otherwise. For more information, see [Display ads attribute](https://support.google.com/merchants/answer/6069387). */
|
|
35
35
|
adsGrouping?: string;
|
|
36
36
|
/** Similar to ads_grouping, but only works on CPC. */
|
|
37
37
|
adsLabels?: string[];
|
|
@@ -41,7 +41,7 @@ declare namespace gapi.client {
|
|
|
41
41
|
adult?: boolean;
|
|
42
42
|
/** Target [age group](https://support.google.com/merchants/answer/6324463) of the item. */
|
|
43
43
|
ageGroup?: string;
|
|
44
|
-
/** A safeguard in the [automated discounts] (https://support.google.com/merchants/answer/10295759) and "
|
|
44
|
+
/** A safeguard in the [automated discounts] (https://support.google.com/merchants/answer/10295759) and ["dynamic promotions"](https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on business offers do not fall below this value, thereby preserving the offer's value and profitability. */
|
|
45
45
|
autoPricingMinPrice?: Price;
|
|
46
46
|
/** [Availability](https://support.google.com/merchants/answer/6324448) status of the item. For example, "in_stock" or "out_of_stock". */
|
|
47
47
|
availability?: string;
|
|
@@ -101,7 +101,7 @@ declare namespace gapi.client {
|
|
|
101
101
|
googleProductCategory?: string;
|
|
102
102
|
/** Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item. You can provide up to 10 GTINs. Deprecated: Use `gtins` instead. */
|
|
103
103
|
gtin?: string[];
|
|
104
|
-
/** Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item. You can provide up to 10 GTINs. */
|
|
104
|
+
/** A list of Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item. You can provide up to 10 GTINs. */
|
|
105
105
|
gtins?: string[];
|
|
106
106
|
/** Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided. */
|
|
107
107
|
identifierExists?: boolean;
|
|
@@ -410,7 +410,7 @@ declare namespace gapi.client {
|
|
|
410
410
|
contentLanguage?: string;
|
|
411
411
|
/** Optional. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ "name": "size type", "value": "regular" }`). This is useful for submitting attributes not explicitly exposed by the API. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per product, with total size of 102.4kB. Underscores in custom attribute names are replaced by spaces upon insertion. */
|
|
412
412
|
customAttributes?: CustomAttribute[];
|
|
413
|
-
/** Required. Immutable. The label that lets you categorize and identify your products. The maximum allowed characters are 20, and the supported characters are `A-Z`, `0-9`, hyphen, and underscore. The feed label must not include any spaces. For more information, see [Using feed labels](//support.google.com/merchants/answer/14994087). */
|
|
413
|
+
/** Required. Immutable. The feed label that lets you categorize and identify your products. The maximum allowed characters are 20, and the supported characters are `A-Z`, `0-9`, hyphen, and underscore. The feed label must not include any spaces. For more information, see [Using feed labels](//support.google.com/merchants/answer/14994087). */
|
|
414
414
|
feedLabel?: string;
|
|
415
415
|
/** Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` where the last section `productinput` consists of 4 parts: `channel~content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/online~en~US~sku123` */
|
|
416
416
|
name?: string;
|
|
@@ -579,7 +579,7 @@ declare namespace gapi.client {
|
|
|
579
579
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
580
580
|
uploadType?: string;
|
|
581
581
|
}): Request<{}>;
|
|
582
|
-
/** [Uploads a product input to your Merchant Center account](/merchant/api/guides/products/overview#upload-product-input). You must have a products data source to be able to insert a product. The unique identifier of the data source is passed as a query parameter in the request URL. If
|
|
582
|
+
/** [Uploads a product input to your Merchant Center account](/merchant/api/guides/products/overview#upload-product-input). You must have a products [data source](/merchant/api/guides/data-sources/overview) to be able to insert a product. The unique identifier of the data source is passed as a query parameter in the request URL. If a product input with the same contentLanguage, offerId, and dataSource already exists, then the product input inserted by this method replaces that entry. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved. */
|
|
583
583
|
insert(request: {
|
|
584
584
|
/** V1 error format. */
|
|
585
585
|
'$.xgafv'?: string;
|
|
@@ -752,7 +752,7 @@ declare namespace gapi.client {
|
|
|
752
752
|
key?: string;
|
|
753
753
|
/** OAuth 2.0 token for the current user. */
|
|
754
754
|
oauth_token?: string;
|
|
755
|
-
/** The maximum number of products to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the
|
|
755
|
+
/** The maximum number of products to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the default page size of 25 products will be returned. */
|
|
756
756
|
pageSize?: number;
|
|
757
757
|
/** A page token, received from a previous `ListProducts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProducts` must match the call that provided the page token. */
|
|
758
758
|
pageToken?: string;
|