@googleapis/merchantapi 15.0.0 → 16.1.0
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 +20 -0
- package/accounts_v1.ts +361 -0
- package/build/accounts_v1.d.ts +196 -0
- package/build/accounts_v1.js +73 -0
- package/build/accounts_v1.js.map +1 -1
- package/build/datasources_v1.d.ts +1 -1
- package/build/datasources_v1beta.d.ts +1 -1
- package/build/inventories_v1.d.ts +36 -0
- package/build/inventories_v1.js.map +1 -1
- package/build/inventories_v1beta.d.ts +36 -0
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1.d.ts +6 -0
- package/build/issueresolution_v1.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +6 -0
- package/build/issueresolution_v1beta.js.map +1 -1
- package/build/products_v1.d.ts +39 -0
- package/build/products_v1.js.map +1 -1
- package/build/products_v1beta.d.ts +18 -0
- package/build/products_v1beta.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/datasources_v1.ts +1 -1
- package/datasources_v1beta.ts +1 -1
- package/inventories_v1.ts +36 -0
- package/inventories_v1beta.ts +36 -0
- package/issueresolution_v1.ts +6 -0
- package/issueresolution_v1beta.ts +6 -0
- package/package.json +1 -1
- package/products_v1.ts +39 -0
- package/products_v1beta.ts +18 -0
package/inventories_v1beta.ts
CHANGED
|
@@ -412,6 +412,8 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
412
412
|
* const res = await merchantapi.accounts.products.localInventories.delete({
|
|
413
413
|
* // Required. The name of the local inventory for the given product to delete. Format: `accounts/{account\}/products/{product\}/localInventories/{store_code\}`
|
|
414
414
|
* name: 'accounts/my-account/products/my-product/localInventories/my-localInventorie',
|
|
415
|
+
* // Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
416
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
415
417
|
* });
|
|
416
418
|
* console.log(res.data);
|
|
417
419
|
*
|
|
@@ -548,6 +550,8 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
548
550
|
* const res = await merchantapi.accounts.products.localInventories.insert({
|
|
549
551
|
* // Required. The account and product where this inventory will be inserted. Format: `accounts/{account\}/products/{product\}`
|
|
550
552
|
* parent: 'accounts/my-account/products/my-product',
|
|
553
|
+
* // Optional. If true, the `{product\}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
554
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
551
555
|
*
|
|
552
556
|
* // Request body metadata
|
|
553
557
|
* requestBody: {
|
|
@@ -719,6 +723,8 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
719
723
|
* pageToken: 'placeholder-value',
|
|
720
724
|
* // Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account\}/products/{product\}`
|
|
721
725
|
* parent: 'accounts/my-account/products/my-product',
|
|
726
|
+
* // Optional. If true, the `{product\}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
727
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
722
728
|
* });
|
|
723
729
|
* console.log(res.data);
|
|
724
730
|
*
|
|
@@ -836,6 +842,10 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
836
842
|
* Required. The name of the local inventory for the given product to delete. Format: `accounts/{account\}/products/{product\}/localInventories/{store_code\}`
|
|
837
843
|
*/
|
|
838
844
|
name?: string;
|
|
845
|
+
/**
|
|
846
|
+
* Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
847
|
+
*/
|
|
848
|
+
productIdBase64UrlEncoded?: boolean;
|
|
839
849
|
}
|
|
840
850
|
export interface Params$Resource$Accounts$Products$Localinventories$Insert
|
|
841
851
|
extends StandardParameters {
|
|
@@ -843,6 +853,10 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
843
853
|
* Required. The account and product where this inventory will be inserted. Format: `accounts/{account\}/products/{product\}`
|
|
844
854
|
*/
|
|
845
855
|
parent?: string;
|
|
856
|
+
/**
|
|
857
|
+
* Optional. If true, the `{product\}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
858
|
+
*/
|
|
859
|
+
productIdBase64UrlEncoded?: boolean;
|
|
846
860
|
|
|
847
861
|
/**
|
|
848
862
|
* Request body metadata
|
|
@@ -863,6 +877,10 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
863
877
|
* Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account\}/products/{product\}`
|
|
864
878
|
*/
|
|
865
879
|
parent?: string;
|
|
880
|
+
/**
|
|
881
|
+
* Optional. If true, the `{product\}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
882
|
+
*/
|
|
883
|
+
productIdBase64UrlEncoded?: boolean;
|
|
866
884
|
}
|
|
867
885
|
|
|
868
886
|
export class Resource$Accounts$Products$Regionalinventories {
|
|
@@ -904,6 +922,8 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
904
922
|
* const res = await merchantapi.accounts.products.regionalInventories.delete({
|
|
905
923
|
* // Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account\}/products/{product\}/regionalInventories/{region\}`
|
|
906
924
|
* name: 'accounts/my-account/products/my-product/regionalInventories/my-regionalInventorie',
|
|
925
|
+
* // Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
926
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
907
927
|
* });
|
|
908
928
|
* console.log(res.data);
|
|
909
929
|
*
|
|
@@ -1040,6 +1060,8 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
1040
1060
|
* const res = await merchantapi.accounts.products.regionalInventories.insert({
|
|
1041
1061
|
* // Required. The account and product where this inventory will be inserted. Format: `accounts/{account\}/products/{product\}`
|
|
1042
1062
|
* parent: 'accounts/my-account/products/my-product',
|
|
1063
|
+
* // Optional. If true, the `{product\}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1064
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1043
1065
|
*
|
|
1044
1066
|
* // Request body metadata
|
|
1045
1067
|
* requestBody: {
|
|
@@ -1204,6 +1226,8 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
1204
1226
|
* pageToken: 'placeholder-value',
|
|
1205
1227
|
* // Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account\}/products/{product\}`
|
|
1206
1228
|
* parent: 'accounts/my-account/products/my-product',
|
|
1229
|
+
* // Optional. If true, the `{product\}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1230
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1207
1231
|
* });
|
|
1208
1232
|
* console.log(res.data);
|
|
1209
1233
|
*
|
|
@@ -1322,6 +1346,10 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
1322
1346
|
* Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account\}/products/{product\}/regionalInventories/{region\}`
|
|
1323
1347
|
*/
|
|
1324
1348
|
name?: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1351
|
+
*/
|
|
1352
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1325
1353
|
}
|
|
1326
1354
|
export interface Params$Resource$Accounts$Products$Regionalinventories$Insert
|
|
1327
1355
|
extends StandardParameters {
|
|
@@ -1329,6 +1357,10 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
1329
1357
|
* Required. The account and product where this inventory will be inserted. Format: `accounts/{account\}/products/{product\}`
|
|
1330
1358
|
*/
|
|
1331
1359
|
parent?: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Optional. If true, the `{product\}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1362
|
+
*/
|
|
1363
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1332
1364
|
|
|
1333
1365
|
/**
|
|
1334
1366
|
* Request body metadata
|
|
@@ -1349,5 +1381,9 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
1349
1381
|
* Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account\}/products/{product\}`
|
|
1350
1382
|
*/
|
|
1351
1383
|
parent?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Optional. If true, the `{product\}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1386
|
+
*/
|
|
1387
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1352
1388
|
}
|
|
1353
1389
|
}
|
package/issueresolution_v1.ts
CHANGED
|
@@ -1096,6 +1096,8 @@ export namespace merchantapi_issueresolution_v1 {
|
|
|
1096
1096
|
* languageCode: 'placeholder-value',
|
|
1097
1097
|
* // Required. The name of the product to fetch issues for. Format: `accounts/{account\}/products/{product\}`
|
|
1098
1098
|
* name: 'accounts/my-account/products/my-product',
|
|
1099
|
+
* // Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1100
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1099
1101
|
* // Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.
|
|
1100
1102
|
* timeZone: 'placeholder-value',
|
|
1101
1103
|
*
|
|
@@ -1396,6 +1398,10 @@ export namespace merchantapi_issueresolution_v1 {
|
|
|
1396
1398
|
* Required. The name of the product to fetch issues for. Format: `accounts/{account\}/products/{product\}`
|
|
1397
1399
|
*/
|
|
1398
1400
|
name?: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1403
|
+
*/
|
|
1404
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1399
1405
|
/**
|
|
1400
1406
|
* Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.
|
|
1401
1407
|
*/
|
|
@@ -1097,6 +1097,8 @@ export namespace merchantapi_issueresolution_v1beta {
|
|
|
1097
1097
|
* languageCode: 'placeholder-value',
|
|
1098
1098
|
* // Required. The name of the product to fetch issues for. Format: `accounts/{account\}/products/{product\}`
|
|
1099
1099
|
* name: 'accounts/my-account/products/my-product',
|
|
1100
|
+
* // Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1101
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1100
1102
|
* // Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.
|
|
1101
1103
|
* timeZone: 'placeholder-value',
|
|
1102
1104
|
*
|
|
@@ -1397,6 +1399,10 @@ export namespace merchantapi_issueresolution_v1beta {
|
|
|
1397
1399
|
* Required. The name of the product to fetch issues for. Format: `accounts/{account\}/products/{product\}`
|
|
1398
1400
|
*/
|
|
1399
1401
|
name?: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1404
|
+
*/
|
|
1405
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1400
1406
|
/**
|
|
1401
1407
|
* Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.
|
|
1402
1408
|
*/
|
package/package.json
CHANGED
package/products_v1.ts
CHANGED
|
@@ -798,6 +798,10 @@ export namespace merchantapi_products_v1 {
|
|
|
798
798
|
* Shipping rules.
|
|
799
799
|
*/
|
|
800
800
|
shipping?: Schema$Shipping[];
|
|
801
|
+
/**
|
|
802
|
+
* The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.
|
|
803
|
+
*/
|
|
804
|
+
shippingHandlingBusinessDays?: Schema$ShippingBusinessDaysConfig[];
|
|
801
805
|
/**
|
|
802
806
|
* Height of the item for shipping.
|
|
803
807
|
*/
|
|
@@ -810,6 +814,10 @@ export namespace merchantapi_products_v1 {
|
|
|
810
814
|
* Length of the item for shipping.
|
|
811
815
|
*/
|
|
812
816
|
shippingLength?: Schema$ShippingDimension;
|
|
817
|
+
/**
|
|
818
|
+
* The business days during which orders are in transit. If not provided, Monday to Friday business days will be assumed.
|
|
819
|
+
*/
|
|
820
|
+
shippingTransitBusinessDays?: Schema$ShippingBusinessDaysConfig[];
|
|
813
821
|
/**
|
|
814
822
|
* Weight of the item for shipping.
|
|
815
823
|
*/
|
|
@@ -1158,6 +1166,19 @@ export namespace merchantapi_products_v1 {
|
|
|
1158
1166
|
*/
|
|
1159
1167
|
service?: string | null;
|
|
1160
1168
|
}
|
|
1169
|
+
/**
|
|
1170
|
+
* The business days during which orders are on their path to fulfillment. If not provided, Monday to Friday business days will be assumed.
|
|
1171
|
+
*/
|
|
1172
|
+
export interface Schema$ShippingBusinessDaysConfig {
|
|
1173
|
+
/**
|
|
1174
|
+
* Effective days of the week considered for the delivery time calculation. May not be empty. The more business days included the faster the delivery. Can be set through individual days (e.g. `MTWRF`), or day ranges (e.g. `Mon-Fri`). For more information about accepted formats, see [Shipping handling business days](https://support.google.com/merchants/answer/16072859).
|
|
1175
|
+
*/
|
|
1176
|
+
businessDays?: string | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which an item will ship.
|
|
1179
|
+
*/
|
|
1180
|
+
country?: string | null;
|
|
1181
|
+
}
|
|
1161
1182
|
/**
|
|
1162
1183
|
* The ShippingDimension of the product.
|
|
1163
1184
|
*/
|
|
@@ -1306,6 +1327,8 @@ export namespace merchantapi_products_v1 {
|
|
|
1306
1327
|
* dataSource: 'placeholder-value',
|
|
1307
1328
|
* // Required. The name of the product input resource to delete. Format: `accounts/{account\}/productInputs/{product\}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/productInputs/en~US~sku123`.
|
|
1308
1329
|
* name: 'accounts/my-account/productInputs/my-productInput',
|
|
1330
|
+
* // Optional. If true, the `{productInput\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1331
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1309
1332
|
* });
|
|
1310
1333
|
* console.log(res.data);
|
|
1311
1334
|
*
|
|
@@ -1605,6 +1628,8 @@ export namespace merchantapi_products_v1 {
|
|
|
1605
1628
|
* dataSource: 'placeholder-value',
|
|
1606
1629
|
* // Identifier. The name of the product input. Format: `accounts/{account\}/productInputs/{productinput\}` where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productInputs/online~en~US~sku123`.
|
|
1607
1630
|
* name: 'accounts/my-account/productInputs/my-productInput',
|
|
1631
|
+
* // Optional. If true, the `{productInput\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1632
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1608
1633
|
* // Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "*" value for full product replacement is not supported.
|
|
1609
1634
|
* updateMask: 'placeholder-value',
|
|
1610
1635
|
*
|
|
@@ -1746,6 +1771,10 @@ export namespace merchantapi_products_v1 {
|
|
|
1746
1771
|
* Required. The name of the product input resource to delete. Format: `accounts/{account\}/productInputs/{product\}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/productInputs/en~US~sku123`.
|
|
1747
1772
|
*/
|
|
1748
1773
|
name?: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* Optional. If true, the `{productInput\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1776
|
+
*/
|
|
1777
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1749
1778
|
}
|
|
1750
1779
|
export interface Params$Resource$Accounts$Productinputs$Insert
|
|
1751
1780
|
extends StandardParameters {
|
|
@@ -1773,6 +1802,10 @@ export namespace merchantapi_products_v1 {
|
|
|
1773
1802
|
* Identifier. The name of the product input. Format: `accounts/{account\}/productInputs/{productinput\}` where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productInputs/online~en~US~sku123`.
|
|
1774
1803
|
*/
|
|
1775
1804
|
name?: string;
|
|
1805
|
+
/**
|
|
1806
|
+
* Optional. If true, the `{productInput\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1807
|
+
*/
|
|
1808
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1776
1809
|
/**
|
|
1777
1810
|
* Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "*" value for full product replacement is not supported.
|
|
1778
1811
|
*/
|
|
@@ -1823,6 +1856,8 @@ export namespace merchantapi_products_v1 {
|
|
|
1823
1856
|
* const res = await merchantapi.accounts.products.get({
|
|
1824
1857
|
* // Required. The name of the product to retrieve. Format: `accounts/{account\}/products/{product\}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/products/en~US~sku123`. A legacy local product name would be `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.
|
|
1825
1858
|
* name: 'accounts/my-account/products/my-product',
|
|
1859
|
+
* // Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1860
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1826
1861
|
* });
|
|
1827
1862
|
* console.log(res.data);
|
|
1828
1863
|
*
|
|
@@ -2088,6 +2123,10 @@ export namespace merchantapi_products_v1 {
|
|
|
2088
2123
|
* Required. The name of the product to retrieve. Format: `accounts/{account\}/products/{product\}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/products/en~US~sku123`. A legacy local product name would be `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.
|
|
2089
2124
|
*/
|
|
2090
2125
|
name?: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
2128
|
+
*/
|
|
2129
|
+
productIdBase64UrlEncoded?: boolean;
|
|
2091
2130
|
}
|
|
2092
2131
|
export interface Params$Resource$Accounts$Products$List
|
|
2093
2132
|
extends StandardParameters {
|
package/products_v1beta.ts
CHANGED
|
@@ -1261,6 +1261,8 @@ export namespace merchantapi_products_v1beta {
|
|
|
1261
1261
|
* dataSource: 'placeholder-value',
|
|
1262
1262
|
* // Required. The name of the product input resource to delete. Format: `accounts/{account\}/productInputs/{product\}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/productInputs/en~US~sku123`.
|
|
1263
1263
|
* name: 'accounts/my-account/productInputs/my-productInput',
|
|
1264
|
+
* // Optional. If true, the `{productInput\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1265
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1264
1266
|
* });
|
|
1265
1267
|
* console.log(res.data);
|
|
1266
1268
|
*
|
|
@@ -1560,6 +1562,8 @@ export namespace merchantapi_products_v1beta {
|
|
|
1560
1562
|
* dataSource: 'placeholder-value',
|
|
1561
1563
|
* // Identifier. The name of the product input. Format: `accounts/{account\}/productInputs/{productinput\}` where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productInputs/online~en~US~sku123`.
|
|
1562
1564
|
* name: 'accounts/my-account/productInputs/my-productInput',
|
|
1565
|
+
* // Optional. If true, the `{productInput\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1566
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1563
1567
|
* // Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "*" value for full product replacement is not supported.
|
|
1564
1568
|
* updateMask: 'placeholder-value',
|
|
1565
1569
|
*
|
|
@@ -1701,6 +1705,10 @@ export namespace merchantapi_products_v1beta {
|
|
|
1701
1705
|
* Required. The name of the product input resource to delete. Format: `accounts/{account\}/productInputs/{product\}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/productInputs/en~US~sku123`.
|
|
1702
1706
|
*/
|
|
1703
1707
|
name?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* Optional. If true, the `{productInput\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1710
|
+
*/
|
|
1711
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1704
1712
|
}
|
|
1705
1713
|
export interface Params$Resource$Accounts$Productinputs$Insert
|
|
1706
1714
|
extends StandardParameters {
|
|
@@ -1728,6 +1736,10 @@ export namespace merchantapi_products_v1beta {
|
|
|
1728
1736
|
* Identifier. The name of the product input. Format: `accounts/{account\}/productInputs/{productinput\}` where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productInputs/online~en~US~sku123`.
|
|
1729
1737
|
*/
|
|
1730
1738
|
name?: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* Optional. If true, the `{productInput\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1741
|
+
*/
|
|
1742
|
+
productIdBase64UrlEncoded?: boolean;
|
|
1731
1743
|
/**
|
|
1732
1744
|
* Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "*" value for full product replacement is not supported.
|
|
1733
1745
|
*/
|
|
@@ -1778,6 +1790,8 @@ export namespace merchantapi_products_v1beta {
|
|
|
1778
1790
|
* const res = await merchantapi.accounts.products.get({
|
|
1779
1791
|
* // Required. The name of the product to retrieve. Format: `accounts/{account\}/products/{product\}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/products/en~US~sku123`. A legacy local product name would be `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.
|
|
1780
1792
|
* name: 'accounts/my-account/products/my-product',
|
|
1793
|
+
* // Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
1794
|
+
* productIdBase64UrlEncoded: 'placeholder-value',
|
|
1781
1795
|
* });
|
|
1782
1796
|
* console.log(res.data);
|
|
1783
1797
|
*
|
|
@@ -2043,6 +2057,10 @@ export namespace merchantapi_products_v1beta {
|
|
|
2043
2057
|
* Required. The name of the product to retrieve. Format: `accounts/{account\}/products/{product\}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/products/en~US~sku123`. A legacy local product name would be `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.
|
|
2044
2058
|
*/
|
|
2045
2059
|
name?: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* Optional. If true, the `{product\}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product\}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.
|
|
2062
|
+
*/
|
|
2063
|
+
productIdBase64UrlEncoded?: boolean;
|
|
2046
2064
|
}
|
|
2047
2065
|
export interface Params$Resource$Accounts$Products$List
|
|
2048
2066
|
extends StandardParameters {
|