@maxim_mazurok/gapi.client.merchantapi-products_v1beta 0.0.20250613 → 0.0.20250621
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 -6
- package/package.json +1 -1
- package/readme.md +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Type definitions for non-npm package Merchant API products_v1beta 0.0 */
|
|
2
|
-
// Project: https://developers.
|
|
2
|
+
// Project: https://developers.google.com/merchant/api
|
|
3
3
|
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
@@ -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: 20250621
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -129,6 +129,8 @@ declare namespace gapi.client {
|
|
|
129
129
|
maxEnergyEfficiencyClass?: string;
|
|
130
130
|
/** Maximal product handling time (in business days). */
|
|
131
131
|
maxHandlingTime?: string;
|
|
132
|
+
/** Maximum retail price (MRP) of the item. Applicable to India only. */
|
|
133
|
+
maximumRetailPrice?: Price;
|
|
132
134
|
/** The energy efficiency class as defined in EU directive 2010/30/EU. */
|
|
133
135
|
minEnergyEfficiencyClass?: string;
|
|
134
136
|
/** Minimal product handling time (in business days). */
|
|
@@ -438,7 +440,7 @@ declare namespace gapi.client {
|
|
|
438
440
|
changes?: ProductChange[];
|
|
439
441
|
/** The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications. */
|
|
440
442
|
eventTime?: string;
|
|
441
|
-
/** Optional. The product expiration time. This field will not
|
|
443
|
+
/** Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event. */
|
|
442
444
|
expirationTime?: string;
|
|
443
445
|
/** The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}` */
|
|
444
446
|
managingAccount?: string;
|
|
@@ -575,7 +577,7 @@ declare namespace gapi.client {
|
|
|
575
577
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
576
578
|
uploadType?: string;
|
|
577
579
|
}): Request<{}>;
|
|
578
|
-
/** Uploads a product input to your Merchant Center account. If an input with the same contentLanguage, offerId, and dataSource already exists, 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. */
|
|
580
|
+
/** [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 an input with the same contentLanguage, offerId, and dataSource already exists, 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. */
|
|
579
581
|
insert(request: {
|
|
580
582
|
/** V1 error format. */
|
|
581
583
|
'$.xgafv'?: string;
|
|
@@ -585,7 +587,7 @@ declare namespace gapi.client {
|
|
|
585
587
|
alt?: string;
|
|
586
588
|
/** JSONP */
|
|
587
589
|
callback?: string;
|
|
588
|
-
/** Required. The primary or supplemental product data source name. If the product already exists and data source provided is different, then the product will be moved to a new data source. Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`. For example, `accounts/123456/dataSources/104628`. */
|
|
590
|
+
/** Required. The primary or supplemental product data source name. If the product already exists and data source provided is different, then the product will be moved to a new data source. For more information, see [Overview of Data sources sub-API](/merchant/api/guides/data-sources/overview). Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`. For example, `accounts/123456/dataSources/104628`. */
|
|
589
591
|
dataSource?: string;
|
|
590
592
|
/** Selector specifying which fields to include in a partial response. */
|
|
591
593
|
fields?: string;
|
|
@@ -616,7 +618,7 @@ declare namespace gapi.client {
|
|
|
616
618
|
alt?: string;
|
|
617
619
|
/** JSONP */
|
|
618
620
|
callback?: string;
|
|
619
|
-
/** Required. The primary or supplemental product data source name. If the product already exists and data source provided is different, then the product will be moved to a new data source. Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`. For example, `accounts/123456/dataSources/104628`. */
|
|
621
|
+
/** Required. The primary or supplemental product data source name. If the product already exists and data source provided is different, then the product will be moved to a new data source. For more information, see [Overview of Data sources sub-API](/merchant/api/guides/data-sources/overview). Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`. For example, `accounts/123456/dataSources/104628`. */
|
|
620
622
|
dataSource?: string;
|
|
621
623
|
/** Selector specifying which fields to include in a partial response. */
|
|
622
624
|
fields?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# TypeScript typings for Merchant API products_v1beta
|
|
2
2
|
|
|
3
3
|
Programmatically manage your Merchant Center Accounts.
|
|
4
|
-
For detailed description please check [documentation](https://developers.
|
|
4
|
+
For detailed description please check [documentation](https://developers.google.com/merchant/api).
|
|
5
5
|
|
|
6
6
|
## Installing
|
|
7
7
|
|