@googleapis/merchantapi 5.0.0 → 8.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 +50 -0
- package/README.md +9 -0
- package/accounts_v1beta.ts +6487 -518
- package/build/accounts_v1beta.d.ts +4773 -229
- package/build/accounts_v1beta.js +560 -12
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +349 -14
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +427 -18
- 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 +349 -15
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +1027 -0
- package/build/issueresolution_v1beta.js +196 -0
- package/build/issueresolution_v1beta.js.map +1 -0
- package/build/lfp_v1beta.d.ts +451 -18
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +283 -12
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1beta.d.ts +459 -0
- package/build/ordertracking_v1beta.js +91 -0
- package/build/ordertracking_v1beta.js.map +1 -0
- package/build/products_v1beta.d.ts +358 -55
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +178 -11
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +55 -4
- package/build/quota_v1beta.js.map +1 -1
- package/build/reports_v1beta.d.ts +61 -4
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +443 -19
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +371 -21
- package/datasources_v1beta.ts +453 -26
- package/index.ts +24 -1
- package/inventories_v1beta.ts +367 -24
- package/issueresolution_v1beta.ts +1426 -0
- package/lfp_v1beta.ts +477 -26
- package/notifications_v1beta.ts +299 -21
- package/ordertracking_v1beta.ts +599 -0
- package/package.json +2 -2
- package/products_v1beta.ts +376 -61
- package/promotions_v1beta.ts +188 -15
- package/quota_v1beta.ts +57 -6
- package/reports_v1beta.ts +65 -5
- package/reviews_v1beta.ts +471 -29
package/build/lfp_v1beta.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace merchantapi_lfp_v1beta {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -208,7 +208,7 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
208
208
|
*/
|
|
209
209
|
linkedGbps?: string | null;
|
|
210
210
|
/**
|
|
211
|
-
* Identifier. The name of the `LfpMerchantState` resource. Format: `accounts/{account\}/lfpMerchantStates/{target_merchant\}`
|
|
211
|
+
* Identifier. The name of the `LfpMerchantState` resource. Format: `accounts/{account\}/lfpMerchantStates/{target_merchant\}`. For example, `accounts/123456/lfpMerchantStates/567890`.
|
|
212
212
|
*/
|
|
213
213
|
name?: string | null;
|
|
214
214
|
/**
|
|
@@ -403,7 +403,7 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
403
403
|
*/
|
|
404
404
|
eventTime?: string | null;
|
|
405
405
|
/**
|
|
406
|
-
* Optional. The product expiration time. This field will not
|
|
406
|
+
* Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.
|
|
407
407
|
*/
|
|
408
408
|
expirationTime?: string | null;
|
|
409
409
|
/**
|
|
@@ -436,14 +436,94 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
436
436
|
constructor(context: APIRequestContext);
|
|
437
437
|
/**
|
|
438
438
|
* Inserts a `LfpInventory` resource for the given target merchant account. If the resource already exists, it will be replaced. The inventory automatically expires after 30 days.
|
|
439
|
+
* @example
|
|
440
|
+
* ```js
|
|
441
|
+
* // Before running the sample:
|
|
442
|
+
* // - Enable the API at:
|
|
443
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
444
|
+
* // - Login into gcloud by running:
|
|
445
|
+
* // ```sh
|
|
446
|
+
* // $ gcloud auth application-default login
|
|
447
|
+
* // ```
|
|
448
|
+
* // - Install the npm module by running:
|
|
449
|
+
* // ```sh
|
|
450
|
+
* // $ npm install googleapis
|
|
451
|
+
* // ```
|
|
452
|
+
*
|
|
453
|
+
* const {google} = require('googleapis');
|
|
454
|
+
* const merchantapi = google.merchantapi('lfp_v1beta');
|
|
455
|
+
*
|
|
456
|
+
* async function main() {
|
|
457
|
+
* const auth = new google.auth.GoogleAuth({
|
|
458
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
459
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
460
|
+
* });
|
|
461
|
+
*
|
|
462
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
463
|
+
* const authClient = await auth.getClient();
|
|
464
|
+
* google.options({auth: authClient});
|
|
465
|
+
*
|
|
466
|
+
* // Do the magic
|
|
467
|
+
* const res = await merchantapi.accounts.lfpInventories.insert({
|
|
468
|
+
* // Required. The LFP provider account. Format: `accounts/{account\}`
|
|
469
|
+
* parent: 'accounts/my-account',
|
|
470
|
+
*
|
|
471
|
+
* // Request body metadata
|
|
472
|
+
* requestBody: {
|
|
473
|
+
* // request body parameters
|
|
474
|
+
* // {
|
|
475
|
+
* // "availability": "my_availability",
|
|
476
|
+
* // "collectionTime": "my_collectionTime",
|
|
477
|
+
* // "contentLanguage": "my_contentLanguage",
|
|
478
|
+
* // "feedLabel": "my_feedLabel",
|
|
479
|
+
* // "gtin": "my_gtin",
|
|
480
|
+
* // "name": "my_name",
|
|
481
|
+
* // "offerId": "my_offerId",
|
|
482
|
+
* // "pickupMethod": "my_pickupMethod",
|
|
483
|
+
* // "pickupSla": "my_pickupSla",
|
|
484
|
+
* // "price": {},
|
|
485
|
+
* // "quantity": "my_quantity",
|
|
486
|
+
* // "regionCode": "my_regionCode",
|
|
487
|
+
* // "storeCode": "my_storeCode",
|
|
488
|
+
* // "targetAccount": "my_targetAccount"
|
|
489
|
+
* // }
|
|
490
|
+
* },
|
|
491
|
+
* });
|
|
492
|
+
* console.log(res.data);
|
|
493
|
+
*
|
|
494
|
+
* // Example response
|
|
495
|
+
* // {
|
|
496
|
+
* // "availability": "my_availability",
|
|
497
|
+
* // "collectionTime": "my_collectionTime",
|
|
498
|
+
* // "contentLanguage": "my_contentLanguage",
|
|
499
|
+
* // "feedLabel": "my_feedLabel",
|
|
500
|
+
* // "gtin": "my_gtin",
|
|
501
|
+
* // "name": "my_name",
|
|
502
|
+
* // "offerId": "my_offerId",
|
|
503
|
+
* // "pickupMethod": "my_pickupMethod",
|
|
504
|
+
* // "pickupSla": "my_pickupSla",
|
|
505
|
+
* // "price": {},
|
|
506
|
+
* // "quantity": "my_quantity",
|
|
507
|
+
* // "regionCode": "my_regionCode",
|
|
508
|
+
* // "storeCode": "my_storeCode",
|
|
509
|
+
* // "targetAccount": "my_targetAccount"
|
|
510
|
+
* // }
|
|
511
|
+
* }
|
|
512
|
+
*
|
|
513
|
+
* main().catch(e => {
|
|
514
|
+
* console.error(e);
|
|
515
|
+
* throw e;
|
|
516
|
+
* });
|
|
517
|
+
*
|
|
518
|
+
* ```
|
|
439
519
|
*
|
|
440
520
|
* @param params - Parameters for request
|
|
441
521
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
442
522
|
* @param callback - Optional callback that handles the response.
|
|
443
523
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
444
524
|
*/
|
|
445
|
-
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, options: StreamMethodOptions):
|
|
446
|
-
insert(params?: Params$Resource$Accounts$Lfpinventories$Insert, options?: MethodOptions):
|
|
525
|
+
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
526
|
+
insert(params?: Params$Resource$Accounts$Lfpinventories$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpInventory>>;
|
|
447
527
|
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
448
528
|
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, options: MethodOptions | BodyResponseCallback<Schema$LfpInventory>, callback: BodyResponseCallback<Schema$LfpInventory>): void;
|
|
449
529
|
insert(params: Params$Resource$Accounts$Lfpinventories$Insert, callback: BodyResponseCallback<Schema$LfpInventory>): void;
|
|
@@ -464,14 +544,64 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
464
544
|
constructor(context: APIRequestContext);
|
|
465
545
|
/**
|
|
466
546
|
* Gets the LFP state of a merchant
|
|
547
|
+
* @example
|
|
548
|
+
* ```js
|
|
549
|
+
* // Before running the sample:
|
|
550
|
+
* // - Enable the API at:
|
|
551
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
552
|
+
* // - Login into gcloud by running:
|
|
553
|
+
* // ```sh
|
|
554
|
+
* // $ gcloud auth application-default login
|
|
555
|
+
* // ```
|
|
556
|
+
* // - Install the npm module by running:
|
|
557
|
+
* // ```sh
|
|
558
|
+
* // $ npm install googleapis
|
|
559
|
+
* // ```
|
|
560
|
+
*
|
|
561
|
+
* const {google} = require('googleapis');
|
|
562
|
+
* const merchantapi = google.merchantapi('lfp_v1beta');
|
|
563
|
+
*
|
|
564
|
+
* async function main() {
|
|
565
|
+
* const auth = new google.auth.GoogleAuth({
|
|
566
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
567
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
568
|
+
* });
|
|
569
|
+
*
|
|
570
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
571
|
+
* const authClient = await auth.getClient();
|
|
572
|
+
* google.options({auth: authClient});
|
|
573
|
+
*
|
|
574
|
+
* // Do the magic
|
|
575
|
+
* const res = await merchantapi.accounts.lfpMerchantStates.get({
|
|
576
|
+
* // Required. The name of the state to retrieve. Format: `accounts/{account\}/lfpMerchantStates/{target_merchant\}`. For example, `accounts/123456/lfpMerchantStates/567890`.
|
|
577
|
+
* name: 'accounts/my-account/lfpMerchantStates/my-lfpMerchantState',
|
|
578
|
+
* });
|
|
579
|
+
* console.log(res.data);
|
|
580
|
+
*
|
|
581
|
+
* // Example response
|
|
582
|
+
* // {
|
|
583
|
+
* // "countrySettings": [],
|
|
584
|
+
* // "inventoryStats": {},
|
|
585
|
+
* // "linkedGbps": "my_linkedGbps",
|
|
586
|
+
* // "name": "my_name",
|
|
587
|
+
* // "storeStates": []
|
|
588
|
+
* // }
|
|
589
|
+
* }
|
|
590
|
+
*
|
|
591
|
+
* main().catch(e => {
|
|
592
|
+
* console.error(e);
|
|
593
|
+
* throw e;
|
|
594
|
+
* });
|
|
595
|
+
*
|
|
596
|
+
* ```
|
|
467
597
|
*
|
|
468
598
|
* @param params - Parameters for request
|
|
469
599
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
470
600
|
* @param callback - Optional callback that handles the response.
|
|
471
601
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
472
602
|
*/
|
|
473
|
-
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: StreamMethodOptions):
|
|
474
|
-
get(params?: Params$Resource$Accounts$Lfpmerchantstates$Get, options?: MethodOptions):
|
|
603
|
+
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
604
|
+
get(params?: Params$Resource$Accounts$Lfpmerchantstates$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpMerchantState>>;
|
|
475
605
|
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
476
606
|
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: MethodOptions | BodyResponseCallback<Schema$LfpMerchantState>, callback: BodyResponseCallback<Schema$LfpMerchantState>): void;
|
|
477
607
|
get(params: Params$Resource$Accounts$Lfpmerchantstates$Get, callback: BodyResponseCallback<Schema$LfpMerchantState>): void;
|
|
@@ -479,7 +609,7 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
479
609
|
}
|
|
480
610
|
export interface Params$Resource$Accounts$Lfpmerchantstates$Get extends StandardParameters {
|
|
481
611
|
/**
|
|
482
|
-
* Required. The name of the state to retrieve. Format: `accounts/{account\}/lfpMerchantStates/{target_merchant\}`
|
|
612
|
+
* Required. The name of the state to retrieve. Format: `accounts/{account\}/lfpMerchantStates/{target_merchant\}`. For example, `accounts/123456/lfpMerchantStates/567890`.
|
|
483
613
|
*/
|
|
484
614
|
name?: string;
|
|
485
615
|
}
|
|
@@ -488,14 +618,90 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
488
618
|
constructor(context: APIRequestContext);
|
|
489
619
|
/**
|
|
490
620
|
* Inserts a `LfpSale` for the given merchant.
|
|
621
|
+
* @example
|
|
622
|
+
* ```js
|
|
623
|
+
* // Before running the sample:
|
|
624
|
+
* // - Enable the API at:
|
|
625
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
626
|
+
* // - Login into gcloud by running:
|
|
627
|
+
* // ```sh
|
|
628
|
+
* // $ gcloud auth application-default login
|
|
629
|
+
* // ```
|
|
630
|
+
* // - Install the npm module by running:
|
|
631
|
+
* // ```sh
|
|
632
|
+
* // $ npm install googleapis
|
|
633
|
+
* // ```
|
|
634
|
+
*
|
|
635
|
+
* const {google} = require('googleapis');
|
|
636
|
+
* const merchantapi = google.merchantapi('lfp_v1beta');
|
|
637
|
+
*
|
|
638
|
+
* async function main() {
|
|
639
|
+
* const auth = new google.auth.GoogleAuth({
|
|
640
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
641
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
642
|
+
* });
|
|
643
|
+
*
|
|
644
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
645
|
+
* const authClient = await auth.getClient();
|
|
646
|
+
* google.options({auth: authClient});
|
|
647
|
+
*
|
|
648
|
+
* // Do the magic
|
|
649
|
+
* const res = await merchantapi.accounts.lfpSales.insert({
|
|
650
|
+
* // Required. The LFP provider account. Format: `accounts/{lfp_partner\}`
|
|
651
|
+
* parent: 'accounts/my-account',
|
|
652
|
+
*
|
|
653
|
+
* // Request body metadata
|
|
654
|
+
* requestBody: {
|
|
655
|
+
* // request body parameters
|
|
656
|
+
* // {
|
|
657
|
+
* // "contentLanguage": "my_contentLanguage",
|
|
658
|
+
* // "feedLabel": "my_feedLabel",
|
|
659
|
+
* // "gtin": "my_gtin",
|
|
660
|
+
* // "name": "my_name",
|
|
661
|
+
* // "offerId": "my_offerId",
|
|
662
|
+
* // "price": {},
|
|
663
|
+
* // "quantity": "my_quantity",
|
|
664
|
+
* // "regionCode": "my_regionCode",
|
|
665
|
+
* // "saleTime": "my_saleTime",
|
|
666
|
+
* // "storeCode": "my_storeCode",
|
|
667
|
+
* // "targetAccount": "my_targetAccount",
|
|
668
|
+
* // "uid": "my_uid"
|
|
669
|
+
* // }
|
|
670
|
+
* },
|
|
671
|
+
* });
|
|
672
|
+
* console.log(res.data);
|
|
673
|
+
*
|
|
674
|
+
* // Example response
|
|
675
|
+
* // {
|
|
676
|
+
* // "contentLanguage": "my_contentLanguage",
|
|
677
|
+
* // "feedLabel": "my_feedLabel",
|
|
678
|
+
* // "gtin": "my_gtin",
|
|
679
|
+
* // "name": "my_name",
|
|
680
|
+
* // "offerId": "my_offerId",
|
|
681
|
+
* // "price": {},
|
|
682
|
+
* // "quantity": "my_quantity",
|
|
683
|
+
* // "regionCode": "my_regionCode",
|
|
684
|
+
* // "saleTime": "my_saleTime",
|
|
685
|
+
* // "storeCode": "my_storeCode",
|
|
686
|
+
* // "targetAccount": "my_targetAccount",
|
|
687
|
+
* // "uid": "my_uid"
|
|
688
|
+
* // }
|
|
689
|
+
* }
|
|
690
|
+
*
|
|
691
|
+
* main().catch(e => {
|
|
692
|
+
* console.error(e);
|
|
693
|
+
* throw e;
|
|
694
|
+
* });
|
|
695
|
+
*
|
|
696
|
+
* ```
|
|
491
697
|
*
|
|
492
698
|
* @param params - Parameters for request
|
|
493
699
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
494
700
|
* @param callback - Optional callback that handles the response.
|
|
495
701
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
496
702
|
*/
|
|
497
|
-
insert(params: Params$Resource$Accounts$Lfpsales$Insert, options: StreamMethodOptions):
|
|
498
|
-
insert(params?: Params$Resource$Accounts$Lfpsales$Insert, options?: MethodOptions):
|
|
703
|
+
insert(params: Params$Resource$Accounts$Lfpsales$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
704
|
+
insert(params?: Params$Resource$Accounts$Lfpsales$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpSale>>;
|
|
499
705
|
insert(params: Params$Resource$Accounts$Lfpsales$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
500
706
|
insert(params: Params$Resource$Accounts$Lfpsales$Insert, options: MethodOptions | BodyResponseCallback<Schema$LfpSale>, callback: BodyResponseCallback<Schema$LfpSale>): void;
|
|
501
707
|
insert(params: Params$Resource$Accounts$Lfpsales$Insert, callback: BodyResponseCallback<Schema$LfpSale>): void;
|
|
@@ -516,56 +722,283 @@ export declare namespace merchantapi_lfp_v1beta {
|
|
|
516
722
|
constructor(context: APIRequestContext);
|
|
517
723
|
/**
|
|
518
724
|
* Deletes a store for a target merchant.
|
|
725
|
+
* @example
|
|
726
|
+
* ```js
|
|
727
|
+
* // Before running the sample:
|
|
728
|
+
* // - Enable the API at:
|
|
729
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
730
|
+
* // - Login into gcloud by running:
|
|
731
|
+
* // ```sh
|
|
732
|
+
* // $ gcloud auth application-default login
|
|
733
|
+
* // ```
|
|
734
|
+
* // - Install the npm module by running:
|
|
735
|
+
* // ```sh
|
|
736
|
+
* // $ npm install googleapis
|
|
737
|
+
* // ```
|
|
738
|
+
*
|
|
739
|
+
* const {google} = require('googleapis');
|
|
740
|
+
* const merchantapi = google.merchantapi('lfp_v1beta');
|
|
741
|
+
*
|
|
742
|
+
* async function main() {
|
|
743
|
+
* const auth = new google.auth.GoogleAuth({
|
|
744
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
745
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
746
|
+
* });
|
|
747
|
+
*
|
|
748
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
749
|
+
* const authClient = await auth.getClient();
|
|
750
|
+
* google.options({auth: authClient});
|
|
751
|
+
*
|
|
752
|
+
* // Do the magic
|
|
753
|
+
* const res = await merchantapi.accounts.lfpStores.delete({
|
|
754
|
+
* // Required. The name of the store to delete for the target merchant account. Format: `accounts/{account\}/lfpStores/{target_merchant\}~{store_code\}`
|
|
755
|
+
* name: 'accounts/my-account/lfpStores/my-lfpStore',
|
|
756
|
+
* });
|
|
757
|
+
* console.log(res.data);
|
|
758
|
+
*
|
|
759
|
+
* // Example response
|
|
760
|
+
* // {}
|
|
761
|
+
* }
|
|
762
|
+
*
|
|
763
|
+
* main().catch(e => {
|
|
764
|
+
* console.error(e);
|
|
765
|
+
* throw e;
|
|
766
|
+
* });
|
|
767
|
+
*
|
|
768
|
+
* ```
|
|
519
769
|
*
|
|
520
770
|
* @param params - Parameters for request
|
|
521
771
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
522
772
|
* @param callback - Optional callback that handles the response.
|
|
523
773
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
524
774
|
*/
|
|
525
|
-
delete(params: Params$Resource$Accounts$Lfpstores$Delete, options: StreamMethodOptions):
|
|
526
|
-
delete(params?: Params$Resource$Accounts$Lfpstores$Delete, options?: MethodOptions):
|
|
775
|
+
delete(params: Params$Resource$Accounts$Lfpstores$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
776
|
+
delete(params?: Params$Resource$Accounts$Lfpstores$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
527
777
|
delete(params: Params$Resource$Accounts$Lfpstores$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
528
778
|
delete(params: Params$Resource$Accounts$Lfpstores$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
529
779
|
delete(params: Params$Resource$Accounts$Lfpstores$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
530
780
|
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
531
781
|
/**
|
|
532
782
|
* Retrieves information about a store.
|
|
783
|
+
* @example
|
|
784
|
+
* ```js
|
|
785
|
+
* // Before running the sample:
|
|
786
|
+
* // - Enable the API at:
|
|
787
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
788
|
+
* // - Login into gcloud by running:
|
|
789
|
+
* // ```sh
|
|
790
|
+
* // $ gcloud auth application-default login
|
|
791
|
+
* // ```
|
|
792
|
+
* // - Install the npm module by running:
|
|
793
|
+
* // ```sh
|
|
794
|
+
* // $ npm install googleapis
|
|
795
|
+
* // ```
|
|
796
|
+
*
|
|
797
|
+
* const {google} = require('googleapis');
|
|
798
|
+
* const merchantapi = google.merchantapi('lfp_v1beta');
|
|
799
|
+
*
|
|
800
|
+
* async function main() {
|
|
801
|
+
* const auth = new google.auth.GoogleAuth({
|
|
802
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
803
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
804
|
+
* });
|
|
805
|
+
*
|
|
806
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
807
|
+
* const authClient = await auth.getClient();
|
|
808
|
+
* google.options({auth: authClient});
|
|
809
|
+
*
|
|
810
|
+
* // Do the magic
|
|
811
|
+
* const res = await merchantapi.accounts.lfpStores.get({
|
|
812
|
+
* // Required. The name of the store to retrieve. Format: `accounts/{account\}/lfpStores/{target_merchant\}~{store_code\}`
|
|
813
|
+
* name: 'accounts/my-account/lfpStores/my-lfpStore',
|
|
814
|
+
* });
|
|
815
|
+
* console.log(res.data);
|
|
816
|
+
*
|
|
817
|
+
* // Example response
|
|
818
|
+
* // {
|
|
819
|
+
* // "gcidCategory": [],
|
|
820
|
+
* // "matchingState": "my_matchingState",
|
|
821
|
+
* // "matchingStateHint": "my_matchingStateHint",
|
|
822
|
+
* // "name": "my_name",
|
|
823
|
+
* // "phoneNumber": "my_phoneNumber",
|
|
824
|
+
* // "placeId": "my_placeId",
|
|
825
|
+
* // "storeAddress": "my_storeAddress",
|
|
826
|
+
* // "storeCode": "my_storeCode",
|
|
827
|
+
* // "storeName": "my_storeName",
|
|
828
|
+
* // "targetAccount": "my_targetAccount",
|
|
829
|
+
* // "websiteUri": "my_websiteUri"
|
|
830
|
+
* // }
|
|
831
|
+
* }
|
|
832
|
+
*
|
|
833
|
+
* main().catch(e => {
|
|
834
|
+
* console.error(e);
|
|
835
|
+
* throw e;
|
|
836
|
+
* });
|
|
837
|
+
*
|
|
838
|
+
* ```
|
|
533
839
|
*
|
|
534
840
|
* @param params - Parameters for request
|
|
535
841
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
536
842
|
* @param callback - Optional callback that handles the response.
|
|
537
843
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
538
844
|
*/
|
|
539
|
-
get(params: Params$Resource$Accounts$Lfpstores$Get, options: StreamMethodOptions):
|
|
540
|
-
get(params?: Params$Resource$Accounts$Lfpstores$Get, options?: MethodOptions):
|
|
845
|
+
get(params: Params$Resource$Accounts$Lfpstores$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
846
|
+
get(params?: Params$Resource$Accounts$Lfpstores$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpStore>>;
|
|
541
847
|
get(params: Params$Resource$Accounts$Lfpstores$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
542
848
|
get(params: Params$Resource$Accounts$Lfpstores$Get, options: MethodOptions | BodyResponseCallback<Schema$LfpStore>, callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
543
849
|
get(params: Params$Resource$Accounts$Lfpstores$Get, callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
544
850
|
get(callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
545
851
|
/**
|
|
546
852
|
* Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
|
|
853
|
+
* @example
|
|
854
|
+
* ```js
|
|
855
|
+
* // Before running the sample:
|
|
856
|
+
* // - Enable the API at:
|
|
857
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
858
|
+
* // - Login into gcloud by running:
|
|
859
|
+
* // ```sh
|
|
860
|
+
* // $ gcloud auth application-default login
|
|
861
|
+
* // ```
|
|
862
|
+
* // - Install the npm module by running:
|
|
863
|
+
* // ```sh
|
|
864
|
+
* // $ npm install googleapis
|
|
865
|
+
* // ```
|
|
866
|
+
*
|
|
867
|
+
* const {google} = require('googleapis');
|
|
868
|
+
* const merchantapi = google.merchantapi('lfp_v1beta');
|
|
869
|
+
*
|
|
870
|
+
* async function main() {
|
|
871
|
+
* const auth = new google.auth.GoogleAuth({
|
|
872
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
873
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
874
|
+
* });
|
|
875
|
+
*
|
|
876
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
877
|
+
* const authClient = await auth.getClient();
|
|
878
|
+
* google.options({auth: authClient});
|
|
879
|
+
*
|
|
880
|
+
* // Do the magic
|
|
881
|
+
* const res = await merchantapi.accounts.lfpStores.insert({
|
|
882
|
+
* // Required. The LFP provider account Format: `accounts/{account\}`
|
|
883
|
+
* parent: 'accounts/my-account',
|
|
884
|
+
*
|
|
885
|
+
* // Request body metadata
|
|
886
|
+
* requestBody: {
|
|
887
|
+
* // request body parameters
|
|
888
|
+
* // {
|
|
889
|
+
* // "gcidCategory": [],
|
|
890
|
+
* // "matchingState": "my_matchingState",
|
|
891
|
+
* // "matchingStateHint": "my_matchingStateHint",
|
|
892
|
+
* // "name": "my_name",
|
|
893
|
+
* // "phoneNumber": "my_phoneNumber",
|
|
894
|
+
* // "placeId": "my_placeId",
|
|
895
|
+
* // "storeAddress": "my_storeAddress",
|
|
896
|
+
* // "storeCode": "my_storeCode",
|
|
897
|
+
* // "storeName": "my_storeName",
|
|
898
|
+
* // "targetAccount": "my_targetAccount",
|
|
899
|
+
* // "websiteUri": "my_websiteUri"
|
|
900
|
+
* // }
|
|
901
|
+
* },
|
|
902
|
+
* });
|
|
903
|
+
* console.log(res.data);
|
|
904
|
+
*
|
|
905
|
+
* // Example response
|
|
906
|
+
* // {
|
|
907
|
+
* // "gcidCategory": [],
|
|
908
|
+
* // "matchingState": "my_matchingState",
|
|
909
|
+
* // "matchingStateHint": "my_matchingStateHint",
|
|
910
|
+
* // "name": "my_name",
|
|
911
|
+
* // "phoneNumber": "my_phoneNumber",
|
|
912
|
+
* // "placeId": "my_placeId",
|
|
913
|
+
* // "storeAddress": "my_storeAddress",
|
|
914
|
+
* // "storeCode": "my_storeCode",
|
|
915
|
+
* // "storeName": "my_storeName",
|
|
916
|
+
* // "targetAccount": "my_targetAccount",
|
|
917
|
+
* // "websiteUri": "my_websiteUri"
|
|
918
|
+
* // }
|
|
919
|
+
* }
|
|
920
|
+
*
|
|
921
|
+
* main().catch(e => {
|
|
922
|
+
* console.error(e);
|
|
923
|
+
* throw e;
|
|
924
|
+
* });
|
|
925
|
+
*
|
|
926
|
+
* ```
|
|
547
927
|
*
|
|
548
928
|
* @param params - Parameters for request
|
|
549
929
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
550
930
|
* @param callback - Optional callback that handles the response.
|
|
551
931
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
552
932
|
*/
|
|
553
|
-
insert(params: Params$Resource$Accounts$Lfpstores$Insert, options: StreamMethodOptions):
|
|
554
|
-
insert(params?: Params$Resource$Accounts$Lfpstores$Insert, options?: MethodOptions):
|
|
933
|
+
insert(params: Params$Resource$Accounts$Lfpstores$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
934
|
+
insert(params?: Params$Resource$Accounts$Lfpstores$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfpStore>>;
|
|
555
935
|
insert(params: Params$Resource$Accounts$Lfpstores$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
556
936
|
insert(params: Params$Resource$Accounts$Lfpstores$Insert, options: MethodOptions | BodyResponseCallback<Schema$LfpStore>, callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
557
937
|
insert(params: Params$Resource$Accounts$Lfpstores$Insert, callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
558
938
|
insert(callback: BodyResponseCallback<Schema$LfpStore>): void;
|
|
559
939
|
/**
|
|
560
940
|
* Lists the stores of the target merchant, specified by the filter in `ListLfpStoresRequest`.
|
|
941
|
+
* @example
|
|
942
|
+
* ```js
|
|
943
|
+
* // Before running the sample:
|
|
944
|
+
* // - Enable the API at:
|
|
945
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
946
|
+
* // - Login into gcloud by running:
|
|
947
|
+
* // ```sh
|
|
948
|
+
* // $ gcloud auth application-default login
|
|
949
|
+
* // ```
|
|
950
|
+
* // - Install the npm module by running:
|
|
951
|
+
* // ```sh
|
|
952
|
+
* // $ npm install googleapis
|
|
953
|
+
* // ```
|
|
954
|
+
*
|
|
955
|
+
* const {google} = require('googleapis');
|
|
956
|
+
* const merchantapi = google.merchantapi('lfp_v1beta');
|
|
957
|
+
*
|
|
958
|
+
* async function main() {
|
|
959
|
+
* const auth = new google.auth.GoogleAuth({
|
|
960
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
961
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
962
|
+
* });
|
|
963
|
+
*
|
|
964
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
965
|
+
* const authClient = await auth.getClient();
|
|
966
|
+
* google.options({auth: authClient});
|
|
967
|
+
*
|
|
968
|
+
* // Do the magic
|
|
969
|
+
* const res = await merchantapi.accounts.lfpStores.list({
|
|
970
|
+
* // Optional. The maximum number of `LfpStore` resources for the given account to return. The service returns fewer than this value if the number of stores for the given account is less than the `pageSize`. The default value is 250. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.
|
|
971
|
+
* pageSize: 'placeholder-value',
|
|
972
|
+
* // Optional. A page token, received from a previous `ListLfpStoresRequest` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListLfpStoresRequest` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.
|
|
973
|
+
* pageToken: 'placeholder-value',
|
|
974
|
+
* // Required. The LFP partner. Format: `accounts/{account\}`
|
|
975
|
+
* parent: 'accounts/my-account',
|
|
976
|
+
* // Required. The Merchant Center id of the merchant to list stores for.
|
|
977
|
+
* targetAccount: 'placeholder-value',
|
|
978
|
+
* });
|
|
979
|
+
* console.log(res.data);
|
|
980
|
+
*
|
|
981
|
+
* // Example response
|
|
982
|
+
* // {
|
|
983
|
+
* // "lfpStores": [],
|
|
984
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
985
|
+
* // }
|
|
986
|
+
* }
|
|
987
|
+
*
|
|
988
|
+
* main().catch(e => {
|
|
989
|
+
* console.error(e);
|
|
990
|
+
* throw e;
|
|
991
|
+
* });
|
|
992
|
+
*
|
|
993
|
+
* ```
|
|
561
994
|
*
|
|
562
995
|
* @param params - Parameters for request
|
|
563
996
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
564
997
|
* @param callback - Optional callback that handles the response.
|
|
565
998
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
566
999
|
*/
|
|
567
|
-
list(params: Params$Resource$Accounts$Lfpstores$List, options: StreamMethodOptions):
|
|
568
|
-
list(params?: Params$Resource$Accounts$Lfpstores$List, options?: MethodOptions):
|
|
1000
|
+
list(params: Params$Resource$Accounts$Lfpstores$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1001
|
+
list(params?: Params$Resource$Accounts$Lfpstores$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListLfpStoresResponse>>;
|
|
569
1002
|
list(params: Params$Resource$Accounts$Lfpstores$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
570
1003
|
list(params: Params$Resource$Accounts$Lfpstores$List, options: MethodOptions | BodyResponseCallback<Schema$ListLfpStoresResponse>, callback: BodyResponseCallback<Schema$ListLfpStoresResponse>): void;
|
|
571
1004
|
list(params: Params$Resource$Accounts$Lfpstores$List, callback: BodyResponseCallback<Schema$ListLfpStoresResponse>): void;
|
package/build/lfp_v1beta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lfp_v1beta.js","sourceRoot":"","sources":["../lfp_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AAC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