@googleapis/merchantapi 6.0.1 → 9.0.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 +43 -0
- package/README.md +9 -0
- package/accounts_v1beta.ts +6894 -534
- package/build/accounts_v1beta.d.ts +4933 -137
- package/build/accounts_v1beta.js +679 -26
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +336 -1
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +412 -6
- package/build/datasources_v1beta.js.map +1 -1
- package/build/inventories_v1beta.d.ts +336 -2
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +367 -1
- package/build/issueresolution_v1beta.js +48 -0
- package/build/issueresolution_v1beta.js.map +1 -1
- package/build/lfp_v1beta.d.ts +436 -3
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +272 -1
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1beta.d.ts +75 -1
- package/build/ordertracking_v1beta.js.map +1 -1
- package/build/products_v1beta.d.ts +352 -45
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +171 -4
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +52 -1
- package/build/quota_v1beta.js.map +1 -1
- package/build/reports_v1beta.d.ts +58 -1
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +434 -2
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +336 -1
- package/datasources_v1beta.ts +412 -6
- package/inventories_v1beta.ts +336 -2
- package/issueresolution_v1beta.ts +465 -1
- package/lfp_v1beta.ts +436 -3
- package/notifications_v1beta.ts +272 -1
- package/ordertracking_v1beta.ts +75 -1
- package/package.json +1 -1
- package/products_v1beta.ts +352 -45
- package/promotions_v1beta.ts +171 -4
- package/quota_v1beta.ts +52 -1
- package/reports_v1beta.ts +58 -1
- package/reviews_v1beta.ts +434 -2
package/inventories_v1beta.ts
CHANGED
|
@@ -292,7 +292,7 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
292
292
|
*/
|
|
293
293
|
eventTime?: string | null;
|
|
294
294
|
/**
|
|
295
|
-
* Optional. The product expiration time. This field will not
|
|
295
|
+
* Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.
|
|
296
296
|
*/
|
|
297
297
|
expirationTime?: string | null;
|
|
298
298
|
/**
|
|
@@ -321,7 +321,7 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
321
321
|
*/
|
|
322
322
|
account?: string | null;
|
|
323
323
|
/**
|
|
324
|
-
* Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/
|
|
324
|
+
* Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/14644124).
|
|
325
325
|
*/
|
|
326
326
|
availability?: string | null;
|
|
327
327
|
/**
|
|
@@ -381,6 +381,50 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
383
|
* Deletes the specified `LocalInventory` from the given product in your merchant account. It might take a up to an hour for the `LocalInventory` to be deleted from the specific product. Once you have received a successful delete response, wait for that period before attempting a delete again.
|
|
384
|
+
* @example
|
|
385
|
+
* ```js
|
|
386
|
+
* // Before running the sample:
|
|
387
|
+
* // - Enable the API at:
|
|
388
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
389
|
+
* // - Login into gcloud by running:
|
|
390
|
+
* // ```sh
|
|
391
|
+
* // $ gcloud auth application-default login
|
|
392
|
+
* // ```
|
|
393
|
+
* // - Install the npm module by running:
|
|
394
|
+
* // ```sh
|
|
395
|
+
* // $ npm install googleapis
|
|
396
|
+
* // ```
|
|
397
|
+
*
|
|
398
|
+
* const {google} = require('googleapis');
|
|
399
|
+
* const merchantapi = google.merchantapi('inventories_v1beta');
|
|
400
|
+
*
|
|
401
|
+
* async function main() {
|
|
402
|
+
* const auth = new google.auth.GoogleAuth({
|
|
403
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
404
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
405
|
+
* });
|
|
406
|
+
*
|
|
407
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
408
|
+
* const authClient = await auth.getClient();
|
|
409
|
+
* google.options({auth: authClient});
|
|
410
|
+
*
|
|
411
|
+
* // Do the magic
|
|
412
|
+
* const res = await merchantapi.accounts.products.localInventories.delete({
|
|
413
|
+
* // Required. The name of the local inventory for the given product to delete. Format: `accounts/{account\}/products/{product\}/localInventories/{store_code\}`
|
|
414
|
+
* name: 'accounts/my-account/products/my-product/localInventories/my-localInventorie',
|
|
415
|
+
* });
|
|
416
|
+
* console.log(res.data);
|
|
417
|
+
*
|
|
418
|
+
* // Example response
|
|
419
|
+
* // {}
|
|
420
|
+
* }
|
|
421
|
+
*
|
|
422
|
+
* main().catch(e => {
|
|
423
|
+
* console.error(e);
|
|
424
|
+
* throw e;
|
|
425
|
+
* });
|
|
426
|
+
*
|
|
427
|
+
* ```
|
|
384
428
|
*
|
|
385
429
|
* @param params - Parameters for request
|
|
386
430
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -473,6 +517,82 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
473
517
|
|
|
474
518
|
/**
|
|
475
519
|
* Inserts a `LocalInventory` resource to a product in your merchant account. Replaces the full `LocalInventory` resource if an entry with the same `storeCode` already exists for the product. It might take up to 30 minutes for the new or updated `LocalInventory` resource to appear in products.
|
|
520
|
+
* @example
|
|
521
|
+
* ```js
|
|
522
|
+
* // Before running the sample:
|
|
523
|
+
* // - Enable the API at:
|
|
524
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
525
|
+
* // - Login into gcloud by running:
|
|
526
|
+
* // ```sh
|
|
527
|
+
* // $ gcloud auth application-default login
|
|
528
|
+
* // ```
|
|
529
|
+
* // - Install the npm module by running:
|
|
530
|
+
* // ```sh
|
|
531
|
+
* // $ npm install googleapis
|
|
532
|
+
* // ```
|
|
533
|
+
*
|
|
534
|
+
* const {google} = require('googleapis');
|
|
535
|
+
* const merchantapi = google.merchantapi('inventories_v1beta');
|
|
536
|
+
*
|
|
537
|
+
* async function main() {
|
|
538
|
+
* const auth = new google.auth.GoogleAuth({
|
|
539
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
540
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
541
|
+
* });
|
|
542
|
+
*
|
|
543
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
544
|
+
* const authClient = await auth.getClient();
|
|
545
|
+
* google.options({auth: authClient});
|
|
546
|
+
*
|
|
547
|
+
* // Do the magic
|
|
548
|
+
* const res = await merchantapi.accounts.products.localInventories.insert({
|
|
549
|
+
* // Required. The account and product where this inventory will be inserted. Format: `accounts/{account\}/products/{product\}`
|
|
550
|
+
* parent: 'accounts/my-account/products/my-product',
|
|
551
|
+
*
|
|
552
|
+
* // Request body metadata
|
|
553
|
+
* requestBody: {
|
|
554
|
+
* // request body parameters
|
|
555
|
+
* // {
|
|
556
|
+
* // "account": "my_account",
|
|
557
|
+
* // "availability": "my_availability",
|
|
558
|
+
* // "customAttributes": [],
|
|
559
|
+
* // "instoreProductLocation": "my_instoreProductLocation",
|
|
560
|
+
* // "name": "my_name",
|
|
561
|
+
* // "pickupMethod": "my_pickupMethod",
|
|
562
|
+
* // "pickupSla": "my_pickupSla",
|
|
563
|
+
* // "price": {},
|
|
564
|
+
* // "quantity": "my_quantity",
|
|
565
|
+
* // "salePrice": {},
|
|
566
|
+
* // "salePriceEffectiveDate": {},
|
|
567
|
+
* // "storeCode": "my_storeCode"
|
|
568
|
+
* // }
|
|
569
|
+
* },
|
|
570
|
+
* });
|
|
571
|
+
* console.log(res.data);
|
|
572
|
+
*
|
|
573
|
+
* // Example response
|
|
574
|
+
* // {
|
|
575
|
+
* // "account": "my_account",
|
|
576
|
+
* // "availability": "my_availability",
|
|
577
|
+
* // "customAttributes": [],
|
|
578
|
+
* // "instoreProductLocation": "my_instoreProductLocation",
|
|
579
|
+
* // "name": "my_name",
|
|
580
|
+
* // "pickupMethod": "my_pickupMethod",
|
|
581
|
+
* // "pickupSla": "my_pickupSla",
|
|
582
|
+
* // "price": {},
|
|
583
|
+
* // "quantity": "my_quantity",
|
|
584
|
+
* // "salePrice": {},
|
|
585
|
+
* // "salePriceEffectiveDate": {},
|
|
586
|
+
* // "storeCode": "my_storeCode"
|
|
587
|
+
* // }
|
|
588
|
+
* }
|
|
589
|
+
*
|
|
590
|
+
* main().catch(e => {
|
|
591
|
+
* console.error(e);
|
|
592
|
+
* throw e;
|
|
593
|
+
* });
|
|
594
|
+
*
|
|
595
|
+
* ```
|
|
476
596
|
*
|
|
477
597
|
* @param params - Parameters for request
|
|
478
598
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -564,6 +684,57 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
564
684
|
|
|
565
685
|
/**
|
|
566
686
|
* Lists the `LocalInventory` resources for the given product in your merchant account. The response might contain fewer items than specified by `pageSize`. If `pageToken` was returned in previous request, it can be used to obtain additional results. `LocalInventory` resources are listed per product for a given account.
|
|
687
|
+
* @example
|
|
688
|
+
* ```js
|
|
689
|
+
* // Before running the sample:
|
|
690
|
+
* // - Enable the API at:
|
|
691
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
692
|
+
* // - Login into gcloud by running:
|
|
693
|
+
* // ```sh
|
|
694
|
+
* // $ gcloud auth application-default login
|
|
695
|
+
* // ```
|
|
696
|
+
* // - Install the npm module by running:
|
|
697
|
+
* // ```sh
|
|
698
|
+
* // $ npm install googleapis
|
|
699
|
+
* // ```
|
|
700
|
+
*
|
|
701
|
+
* const {google} = require('googleapis');
|
|
702
|
+
* const merchantapi = google.merchantapi('inventories_v1beta');
|
|
703
|
+
*
|
|
704
|
+
* async function main() {
|
|
705
|
+
* const auth = new google.auth.GoogleAuth({
|
|
706
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
707
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
708
|
+
* });
|
|
709
|
+
*
|
|
710
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
711
|
+
* const authClient = await auth.getClient();
|
|
712
|
+
* google.options({auth: authClient});
|
|
713
|
+
*
|
|
714
|
+
* // Do the magic
|
|
715
|
+
* const res = await merchantapi.accounts.products.localInventories.list({
|
|
716
|
+
* // The maximum number of `LocalInventory` resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the `pageSize`. The default value is 25000. The maximum value is 25000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum
|
|
717
|
+
* pageSize: 'placeholder-value',
|
|
718
|
+
* // A page token, received from a previous `ListLocalInventories` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListLocalInventories` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.
|
|
719
|
+
* pageToken: 'placeholder-value',
|
|
720
|
+
* // Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account\}/products/{product\}`
|
|
721
|
+
* parent: 'accounts/my-account/products/my-product',
|
|
722
|
+
* });
|
|
723
|
+
* console.log(res.data);
|
|
724
|
+
*
|
|
725
|
+
* // Example response
|
|
726
|
+
* // {
|
|
727
|
+
* // "localInventories": [],
|
|
728
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
729
|
+
* // }
|
|
730
|
+
* }
|
|
731
|
+
*
|
|
732
|
+
* main().catch(e => {
|
|
733
|
+
* console.error(e);
|
|
734
|
+
* throw e;
|
|
735
|
+
* });
|
|
736
|
+
*
|
|
737
|
+
* ```
|
|
567
738
|
*
|
|
568
739
|
* @param params - Parameters for request
|
|
569
740
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -702,6 +873,50 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
702
873
|
|
|
703
874
|
/**
|
|
704
875
|
* Deletes the specified `RegionalInventory` resource from the given product in your merchant account. It might take up to an hour for the `RegionalInventory` to be deleted from the specific product. Once you have received a successful delete response, wait for that period before attempting a delete again.
|
|
876
|
+
* @example
|
|
877
|
+
* ```js
|
|
878
|
+
* // Before running the sample:
|
|
879
|
+
* // - Enable the API at:
|
|
880
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
881
|
+
* // - Login into gcloud by running:
|
|
882
|
+
* // ```sh
|
|
883
|
+
* // $ gcloud auth application-default login
|
|
884
|
+
* // ```
|
|
885
|
+
* // - Install the npm module by running:
|
|
886
|
+
* // ```sh
|
|
887
|
+
* // $ npm install googleapis
|
|
888
|
+
* // ```
|
|
889
|
+
*
|
|
890
|
+
* const {google} = require('googleapis');
|
|
891
|
+
* const merchantapi = google.merchantapi('inventories_v1beta');
|
|
892
|
+
*
|
|
893
|
+
* async function main() {
|
|
894
|
+
* const auth = new google.auth.GoogleAuth({
|
|
895
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
896
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
897
|
+
* });
|
|
898
|
+
*
|
|
899
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
900
|
+
* const authClient = await auth.getClient();
|
|
901
|
+
* google.options({auth: authClient});
|
|
902
|
+
*
|
|
903
|
+
* // Do the magic
|
|
904
|
+
* const res = await merchantapi.accounts.products.regionalInventories.delete({
|
|
905
|
+
* // Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account\}/products/{product\}/regionalInventories/{region\}`
|
|
906
|
+
* name: 'accounts/my-account/products/my-product/regionalInventories/my-regionalInventorie',
|
|
907
|
+
* });
|
|
908
|
+
* console.log(res.data);
|
|
909
|
+
*
|
|
910
|
+
* // Example response
|
|
911
|
+
* // {}
|
|
912
|
+
* }
|
|
913
|
+
*
|
|
914
|
+
* main().catch(e => {
|
|
915
|
+
* console.error(e);
|
|
916
|
+
* throw e;
|
|
917
|
+
* });
|
|
918
|
+
*
|
|
919
|
+
* ```
|
|
705
920
|
*
|
|
706
921
|
* @param params - Parameters for request
|
|
707
922
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -794,6 +1009,74 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
794
1009
|
|
|
795
1010
|
/**
|
|
796
1011
|
* Inserts a `RegionalInventory` to a given product in your merchant account. Replaces the full `RegionalInventory` resource if an entry with the same `region` already exists for the product. It might take up to 30 minutes for the new or updated `RegionalInventory` resource to appear in products.
|
|
1012
|
+
* @example
|
|
1013
|
+
* ```js
|
|
1014
|
+
* // Before running the sample:
|
|
1015
|
+
* // - Enable the API at:
|
|
1016
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
1017
|
+
* // - Login into gcloud by running:
|
|
1018
|
+
* // ```sh
|
|
1019
|
+
* // $ gcloud auth application-default login
|
|
1020
|
+
* // ```
|
|
1021
|
+
* // - Install the npm module by running:
|
|
1022
|
+
* // ```sh
|
|
1023
|
+
* // $ npm install googleapis
|
|
1024
|
+
* // ```
|
|
1025
|
+
*
|
|
1026
|
+
* const {google} = require('googleapis');
|
|
1027
|
+
* const merchantapi = google.merchantapi('inventories_v1beta');
|
|
1028
|
+
*
|
|
1029
|
+
* async function main() {
|
|
1030
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1031
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1032
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
1033
|
+
* });
|
|
1034
|
+
*
|
|
1035
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1036
|
+
* const authClient = await auth.getClient();
|
|
1037
|
+
* google.options({auth: authClient});
|
|
1038
|
+
*
|
|
1039
|
+
* // Do the magic
|
|
1040
|
+
* const res = await merchantapi.accounts.products.regionalInventories.insert({
|
|
1041
|
+
* // Required. The account and product where this inventory will be inserted. Format: `accounts/{account\}/products/{product\}`
|
|
1042
|
+
* parent: 'accounts/my-account/products/my-product',
|
|
1043
|
+
*
|
|
1044
|
+
* // Request body metadata
|
|
1045
|
+
* requestBody: {
|
|
1046
|
+
* // request body parameters
|
|
1047
|
+
* // {
|
|
1048
|
+
* // "account": "my_account",
|
|
1049
|
+
* // "availability": "my_availability",
|
|
1050
|
+
* // "customAttributes": [],
|
|
1051
|
+
* // "name": "my_name",
|
|
1052
|
+
* // "price": {},
|
|
1053
|
+
* // "region": "my_region",
|
|
1054
|
+
* // "salePrice": {},
|
|
1055
|
+
* // "salePriceEffectiveDate": {}
|
|
1056
|
+
* // }
|
|
1057
|
+
* },
|
|
1058
|
+
* });
|
|
1059
|
+
* console.log(res.data);
|
|
1060
|
+
*
|
|
1061
|
+
* // Example response
|
|
1062
|
+
* // {
|
|
1063
|
+
* // "account": "my_account",
|
|
1064
|
+
* // "availability": "my_availability",
|
|
1065
|
+
* // "customAttributes": [],
|
|
1066
|
+
* // "name": "my_name",
|
|
1067
|
+
* // "price": {},
|
|
1068
|
+
* // "region": "my_region",
|
|
1069
|
+
* // "salePrice": {},
|
|
1070
|
+
* // "salePriceEffectiveDate": {}
|
|
1071
|
+
* // }
|
|
1072
|
+
* }
|
|
1073
|
+
*
|
|
1074
|
+
* main().catch(e => {
|
|
1075
|
+
* console.error(e);
|
|
1076
|
+
* throw e;
|
|
1077
|
+
* });
|
|
1078
|
+
*
|
|
1079
|
+
* ```
|
|
797
1080
|
*
|
|
798
1081
|
* @param params - Parameters for request
|
|
799
1082
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -886,6 +1169,57 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
886
1169
|
|
|
887
1170
|
/**
|
|
888
1171
|
* Lists the `RegionalInventory` resources for the given product in your merchant account. The response might contain fewer items than specified by `pageSize`. If `pageToken` was returned in previous request, it can be used to obtain additional results. `RegionalInventory` resources are listed per product for a given account.
|
|
1172
|
+
* @example
|
|
1173
|
+
* ```js
|
|
1174
|
+
* // Before running the sample:
|
|
1175
|
+
* // - Enable the API at:
|
|
1176
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
1177
|
+
* // - Login into gcloud by running:
|
|
1178
|
+
* // ```sh
|
|
1179
|
+
* // $ gcloud auth application-default login
|
|
1180
|
+
* // ```
|
|
1181
|
+
* // - Install the npm module by running:
|
|
1182
|
+
* // ```sh
|
|
1183
|
+
* // $ npm install googleapis
|
|
1184
|
+
* // ```
|
|
1185
|
+
*
|
|
1186
|
+
* const {google} = require('googleapis');
|
|
1187
|
+
* const merchantapi = google.merchantapi('inventories_v1beta');
|
|
1188
|
+
*
|
|
1189
|
+
* async function main() {
|
|
1190
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1191
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1192
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
1193
|
+
* });
|
|
1194
|
+
*
|
|
1195
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1196
|
+
* const authClient = await auth.getClient();
|
|
1197
|
+
* google.options({auth: authClient});
|
|
1198
|
+
*
|
|
1199
|
+
* // Do the magic
|
|
1200
|
+
* const res = await merchantapi.accounts.products.regionalInventories.list({
|
|
1201
|
+
* // The maximum number of `RegionalInventory` resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the `pageSize`. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.
|
|
1202
|
+
* pageSize: 'placeholder-value',
|
|
1203
|
+
* // A page token, received from a previous `ListRegionalInventories` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListRegionalInventories` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.
|
|
1204
|
+
* pageToken: 'placeholder-value',
|
|
1205
|
+
* // Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account\}/products/{product\}`
|
|
1206
|
+
* parent: 'accounts/my-account/products/my-product',
|
|
1207
|
+
* });
|
|
1208
|
+
* console.log(res.data);
|
|
1209
|
+
*
|
|
1210
|
+
* // Example response
|
|
1211
|
+
* // {
|
|
1212
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
1213
|
+
* // "regionalInventories": []
|
|
1214
|
+
* // }
|
|
1215
|
+
* }
|
|
1216
|
+
*
|
|
1217
|
+
* main().catch(e => {
|
|
1218
|
+
* console.error(e);
|
|
1219
|
+
* throw e;
|
|
1220
|
+
* });
|
|
1221
|
+
*
|
|
1222
|
+
* ```
|
|
889
1223
|
*
|
|
890
1224
|
* @param params - Parameters for request
|
|
891
1225
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|