@googleapis/merchantapi 4.1.0 → 6.0.1
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/CHANGELOG.md +34 -0
- package/accounts_v1beta.ts +1693 -565
- package/build/accounts_v1beta.d.ts +535 -168
- package/build/accounts_v1beta.js +309 -30
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +28 -25
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +19 -19
- package/build/datasources_v1beta.js.map +1 -1
- package/build/index.d.ts +11 -1
- package/build/index.js +7 -1
- package/build/index.js.map +1 -1
- package/build/inventories_v1beta.d.ts +14 -14
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +661 -0
- package/build/issueresolution_v1beta.js +148 -0
- package/build/issueresolution_v1beta.js.map +1 -0
- package/build/lfp_v1beta.d.ts +134 -13
- package/build/lfp_v1beta.js +39 -0
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +11 -11
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1beta.d.ts +385 -0
- package/build/ordertracking_v1beta.js +91 -0
- package/build/ordertracking_v1beta.js.map +1 -0
- package/build/products_v1beta.d.ts +45 -24
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +7 -7
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +3 -3
- package/build/reports_v1beta.d.ts +4 -4
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +17 -17
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +50 -32
- package/datasources_v1beta.ts +45 -27
- package/index.ts +24 -1
- package/inventories_v1beta.ts +32 -23
- package/issueresolution_v1beta.ts +962 -0
- package/lfp_v1beta.ts +241 -20
- package/notifications_v1beta.ts +27 -20
- package/ordertracking_v1beta.ts +525 -0
- package/package.json +2 -2
- package/products_v1beta.ts +63 -30
- package/promotions_v1beta.ts +17 -11
- package/quota_v1beta.ts +5 -5
- package/reports_v1beta.ts +8 -5
- package/reviews_v1beta.ts +45 -27
package/products_v1beta.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -501,6 +501,23 @@ export namespace merchantapi_products_v1beta {
|
|
|
501
501
|
*/
|
|
502
502
|
virtualModelLink?: string | null;
|
|
503
503
|
}
|
|
504
|
+
/**
|
|
505
|
+
* Information regarding Automated Discounts.
|
|
506
|
+
*/
|
|
507
|
+
export interface Schema$AutomatedDiscounts {
|
|
508
|
+
/**
|
|
509
|
+
* The current sale price for products with a price optimized using Google Automated Discounts (GAD). Absent if the information about the GAD_price of the product is not available.
|
|
510
|
+
*/
|
|
511
|
+
gadPrice?: Schema$Price;
|
|
512
|
+
/**
|
|
513
|
+
* The price prior to the application of the first price reduction. Absent if the information about the prior price of the product is not available.
|
|
514
|
+
*/
|
|
515
|
+
priorPrice?: Schema$Price;
|
|
516
|
+
/**
|
|
517
|
+
* The price prior to the application of consecutive price reductions. Absent if the information about the prior price of the product is not available.
|
|
518
|
+
*/
|
|
519
|
+
priorPriceProgressive?: Schema$Price;
|
|
520
|
+
}
|
|
504
521
|
/**
|
|
505
522
|
* Product [certification](https://support.google.com/merchants/answer/13528839), initially introduced for EU energy efficiency labeling compliance using the EU EPREL database.
|
|
506
523
|
*/
|
|
@@ -766,13 +783,17 @@ export namespace merchantapi_products_v1beta {
|
|
|
766
783
|
currencyCode?: string | null;
|
|
767
784
|
}
|
|
768
785
|
/**
|
|
769
|
-
* The processed product, built from multiple product inputs after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account
|
|
786
|
+
* The processed product, built from multiple product inputs after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved. All fields in the processed product and its sub-messages match the name of their corresponding attribute in the [Product data specification](https://support.google.com/merchants/answer/7052112) with some exceptions.
|
|
770
787
|
*/
|
|
771
788
|
export interface Schema$Product {
|
|
772
789
|
/**
|
|
773
790
|
* Output only. A list of product attributes.
|
|
774
791
|
*/
|
|
775
792
|
attributes?: Schema$Attributes;
|
|
793
|
+
/**
|
|
794
|
+
* Output only. The automated discounts information for the product.
|
|
795
|
+
*/
|
|
796
|
+
automatedDiscounts?: Schema$AutomatedDiscounts;
|
|
776
797
|
/**
|
|
777
798
|
* Output only. The [channel](https://support.google.com/merchants/answer/7361332) of the product.
|
|
778
799
|
*/
|
|
@@ -794,7 +815,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
794
815
|
*/
|
|
795
816
|
feedLabel?: string | null;
|
|
796
817
|
/**
|
|
797
|
-
* The name of the product. Format: `
|
|
818
|
+
* The name of the product. Format: `accounts/{account\}/products/{product\}` where the last section `product` consists of 4 parts: `channel~content_language~feed_label~offer_id` example for product name is `accounts/123/products/online~en~US~sku123`
|
|
798
819
|
*/
|
|
799
820
|
name?: string | null;
|
|
800
821
|
/**
|
|
@@ -862,7 +883,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
862
883
|
value?: number | null;
|
|
863
884
|
}
|
|
864
885
|
/**
|
|
865
|
-
* This resource represents input data you submit for a product, not the processed product that you see in Merchant Center, in Shopping ads, or across Google surfaces. Product inputs, rules and supplemental data source data are combined to create the processed Product. Required product input attributes to pass data validation checks are primarily defined in the [Products Data Specification](https://support.google.com/merchants/answer/188494). The following attributes are required: feedLabel, contentLanguage and offerId. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved. All fields in the product input and its sub-messages match the English name of their corresponding attribute in the
|
|
886
|
+
* This resource represents input data you submit for a product, not the processed product that you see in Merchant Center, in Shopping ads, or across Google surfaces. Product inputs, rules and supplemental data source data are combined to create the processed Product. Required product input attributes to pass data validation checks are primarily defined in the [Products Data Specification](https://support.google.com/merchants/answer/188494). The following attributes are required: feedLabel, contentLanguage and offerId. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved. All fields in the product input and its sub-messages match the English name of their corresponding attribute in the [Products Data Specification](https://support.google.com/merchants/answer/188494) with [some exceptions](https://support.google.com/merchants/answer/7052112). The following reference documentation lists the field names in the **camelCase** casing style while the Products Data Specification lists the names in the **snake_case** casing style.
|
|
866
887
|
*/
|
|
867
888
|
export interface Schema$ProductInput {
|
|
868
889
|
/**
|
|
@@ -878,7 +899,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
878
899
|
*/
|
|
879
900
|
contentLanguage?: string | null;
|
|
880
901
|
/**
|
|
881
|
-
* 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
|
|
902
|
+
* 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.
|
|
882
903
|
*/
|
|
883
904
|
customAttributes?: Schema$CustomAttribute[];
|
|
884
905
|
/**
|
|
@@ -886,7 +907,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
886
907
|
*/
|
|
887
908
|
feedLabel?: string | null;
|
|
888
909
|
/**
|
|
889
|
-
* Identifier. The name of the product input. Format: `
|
|
910
|
+
* 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`
|
|
890
911
|
*/
|
|
891
912
|
name?: string | null;
|
|
892
913
|
/**
|
|
@@ -894,11 +915,11 @@ export namespace merchantapi_products_v1beta {
|
|
|
894
915
|
*/
|
|
895
916
|
offerId?: string | null;
|
|
896
917
|
/**
|
|
897
|
-
* Output only. The name of the processed product. Format: `
|
|
918
|
+
* Output only. The name of the processed product. Format: `accounts/{account\}/products/{product\}`
|
|
898
919
|
*/
|
|
899
920
|
product?: string | null;
|
|
900
921
|
/**
|
|
901
|
-
* Optional. Represents the existing version (freshness) of the product, which can be used to preserve the right order when multiple updates are done at the same time. If set, the insertion is prevented when version number is lower than the current version number of the existing product. Re-insertion (for example, product refresh after 30 days) can be performed with the current `version_number`. Only supported for insertions into primary data sources. If the operation is prevented, the aborted exception will be thrown.
|
|
922
|
+
* Optional. Immutable. Represents the existing version (freshness) of the product, which can be used to preserve the right order when multiple updates are done at the same time. If set, the insertion is prevented when version number is lower than the current version number of the existing product. Re-insertion (for example, product refresh after 30 days) can be performed with the current `version_number`. Only supported for insertions into primary data sources. Do not set this field for updates. Do not set this field for insertions into supplemental data sources. If the operation is prevented, the aborted exception will be thrown.
|
|
902
923
|
*/
|
|
903
924
|
versionNumber?: string | null;
|
|
904
925
|
}
|
|
@@ -1200,11 +1221,11 @@ export namespace merchantapi_products_v1beta {
|
|
|
1200
1221
|
delete(
|
|
1201
1222
|
params: Params$Resource$Accounts$Productinputs$Delete,
|
|
1202
1223
|
options: StreamMethodOptions
|
|
1203
|
-
):
|
|
1224
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1204
1225
|
delete(
|
|
1205
1226
|
params?: Params$Resource$Accounts$Productinputs$Delete,
|
|
1206
1227
|
options?: MethodOptions
|
|
1207
|
-
):
|
|
1228
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
1208
1229
|
delete(
|
|
1209
1230
|
params: Params$Resource$Accounts$Productinputs$Delete,
|
|
1210
1231
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1233,7 +1254,10 @@ export namespace merchantapi_products_v1beta {
|
|
|
1233
1254
|
callback?:
|
|
1234
1255
|
| BodyResponseCallback<Schema$Empty>
|
|
1235
1256
|
| BodyResponseCallback<Readable>
|
|
1236
|
-
):
|
|
1257
|
+
):
|
|
1258
|
+
| void
|
|
1259
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
1260
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1237
1261
|
let params = (paramsOrCallback ||
|
|
1238
1262
|
{}) as Params$Resource$Accounts$Productinputs$Delete;
|
|
1239
1263
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1288,11 +1312,11 @@ export namespace merchantapi_products_v1beta {
|
|
|
1288
1312
|
insert(
|
|
1289
1313
|
params: Params$Resource$Accounts$Productinputs$Insert,
|
|
1290
1314
|
options: StreamMethodOptions
|
|
1291
|
-
):
|
|
1315
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1292
1316
|
insert(
|
|
1293
1317
|
params?: Params$Resource$Accounts$Productinputs$Insert,
|
|
1294
1318
|
options?: MethodOptions
|
|
1295
|
-
):
|
|
1319
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ProductInput>>;
|
|
1296
1320
|
insert(
|
|
1297
1321
|
params: Params$Resource$Accounts$Productinputs$Insert,
|
|
1298
1322
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1321,7 +1345,10 @@ export namespace merchantapi_products_v1beta {
|
|
|
1321
1345
|
callback?:
|
|
1322
1346
|
| BodyResponseCallback<Schema$ProductInput>
|
|
1323
1347
|
| BodyResponseCallback<Readable>
|
|
1324
|
-
):
|
|
1348
|
+
):
|
|
1349
|
+
| void
|
|
1350
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ProductInput>>
|
|
1351
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1325
1352
|
let params = (paramsOrCallback ||
|
|
1326
1353
|
{}) as Params$Resource$Accounts$Productinputs$Insert;
|
|
1327
1354
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1375,11 +1402,11 @@ export namespace merchantapi_products_v1beta {
|
|
|
1375
1402
|
patch(
|
|
1376
1403
|
params: Params$Resource$Accounts$Productinputs$Patch,
|
|
1377
1404
|
options: StreamMethodOptions
|
|
1378
|
-
):
|
|
1405
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1379
1406
|
patch(
|
|
1380
1407
|
params?: Params$Resource$Accounts$Productinputs$Patch,
|
|
1381
1408
|
options?: MethodOptions
|
|
1382
|
-
):
|
|
1409
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ProductInput>>;
|
|
1383
1410
|
patch(
|
|
1384
1411
|
params: Params$Resource$Accounts$Productinputs$Patch,
|
|
1385
1412
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1408,7 +1435,10 @@ export namespace merchantapi_products_v1beta {
|
|
|
1408
1435
|
callback?:
|
|
1409
1436
|
| BodyResponseCallback<Schema$ProductInput>
|
|
1410
1437
|
| BodyResponseCallback<Readable>
|
|
1411
|
-
):
|
|
1438
|
+
):
|
|
1439
|
+
| void
|
|
1440
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ProductInput>>
|
|
1441
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1412
1442
|
let params = (paramsOrCallback ||
|
|
1413
1443
|
{}) as Params$Resource$Accounts$Productinputs$Patch;
|
|
1414
1444
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1460,7 +1490,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
1460
1490
|
*/
|
|
1461
1491
|
dataSource?: string;
|
|
1462
1492
|
/**
|
|
1463
|
-
* Required. The name of the product input resource to delete. Format: accounts/{account\}/productInputs/{product\} where the last section `product` consists of 4 parts: channel~content_language~feed_label~offer_id example for product name is
|
|
1493
|
+
* Required. The name of the product input resource to delete. Format: `accounts/{account\}/productInputs/{product\}` where the last section `product` consists of 4 parts: `channel~content_language~feed_label~offer_id` example for product name is `accounts/123/productInputs/online~en~US~sku123`.
|
|
1464
1494
|
*/
|
|
1465
1495
|
name?: string;
|
|
1466
1496
|
}
|
|
@@ -1471,7 +1501,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
1471
1501
|
*/
|
|
1472
1502
|
dataSource?: string;
|
|
1473
1503
|
/**
|
|
1474
|
-
* Required. The account where this product will be inserted. Format: accounts/{account\}
|
|
1504
|
+
* Required. The account where this product will be inserted. Format: `accounts/{account\}`
|
|
1475
1505
|
*/
|
|
1476
1506
|
parent?: string;
|
|
1477
1507
|
|
|
@@ -1487,7 +1517,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
1487
1517
|
*/
|
|
1488
1518
|
dataSource?: string;
|
|
1489
1519
|
/**
|
|
1490
|
-
* Identifier. The name of the product input. Format: `
|
|
1520
|
+
* 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`
|
|
1491
1521
|
*/
|
|
1492
1522
|
name?: string;
|
|
1493
1523
|
/**
|
|
@@ -1518,11 +1548,11 @@ export namespace merchantapi_products_v1beta {
|
|
|
1518
1548
|
get(
|
|
1519
1549
|
params: Params$Resource$Accounts$Products$Get,
|
|
1520
1550
|
options: StreamMethodOptions
|
|
1521
|
-
):
|
|
1551
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1522
1552
|
get(
|
|
1523
1553
|
params?: Params$Resource$Accounts$Products$Get,
|
|
1524
1554
|
options?: MethodOptions
|
|
1525
|
-
):
|
|
1555
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Product>>;
|
|
1526
1556
|
get(
|
|
1527
1557
|
params: Params$Resource$Accounts$Products$Get,
|
|
1528
1558
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1551,7 +1581,10 @@ export namespace merchantapi_products_v1beta {
|
|
|
1551
1581
|
callback?:
|
|
1552
1582
|
| BodyResponseCallback<Schema$Product>
|
|
1553
1583
|
| BodyResponseCallback<Readable>
|
|
1554
|
-
):
|
|
1584
|
+
):
|
|
1585
|
+
| void
|
|
1586
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Product>>
|
|
1587
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1555
1588
|
let params = (paramsOrCallback ||
|
|
1556
1589
|
{}) as Params$Resource$Accounts$Products$Get;
|
|
1557
1590
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1596,7 +1629,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
1596
1629
|
}
|
|
1597
1630
|
|
|
1598
1631
|
/**
|
|
1599
|
-
* Lists the processed products in your Merchant Center account. The response might contain fewer items than specified by pageSize
|
|
1632
|
+
* Lists the processed products in your Merchant Center account. The response might contain fewer items than specified by `pageSize`. Rely on `pageToken` to determine if there are more items to be requested. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved.
|
|
1600
1633
|
*
|
|
1601
1634
|
* @param params - Parameters for request
|
|
1602
1635
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -1606,11 +1639,11 @@ export namespace merchantapi_products_v1beta {
|
|
|
1606
1639
|
list(
|
|
1607
1640
|
params: Params$Resource$Accounts$Products$List,
|
|
1608
1641
|
options: StreamMethodOptions
|
|
1609
|
-
):
|
|
1642
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1610
1643
|
list(
|
|
1611
1644
|
params?: Params$Resource$Accounts$Products$List,
|
|
1612
1645
|
options?: MethodOptions
|
|
1613
|
-
):
|
|
1646
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListProductsResponse>>;
|
|
1614
1647
|
list(
|
|
1615
1648
|
params: Params$Resource$Accounts$Products$List,
|
|
1616
1649
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1643,8 +1676,8 @@ export namespace merchantapi_products_v1beta {
|
|
|
1643
1676
|
| BodyResponseCallback<Readable>
|
|
1644
1677
|
):
|
|
1645
1678
|
| void
|
|
1646
|
-
|
|
|
1647
|
-
|
|
|
1679
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListProductsResponse>>
|
|
1680
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1648
1681
|
let params = (paramsOrCallback ||
|
|
1649
1682
|
{}) as Params$Resource$Accounts$Products$List;
|
|
1650
1683
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1692,7 +1725,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
1692
1725
|
export interface Params$Resource$Accounts$Products$Get
|
|
1693
1726
|
extends StandardParameters {
|
|
1694
1727
|
/**
|
|
1695
|
-
* Required. The name of the product to retrieve. Format: `accounts/{account\}/products/{product\}` where the last section `product` consists of 4 parts: channel~content_language~feed_label~offer_id example for product name is
|
|
1728
|
+
* Required. The name of the product to retrieve. Format: `accounts/{account\}/products/{product\}` where the last section `product` consists of 4 parts: `channel~content_language~feed_label~offer_id` example for product name is `accounts/123/products/online~en~US~sku123`
|
|
1696
1729
|
*/
|
|
1697
1730
|
name?: string;
|
|
1698
1731
|
}
|
|
@@ -1707,7 +1740,7 @@ export namespace merchantapi_products_v1beta {
|
|
|
1707
1740
|
*/
|
|
1708
1741
|
pageToken?: string;
|
|
1709
1742
|
/**
|
|
1710
|
-
* Required. The account to list processed products for. Format: accounts/{account\}
|
|
1743
|
+
* Required. The account to list processed products for. Format: `accounts/{account\}`
|
|
1711
1744
|
*/
|
|
1712
1745
|
parent?: string;
|
|
1713
1746
|
}
|
package/promotions_v1beta.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -527,11 +527,11 @@ export namespace merchantapi_promotions_v1beta {
|
|
|
527
527
|
get(
|
|
528
528
|
params: Params$Resource$Accounts$Promotions$Get,
|
|
529
529
|
options: StreamMethodOptions
|
|
530
|
-
):
|
|
530
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
531
531
|
get(
|
|
532
532
|
params?: Params$Resource$Accounts$Promotions$Get,
|
|
533
533
|
options?: MethodOptions
|
|
534
|
-
):
|
|
534
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>;
|
|
535
535
|
get(
|
|
536
536
|
params: Params$Resource$Accounts$Promotions$Get,
|
|
537
537
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -560,7 +560,10 @@ export namespace merchantapi_promotions_v1beta {
|
|
|
560
560
|
callback?:
|
|
561
561
|
| BodyResponseCallback<Schema$Promotion>
|
|
562
562
|
| BodyResponseCallback<Readable>
|
|
563
|
-
):
|
|
563
|
+
):
|
|
564
|
+
| void
|
|
565
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>
|
|
566
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
564
567
|
let params = (paramsOrCallback ||
|
|
565
568
|
{}) as Params$Resource$Accounts$Promotions$Get;
|
|
566
569
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -615,11 +618,11 @@ export namespace merchantapi_promotions_v1beta {
|
|
|
615
618
|
insert(
|
|
616
619
|
params: Params$Resource$Accounts$Promotions$Insert,
|
|
617
620
|
options: StreamMethodOptions
|
|
618
|
-
):
|
|
621
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
619
622
|
insert(
|
|
620
623
|
params?: Params$Resource$Accounts$Promotions$Insert,
|
|
621
624
|
options?: MethodOptions
|
|
622
|
-
):
|
|
625
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>;
|
|
623
626
|
insert(
|
|
624
627
|
params: Params$Resource$Accounts$Promotions$Insert,
|
|
625
628
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -648,7 +651,10 @@ export namespace merchantapi_promotions_v1beta {
|
|
|
648
651
|
callback?:
|
|
649
652
|
| BodyResponseCallback<Schema$Promotion>
|
|
650
653
|
| BodyResponseCallback<Readable>
|
|
651
|
-
):
|
|
654
|
+
):
|
|
655
|
+
| void
|
|
656
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>
|
|
657
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
652
658
|
let params = (paramsOrCallback ||
|
|
653
659
|
{}) as Params$Resource$Accounts$Promotions$Insert;
|
|
654
660
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -702,11 +708,11 @@ export namespace merchantapi_promotions_v1beta {
|
|
|
702
708
|
list(
|
|
703
709
|
params: Params$Resource$Accounts$Promotions$List,
|
|
704
710
|
options: StreamMethodOptions
|
|
705
|
-
):
|
|
711
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
706
712
|
list(
|
|
707
713
|
params?: Params$Resource$Accounts$Promotions$List,
|
|
708
714
|
options?: MethodOptions
|
|
709
|
-
):
|
|
715
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListPromotionsResponse>>;
|
|
710
716
|
list(
|
|
711
717
|
params: Params$Resource$Accounts$Promotions$List,
|
|
712
718
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -739,8 +745,8 @@ export namespace merchantapi_promotions_v1beta {
|
|
|
739
745
|
| BodyResponseCallback<Readable>
|
|
740
746
|
):
|
|
741
747
|
| void
|
|
742
|
-
|
|
|
743
|
-
|
|
|
748
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListPromotionsResponse>>
|
|
749
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
744
750
|
let params = (paramsOrCallback ||
|
|
745
751
|
{}) as Params$Resource$Accounts$Promotions$List;
|
|
746
752
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
package/quota_v1beta.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -272,11 +272,11 @@ export namespace merchantapi_quota_v1beta {
|
|
|
272
272
|
list(
|
|
273
273
|
params: Params$Resource$Accounts$Quotas$List,
|
|
274
274
|
options: StreamMethodOptions
|
|
275
|
-
):
|
|
275
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
276
276
|
list(
|
|
277
277
|
params?: Params$Resource$Accounts$Quotas$List,
|
|
278
278
|
options?: MethodOptions
|
|
279
|
-
):
|
|
279
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListQuotaGroupsResponse>>;
|
|
280
280
|
list(
|
|
281
281
|
params: Params$Resource$Accounts$Quotas$List,
|
|
282
282
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -309,8 +309,8 @@ export namespace merchantapi_quota_v1beta {
|
|
|
309
309
|
| BodyResponseCallback<Readable>
|
|
310
310
|
):
|
|
311
311
|
| void
|
|
312
|
-
|
|
|
313
|
-
|
|
|
312
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListQuotaGroupsResponse>>
|
|
313
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
314
314
|
let params = (paramsOrCallback ||
|
|
315
315
|
{}) as Params$Resource$Accounts$Quotas$List;
|
|
316
316
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
package/reports_v1beta.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -1008,7 +1008,7 @@ export namespace merchantapi_reports_v1beta {
|
|
|
1008
1008
|
*/
|
|
1009
1009
|
pageToken?: string | null;
|
|
1010
1010
|
/**
|
|
1011
|
-
* Required. Query that defines a report to be retrieved. For details on how to construct your query, see the Query Language guide. For the full list of available tables and fields, see the Available fields.
|
|
1011
|
+
* Required. Query that defines a report to be retrieved. For details on how to construct your query, see the [Query Language guide](/merchant/api/guides/reports/query-language). For the full list of available tables and fields, see the [Available fields](/merchant/api/reference/rest/reports_v1beta/accounts.reports).
|
|
1012
1012
|
*/
|
|
1013
1013
|
query?: string | null;
|
|
1014
1014
|
}
|
|
@@ -1052,11 +1052,11 @@ export namespace merchantapi_reports_v1beta {
|
|
|
1052
1052
|
search(
|
|
1053
1053
|
params: Params$Resource$Accounts$Reports$Search,
|
|
1054
1054
|
options: StreamMethodOptions
|
|
1055
|
-
):
|
|
1055
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1056
1056
|
search(
|
|
1057
1057
|
params?: Params$Resource$Accounts$Reports$Search,
|
|
1058
1058
|
options?: MethodOptions
|
|
1059
|
-
):
|
|
1059
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$SearchResponse>>;
|
|
1060
1060
|
search(
|
|
1061
1061
|
params: Params$Resource$Accounts$Reports$Search,
|
|
1062
1062
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1085,7 +1085,10 @@ export namespace merchantapi_reports_v1beta {
|
|
|
1085
1085
|
callback?:
|
|
1086
1086
|
| BodyResponseCallback<Schema$SearchResponse>
|
|
1087
1087
|
| BodyResponseCallback<Readable>
|
|
1088
|
-
):
|
|
1088
|
+
):
|
|
1089
|
+
| void
|
|
1090
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$SearchResponse>>
|
|
1091
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1089
1092
|
let params = (paramsOrCallback ||
|
|
1090
1093
|
{}) as Params$Resource$Accounts$Reports$Search;
|
|
1091
1094
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
package/reviews_v1beta.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -659,11 +659,11 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
659
659
|
delete(
|
|
660
660
|
params: Params$Resource$Accounts$Merchantreviews$Delete,
|
|
661
661
|
options: StreamMethodOptions
|
|
662
|
-
):
|
|
662
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
663
663
|
delete(
|
|
664
664
|
params?: Params$Resource$Accounts$Merchantreviews$Delete,
|
|
665
665
|
options?: MethodOptions
|
|
666
|
-
):
|
|
666
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
667
667
|
delete(
|
|
668
668
|
params: Params$Resource$Accounts$Merchantreviews$Delete,
|
|
669
669
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -692,7 +692,10 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
692
692
|
callback?:
|
|
693
693
|
| BodyResponseCallback<Schema$Empty>
|
|
694
694
|
| BodyResponseCallback<Readable>
|
|
695
|
-
):
|
|
695
|
+
):
|
|
696
|
+
| void
|
|
697
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
698
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
696
699
|
let params = (paramsOrCallback ||
|
|
697
700
|
{}) as Params$Resource$Accounts$Merchantreviews$Delete;
|
|
698
701
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -747,11 +750,11 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
747
750
|
get(
|
|
748
751
|
params: Params$Resource$Accounts$Merchantreviews$Get,
|
|
749
752
|
options: StreamMethodOptions
|
|
750
|
-
):
|
|
753
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
751
754
|
get(
|
|
752
755
|
params?: Params$Resource$Accounts$Merchantreviews$Get,
|
|
753
756
|
options?: MethodOptions
|
|
754
|
-
):
|
|
757
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$MerchantReview>>;
|
|
755
758
|
get(
|
|
756
759
|
params: Params$Resource$Accounts$Merchantreviews$Get,
|
|
757
760
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -780,7 +783,10 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
780
783
|
callback?:
|
|
781
784
|
| BodyResponseCallback<Schema$MerchantReview>
|
|
782
785
|
| BodyResponseCallback<Readable>
|
|
783
|
-
):
|
|
786
|
+
):
|
|
787
|
+
| void
|
|
788
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$MerchantReview>>
|
|
789
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
784
790
|
let params = (paramsOrCallback ||
|
|
785
791
|
{}) as Params$Resource$Accounts$Merchantreviews$Get;
|
|
786
792
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -835,11 +841,11 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
835
841
|
insert(
|
|
836
842
|
params: Params$Resource$Accounts$Merchantreviews$Insert,
|
|
837
843
|
options: StreamMethodOptions
|
|
838
|
-
):
|
|
844
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
839
845
|
insert(
|
|
840
846
|
params?: Params$Resource$Accounts$Merchantreviews$Insert,
|
|
841
847
|
options?: MethodOptions
|
|
842
|
-
):
|
|
848
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$MerchantReview>>;
|
|
843
849
|
insert(
|
|
844
850
|
params: Params$Resource$Accounts$Merchantreviews$Insert,
|
|
845
851
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -868,7 +874,10 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
868
874
|
callback?:
|
|
869
875
|
| BodyResponseCallback<Schema$MerchantReview>
|
|
870
876
|
| BodyResponseCallback<Readable>
|
|
871
|
-
):
|
|
877
|
+
):
|
|
878
|
+
| void
|
|
879
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$MerchantReview>>
|
|
880
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
872
881
|
let params = (paramsOrCallback ||
|
|
873
882
|
{}) as Params$Resource$Accounts$Merchantreviews$Insert;
|
|
874
883
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -922,11 +931,11 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
922
931
|
list(
|
|
923
932
|
params: Params$Resource$Accounts$Merchantreviews$List,
|
|
924
933
|
options: StreamMethodOptions
|
|
925
|
-
):
|
|
934
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
926
935
|
list(
|
|
927
936
|
params?: Params$Resource$Accounts$Merchantreviews$List,
|
|
928
937
|
options?: MethodOptions
|
|
929
|
-
):
|
|
938
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListMerchantReviewsResponse>>;
|
|
930
939
|
list(
|
|
931
940
|
params: Params$Resource$Accounts$Merchantreviews$List,
|
|
932
941
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -961,8 +970,8 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
961
970
|
| BodyResponseCallback<Readable>
|
|
962
971
|
):
|
|
963
972
|
| void
|
|
964
|
-
|
|
|
965
|
-
|
|
|
973
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListMerchantReviewsResponse>>
|
|
974
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
966
975
|
let params = (paramsOrCallback ||
|
|
967
976
|
{}) as Params$Resource$Accounts$Merchantreviews$List;
|
|
968
977
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1069,11 +1078,11 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1069
1078
|
delete(
|
|
1070
1079
|
params: Params$Resource$Accounts$Productreviews$Delete,
|
|
1071
1080
|
options: StreamMethodOptions
|
|
1072
|
-
):
|
|
1081
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1073
1082
|
delete(
|
|
1074
1083
|
params?: Params$Resource$Accounts$Productreviews$Delete,
|
|
1075
1084
|
options?: MethodOptions
|
|
1076
|
-
):
|
|
1085
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
1077
1086
|
delete(
|
|
1078
1087
|
params: Params$Resource$Accounts$Productreviews$Delete,
|
|
1079
1088
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1102,7 +1111,10 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1102
1111
|
callback?:
|
|
1103
1112
|
| BodyResponseCallback<Schema$Empty>
|
|
1104
1113
|
| BodyResponseCallback<Readable>
|
|
1105
|
-
):
|
|
1114
|
+
):
|
|
1115
|
+
| void
|
|
1116
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
1117
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1106
1118
|
let params = (paramsOrCallback ||
|
|
1107
1119
|
{}) as Params$Resource$Accounts$Productreviews$Delete;
|
|
1108
1120
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1157,11 +1169,11 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1157
1169
|
get(
|
|
1158
1170
|
params: Params$Resource$Accounts$Productreviews$Get,
|
|
1159
1171
|
options: StreamMethodOptions
|
|
1160
|
-
):
|
|
1172
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1161
1173
|
get(
|
|
1162
1174
|
params?: Params$Resource$Accounts$Productreviews$Get,
|
|
1163
1175
|
options?: MethodOptions
|
|
1164
|
-
):
|
|
1176
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ProductReview>>;
|
|
1165
1177
|
get(
|
|
1166
1178
|
params: Params$Resource$Accounts$Productreviews$Get,
|
|
1167
1179
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1190,7 +1202,10 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1190
1202
|
callback?:
|
|
1191
1203
|
| BodyResponseCallback<Schema$ProductReview>
|
|
1192
1204
|
| BodyResponseCallback<Readable>
|
|
1193
|
-
):
|
|
1205
|
+
):
|
|
1206
|
+
| void
|
|
1207
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ProductReview>>
|
|
1208
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1194
1209
|
let params = (paramsOrCallback ||
|
|
1195
1210
|
{}) as Params$Resource$Accounts$Productreviews$Get;
|
|
1196
1211
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1245,11 +1260,11 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1245
1260
|
insert(
|
|
1246
1261
|
params: Params$Resource$Accounts$Productreviews$Insert,
|
|
1247
1262
|
options: StreamMethodOptions
|
|
1248
|
-
):
|
|
1263
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1249
1264
|
insert(
|
|
1250
1265
|
params?: Params$Resource$Accounts$Productreviews$Insert,
|
|
1251
1266
|
options?: MethodOptions
|
|
1252
|
-
):
|
|
1267
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ProductReview>>;
|
|
1253
1268
|
insert(
|
|
1254
1269
|
params: Params$Resource$Accounts$Productreviews$Insert,
|
|
1255
1270
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1278,7 +1293,10 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1278
1293
|
callback?:
|
|
1279
1294
|
| BodyResponseCallback<Schema$ProductReview>
|
|
1280
1295
|
| BodyResponseCallback<Readable>
|
|
1281
|
-
):
|
|
1296
|
+
):
|
|
1297
|
+
| void
|
|
1298
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ProductReview>>
|
|
1299
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1282
1300
|
let params = (paramsOrCallback ||
|
|
1283
1301
|
{}) as Params$Resource$Accounts$Productreviews$Insert;
|
|
1284
1302
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1332,11 +1350,11 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1332
1350
|
list(
|
|
1333
1351
|
params: Params$Resource$Accounts$Productreviews$List,
|
|
1334
1352
|
options: StreamMethodOptions
|
|
1335
|
-
):
|
|
1353
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1336
1354
|
list(
|
|
1337
1355
|
params?: Params$Resource$Accounts$Productreviews$List,
|
|
1338
1356
|
options?: MethodOptions
|
|
1339
|
-
):
|
|
1357
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListProductReviewsResponse>>;
|
|
1340
1358
|
list(
|
|
1341
1359
|
params: Params$Resource$Accounts$Productreviews$List,
|
|
1342
1360
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1371,8 +1389,8 @@ export namespace merchantapi_reviews_v1beta {
|
|
|
1371
1389
|
| BodyResponseCallback<Readable>
|
|
1372
1390
|
):
|
|
1373
1391
|
| void
|
|
1374
|
-
|
|
|
1375
|
-
|
|
|
1392
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListProductReviewsResponse>>
|
|
1393
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1376
1394
|
let params = (paramsOrCallback ||
|
|
1377
1395
|
{}) as Params$Resource$Accounts$Productreviews$List;
|
|
1378
1396
|
let options = (optionsOrCallback || {}) as MethodOptions;
|